From: dkcombs@panix.com (David Combs)
Subject: Re: how to exit "early" from eg .emacs?
Date: Sat, 15 Jan 2005 22:46:28 +0000 (UTC) [thread overview]
Message-ID: <csc6g3$a5t$1@reader2.panix.com> (raw)
In-Reply-To: wk3bx27mft.fsf@fgeorges.org
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
next prev parent reply other threads:[~2005-01-15 22:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-15 5:06 how to exit "early" from eg .emacs? David Combs
2005-01-15 11:11 ` Eli Zaretskii
[not found] ` <mailman.13285.1105788672.27204.help-gnu-emacs@gnu.org>
2005-01-15 15:15 ` drkm
2005-01-15 22:46 ` David Combs [this message]
2005-01-16 0:19 ` Johan Bockgård
2005-01-16 10:57 ` Romain Francoise
2005-01-16 15:03 ` drkm
2005-01-16 0:49 ` drkm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='csc6g3$a5t$1@reader2.panix.com' \
--to=dkcombs@panix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.