all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Giant Y <y560aifid@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs crashes when I try to quit
Date: Tue, 10 Apr 2012 20:44:44 +0200	[thread overview]
Message-ID: <700A6F5B-09D3-42A7-B23A-AEFAFBD4B3C1@Web.DE> (raw)
In-Reply-To: <CAJokC-s3ni2T-63m4bh3pX_Wda=DyQseb51wRg2OOtPo3aJmxw@mail.gmail.com>


Am 10.4.2012 um 10:26 schrieb Giant Y:

> I encountered a problem that Emacs crashes when I try to exit the program.
> Any of C-x C-c, File -> Quit, and using the mouse to close the program
> leads to the problem.

You can put

	(setq debug-on-error t)

into your init file to get possibly a *Backtrace* buffer which might explain the cause. Restart GNU Emacs after this change!

You can investigate further the value of the variables site-run-file and user-init-file. Then determine which files in the file system are actually used. Now you can temporarily rename site-run-file and see whether something has changed. If yes, than the site-run-file is the culprit. If not, then undo the renaming and now rename your own init file and test again. If this has changed the behaviour, then in your init some statement causes the problem. Now you can undo the renaming and try bi-secting your init file to find the culpable statement. Bi-secting means to comment one half and see whether the fault has. If it has gone, then it is in the commented half. You can undo the commenting and comment only one half of what was commented before. When the error is gone, then it's in the commented region. Uncomment and then comment one half of what was commented previously. New test. Iterate further.
If the error was not gone with the first commenting, then it is in the second not commented half. So undo the first commenting and comment the first half of the second half, i.e., the third quarter of your init file. Error gone? Then it's in the commented region, otherwise it is in the uncommented quarter. Further iterate.

In the end you'll find the statement that cause the problem.

--
Greetings

  Pete

$ sumascii BILL GATES
  B   I   L   L   G   A   T   E   S 
 66+ 73+ 76+ 76+ 71+ 65+ 84+ 69+ 83 = 663

 and add 3 because he's Bill Gates the third.




  reply	other threads:[~2012-04-10 18:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10  8:26 Emacs crashes when I try to quit Giant Y
2012-04-10 18:44 ` Peter Dyballa [this message]
2012-12-17 15:27 ` Andrei Lihu
2012-12-17 15:59   ` Eli Zaretskii
     [not found] <CAAGqPs445D=pQKbnXO4u6Kuak+ysdem-NN9KDCuaTTsXfcwr+w@mail.gmail.com>
2013-04-03 15:32 ` Eli Zaretskii
2013-04-03 15:47   ` Sawbones Surio
  -- strict thread matches above, loose matches on Subject: below --
2013-04-04  5:45 Miguel Ruiz
2013-04-04 16:45 ` Eli Zaretskii
2013-04-04 18:30   ` Miguel Ruiz
2013-04-04 18:41     ` Eli Zaretskii
2013-04-05  0:07   ` Daniel Colascione
2013-04-05  6:09     ` Eli Zaretskii

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=700A6F5B-09D3-42A7-B23A-AEFAFBD4B3C1@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=y560aifid@gmail.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.