akirak / emacs-playground Goto Github PK
View Code? Open in Web Editor NEWManage sandboxes for alternative Emacs configurations
License: GNU General Public License v3.0
Manage sandboxes for alternative Emacs configurations
License: GNU General Public License v3.0
4.47s$ cask install
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Contacting host: melpa.org:443
Opening TLS connection to ‘melpa.org’...
Opening TLS connection with ‘gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 melpa.org’...
Opening TLS connection with ‘gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 melpa.org’...failed
Opening TLS connection with ‘gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 melpa.org --protocols ssl3’...
Opening TLS connection with ‘gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 melpa.org --protocols ssl3’...failed
Opening TLS connection to ‘melpa.org’...failed
Failed to download ‘melpa’ archive.
Contacting host: elpa.gnu.org:443
Opening TLS connection to ‘elpa.gnu.org’...
Opening TLS connection with ‘gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 elpa.gnu.org’...
Opening TLS connection with ‘gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 elpa.gnu.org’...failed
Opening TLS connection with ‘gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 elpa.gnu.org --protocols ssl3’...
Opening TLS connection with ‘gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 elpa.gnu.org --protocols ssl3’...failed
Opening TLS connection to ‘elpa.gnu.org’...failed
Package refresh done
Failed to download ‘gnu’ archive.
Setting ‘package-selected-packages’ temporarily since "emacs -q" would overwrite customizations
Setting ‘package-selected-packages’ temporarily since "emacs -q" would overwrite customizations
Package ‘s-’ is unavailable
See this comment
I've tried to run doom-emacs on playground, but it turns out that the following commands needs to be run beforehand in order to use it:
cd ~/.emacs.d
cp init.example.el init.el
make install
To support a configuration like this, playground needs an enhancement to allow specification of an optional build command.
I've sent a request to add this package to MELPA, but I've received a response which suggests renaming this project to playground
or sandbox
, as play
is an ambiguous name.
I am thinking of renaming it to playground
. It will be a little inconvenient for current users, as the current package configuration will be broken for some time. If this change is needed, the sooner the better.
Do you have any opinions about this topic?
play.el bundles with init.el which can be used as ~/.emacs, but there is another way to try play.el:
cask install
cask exec emacs -Q --load play.el
However, when I run play-checkout
loaded in this way, the following error is raised:
Setting current directory: No such file or directory, ~/github/play.el
Apparently, a workaround is needed to enable this flow.
steckemacs does not contain init.el but requires a symbolic link to steckemacs.el
. This configuration can be supported by accepting an optional property :entry-point
:
(... :entry-point "steckemacs.el")
That is, a symbolic link from ~/.emacs
to steckemacs.el
is produced when the sandbox is initialized.
After adding package-lint to the Travis configuration, it raises the following errors in all Emacs versions:
2.13s$ cask emacs -Q --batch -l run-package-lint.el playground.el
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Contacting host: melpa.org:80
In `playground.el':
at 64:50: warning: Use variable `user-emacs-directory' or function `locate-user-emacs-file' instead of a literal path to the Emacs user directory or files.
at 282:62: warning: Use variable `user-emacs-directory' or function `locate-user-emacs-file' instead of a literal path to the Emacs user directory or files.
at 323:62: warning: Use variable `user-emacs-directory' or function `locate-user-emacs-file' instead of a literal path to the Emacs user directory or files.
The command "cask emacs -Q --batch -l run-package-lint.el playground.el" exited with 1.
0.74s$ cask emacs -Q --batch --eval '(setq byte-compile-error-on-warn t)' -f batch-byte-compile playground.el
In toplevel form:
playground.el:397:1:Error: the following functions are not known to be defined: helm, helm-build-sync-source, helm-build-dummy-source
The command "cask emacs -Q --batch --eval '(setq byte-compile-error-on-warn t)' -f batch-byte-compile playground.el" exited with 1.
warning: Use variable
user-emacs-directory' or function
locate-user-emacs-file' instead of a literal path to the Emacs user directory or files.
This is because ".emacs.d" literal is used in those function to build a sandboxed emacs.d path. I want to suppress this warning, but I don't know how to fix that.
playground.el:397:1:Error: the following functions are not known to be defined: helm, helm-build-sync-source, helm-build-dummy-source
This is because helm
is imported inside a function rather than at the top-level. I don't want to make this package depend on Helm, so I have no idea fix it.
As pointed out in this thread, Playground seems to require a tweak in order to make it run on Windows. I don't have a Windows machine, and I didn't consider support for Windows in the beginning, but the adaptation itself doesn't look difficult.
To investigate how Emacs runs on Windows, I tried to install cygwin onto Wine, but somehow it failed to install. Nor did I understand how to install the GNU version of Windows onto Wine. I am currently downloading a Windows VM image for testing. I will work on this issue later.
Add support for frontmacs
This configuration doesn't require cloning the repository but downloading a script for bootstrapping and load it in the beginning of init.el.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.