unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43138: Stack overflow in emacs 27 because of preloading emacs-seq
@ 2020-08-31 15:48 Pierre Langlois
  2020-08-31 20:34 ` Mark H Weaver
  0 siblings, 1 reply; 6+ messages in thread
From: Pierre Langlois @ 2020-08-31 15:48 UTC (permalink / raw)
  To: 43138

Hello Guix!

Since switching to emacs 27 I've been having issues starting it, seeing
lots of errors like 'Lisp nesting exceeds ‘max-lisp-eval-depth’' when
loading various packages such as magit, ivy, ...etc.

After quite a bit of troubleshooting I reduced it to the `emacs-seq`
package. So if you create an environment with both `emacs-seq` and say
`magit`:

```
$ guix environment --pure --ad-hoc emacs emacs-magit emacs-seq
[env] $ emacs -Q --debug-init --eval "(require 'magit)"
```

Then you get the stack overflow.

Doing some digging, I found this comment from `doom-emacs` that
describes what is happening: https://github.com/hlissner/doom-emacs/issues/1990#issuecomment-549140718

I'm not familiar with emacs' autoloading, so I'm not sure I understand
what's going on fully. However, it mentions that `emacs-seq` has been
included in emacs proper for a while.

So, what would be the best fix for this? Should we remove `emacs-seq`
entirely or try and patch it? Since we don't support previous versions
of emacs I don't know if we need it.

Thanks,
Pierre







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-04 13:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-31 15:48 bug#43138: Stack overflow in emacs 27 because of preloading emacs-seq Pierre Langlois
2020-08-31 20:34 ` Mark H Weaver
2020-08-31 21:20   ` Pierre Langlois
2020-08-31 22:51     ` Mark H Weaver
2020-09-04 11:30       ` Pierre Langlois
2020-09-04 13:23         ` Mark H Weaver

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).