Giter Club home page Giter Club logo

emacs-playground's Issues

Travis error on Emacs 26

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

Support Doom

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.

Renaming this project

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?

An alternative way to try play.el (using Cask)

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.

Setting an entry point

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.

Travis errors

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.

Generating shell scripts in Windows

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.