From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Emacs crashes when I try to quit Date: Tue, 10 Apr 2012 20:44:44 +0200 Message-ID: <700A6F5B-09D3-42A7-B23A-AEFAFBD4B3C1@Web.DE> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334106031 8253 80.91.229.3 (11 Apr 2012 01:00:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2012 01:00:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Giant Y Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 11 03:00:28 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SHlv9-0003jt-4q for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Apr 2012 03:00:27 +0200 Original-Received: from localhost ([::1]:45450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHlv8-0004EN-He for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2012 21:00:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHlv4-0004EI-1Z for help-gnu-emacs@gnu.org; Tue, 10 Apr 2012 21:00:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHlv1-0000ih-RF for help-gnu-emacs@gnu.org; Tue, 10 Apr 2012 21:00:21 -0400 Original-Received: from fmmailgate07.web.de ([217.72.192.248]:50654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHlv1-0000iO-E2 for help-gnu-emacs@gnu.org; Tue, 10 Apr 2012 21:00:19 -0400 Original-Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate07.web.de (Postfix) with ESMTP id 1B21A1136AE5 for ; Wed, 11 Apr 2012 02:59:27 +0200 (CEST) Original-Received: from sumac.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0M7blv-1S4FMx1owB-00xM6p; Tue, 10 Apr 2012 20:44:44 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:Qjyg1V5Y6eNdoK97QCACvNoXWtPFQ72FcgtiePbfH/+ LrS9XAE0v9J58RY4CWzvqBt79xYW3Gz7ij2jutodqFow1XyazI KjCLW96kv3UcntgrzL+g3uDZEDi1phHDcbSvDWP441WEqh/860 hiEchHvqo+cjdK2lcT/5W+HfSmYqbrQ+OFHi0nyBG/zuQNsvyM MCchy5LEuaaxps2fPabnw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.248 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84417 Archived-At: 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=20 66+ 73+ 76+ 76+ 71+ 65+ 84+ 69+ 83 =3D 663 and add 3 because he's Bill Gates the third.