emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eval-last-sexp -> syntax error -> deletes rest of buffer!


From: Luc Teirlinck
Subject: Re: eval-last-sexp -> syntax error -> deletes rest of buffer!
Date: Fri, 3 Jun 2005 20:41:16 -0500 (CDT)

You can get rid of the behavior you described by setting
eval-expression-debug-on-error to nil.  Unlike what I thought, the
default value of this variable is t, even in released versions.  I do
not know whether this is a very good idea.  The assumption is that
anybody who uses C-x C-e must have a really extensive knowledge of
Emacs Lisp and hence will not be confused by the kind of debugger
behavior you described.  But C-x C-e is documented in the Emacs manual
and even people who do not know Lisp often seem to use it to evaluate
easy expressions of which they happen to know what they do.  One can
also hit C-x C-e by accident, for instance instead of `C-x e'.

Sincerely,

Luc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]