unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@gnu.org>
Subject: Re: how to exit "early" from eg .emacs?
Date: Sat, 15 Jan 2005 13:11:11 +0200	[thread overview]
Message-ID: <01c4faf3$Blat.v2.2.2$10ebc3e0@zahav.net.il> (raw)
In-Reply-To: <csa8c5$jej$1@panix2.panix.com> (dkcombs@panix.com)

> From: dkcombs@panix.com (David Combs)
> Date: 15 Jan 2005 00:06:13 -0500
> 
> Suppose I'm having a problem with eg narrow-to-region,
> but the problem occurs (if and) only if .emacs has been
> read in.
> 
> I'd like to instrument my .emacs such that every so often
> it asks "abort reading .emacs now?", and if I answer yes,
> it does -- and leaves me in emacs, where I can try narrowing,
> and see if it works or not.
> 
> ... 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?

  reply	other threads:[~2005-01-15 11:11 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 [this message]
     [not found] ` <mailman.13285.1105788672.27204.help-gnu-emacs@gnu.org>
2005-01-15 15:15   ` drkm
2005-01-15 22:46     ` David Combs
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='01c4faf3$Blat.v2.2.2$10ebc3e0@zahav.net.il' \
    --to=eliz@gnu.org \
    /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.
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).