help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how to exit "early" from eg .emacs?


From: David Combs
Subject: Re: how to exit "early" from eg .emacs?
Date: Sat, 15 Jan 2005 22:46:28 +0000 (UTC)

In article <wk3bx27mft.fsf@fgeorges.org>, drkm  <usenet@fgeorges.org> wrote:
>"Eli Zaretskii" <eliz@gnu.org> writes:
>
>>> ... and eventually discover just where in .emacs my problem-code is.
>
>> Not exactly what you wanted, but perhaps a solution after all: Invoke
>> Emacs with the -q switch, then visit your .emacs, and manually
>> evaluate its contents, either with eval-region or with "C-x C-e" (for
>> a single expression).  After each evaluation, see whether the
>> offending problem appears, and draw the conclusions as appropriate.
>
>  And with `C-x (', `C-M-f', `C-x )' and `C-x e', you just have to
>press `e e e e e e ...' to discover the sexp where is the problem.
>
>--drkm


>> ... and eventually discover just where in .emacs my problem-code is.

|   Not exactly what you wanted, but perhaps a solution after all: Invoke
|   Emacs with the -q switch, then visit your .emacs, and manually
|   evaluate its contents, either with eval-region or with "C-x C-e" (for
|   a single expression).  After each evaluation, see whether the
|   offending problem appears, and draw the conclusions as appropriate.
|   
|   Does this work?



Looks like it should -- I'll sure give it a try!

And that e e e e thing -- what, he's assigning that macro
to the e-key?  (Otherwise you'd have to hit C-x e each time?
Or am I simply confused?)

|   ESC C-f runs the command forward-sexp
|      which is an interactive compiled Lisp function in `emacs-lisp/lisp'.
|   (forward-sexp &optional ARG)
|   
|   Move forward across one balanced expression (sexp).
|   With ARG, do it that many times.  Negative arg -N means
|   move backward across N balanced expressions.

Oh, that's cool!



Thanks to both,

David



reply via email to

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