unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* emacs 21.2 and lisp interaction mode
@ 2002-04-19  5:12 Mordechai T. Abzug
  2002-04-19 14:11 ` Stefan Monnier
  2002-04-19 18:43 ` Richard Stallman
  0 siblings, 2 replies; 3+ messages in thread
From: Mordechai T. Abzug @ 2002-04-19  5:12 UTC (permalink / raw)



I recently upgraded from emacs 20.7 to emacs 21.2.  When I start 21.2
using "emacs -nw", I get the error "Lisp nesting exceeds
max-lisp-eval-depth".  More worrisome, if I start it with a file
(ie. "emacs -nw file"), the error occurs before the file is loaded,
and the file doesn't load.

After some debugging, it looks like commenting out the following entry
in my .emacs makes the problem go away:

(add-hook 'emacs-lisp-mode-hook 'lisp-interaction-mode)

Again, this wasn't a problem under 20.7.  Apparently, someone broke
backwards compatibility.

- Morty

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

* Re: emacs 21.2 and lisp interaction mode
  2002-04-19  5:12 emacs 21.2 and lisp interaction mode Mordechai T. Abzug
@ 2002-04-19 14:11 ` Stefan Monnier
  2002-04-19 18:43 ` Richard Stallman
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2002-04-19 14:11 UTC (permalink / raw)


>>>>> "Mordechai" == Mordechai T Abzug <morty@frakir.org> writes:
> (add-hook 'emacs-lisp-mode-hook 'lisp-interaction-mode)

Oh boy!
Try (defalias 'emacs-lisp-mode 'lisp-interaction-mode) instead.


	Stefan

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

* Re: emacs 21.2 and lisp interaction mode
  2002-04-19  5:12 emacs 21.2 and lisp interaction mode Mordechai T. Abzug
  2002-04-19 14:11 ` Stefan Monnier
@ 2002-04-19 18:43 ` Richard Stallman
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2002-04-19 18:43 UTC (permalink / raw)
  Cc: bug-gnu-emacs

    After some debugging, it looks like commenting out the following entry
    in my .emacs makes the problem go away:

    (add-hook 'emacs-lisp-mode-hook 'lisp-interaction-mode)

    Again, this wasn't a problem under 20.7.

If this wasn't a problem before, that was due to a bug.
lisp-interaction-mode is supposed to run emacs-list-mode-hook, but
perhaps it failed to do so in 20.7.

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

end of thread, other threads:[~2002-04-19 18:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-19  5:12 emacs 21.2 and lisp interaction mode Mordechai T. Abzug
2002-04-19 14:11 ` Stefan Monnier
2002-04-19 18:43 ` Richard Stallman

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

	https://git.savannah.gnu.org/cgit/emacs.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).