From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11939: 24.1; `save-buffers-kill-emacs' loses minibuffer focus when it calls `list-processes' Date: Sun, 22 Jul 2012 20:06:45 +0300 Message-ID: <838veb209m.fsf@gnu.org> References: <500173A5.3040608@gmx.at> <1986D90E22154321A44B6E0110CA4F5A@us.oracle.com> <50019C2F.8060103@gmx.at> <6B9036DBFDEF4881AB39804520BF63B3@us.oracle.com> <5002BEC6.3040106@gmx.at> <893E59C2E4F94D6EB910560C9E8C42CD@us.oracle.com> <5002EAF4.5080107@gmx.at> <6F73D04E8EE144E780D602DFEBA48E7B@us.oracle.com> <5003DAF2.2060400@gmx.at> <50043C3D.7090201@gmx.at> <208B7D7BB4BC4339ADCC1166F76C1CD2@us.oracle.com> <500449B7.6070309@gmx.at> <023F63BCBF9442EBAEDCCE9D8A59E5E4@us.oracle.com> <5005354E.6040306@gmx.at> <62CF21F0010048E2BC1391192EB943FF@us.oracle.com> <5006E14B.3000407@gmx.at> <47731CC5C6EC4ED9AB9E9E05E259572C@us.oracle.com> <5007E47B.3050907@gmx.at> <446B437450EC47968D15C20D7142296B@us.oracle.com> <500A8C0E.4040006@gmx.at> <96A974694CF64567A3EAB85185AB3A5C@us.oracle.com> <500BBE6F.6020007@gmx.at> <1403DD3D67534F53BC023CC99A258DF5@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1342976863 10012 80.91.229.3 (22 Jul 2012 17:07:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2012 17:07:43 +0000 (UTC) Cc: 11939@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 22 19:07:43 2012 Return-path: Envelope-to: geb-bug-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 1Sszd6-0005h6-22 for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2012 19:07:40 +0200 Original-Received: from localhost ([::1]:51373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sszd5-0001Eo-7e for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2012 13:07:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sszd1-0001EY-52 for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2012 13:07:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sszcz-0007I5-NL for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2012 13:07:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sszcz-0007Gy-Ia for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2012 13:07:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SszjG-0006g1-EE for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2012 13:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jul 2012 17:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11939 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11939-submit@debbugs.gnu.org id=B11939.134297719625605 (code B ref 11939); Sun, 22 Jul 2012 17:14:02 +0000 Original-Received: (at 11939) by debbugs.gnu.org; 22 Jul 2012 17:13:16 +0000 Original-Received: from localhost ([127.0.0.1]:57883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsziW-0006ew-3C for submit@debbugs.gnu.org; Sun, 22 Jul 2012 13:13:16 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:51950) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsziT-0006en-Bd for 11939@debbugs.gnu.org; Sun, 22 Jul 2012 13:13:14 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M7K00000NFFKN00@a-mtaout20.012.net.il> for 11939@debbugs.gnu.org; Sun, 22 Jul 2012 20:06:42 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7K000NANJ68F90@a-mtaout20.012.net.il>; Sun, 22 Jul 2012 20:06:42 +0300 (IDT) In-reply-to: <1403DD3D67534F53BC023CC99A258DF5@us.oracle.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62279 Archived-At: > From: "Drew Adams" > Date: Sun, 22 Jul 2012 09:46:51 -0700 > Cc: 11939@debbugs.gnu.org > > > Could be the abort in delete_frame I've told you about. Why don't you > > run Emacs in the debugger jsut from the beginning? (In a running > > instance of Emacs go to the src directory, type M-x gdb, give your > > full-path emacs.exe as argument, type "run" and do your > > things until the emacs fired up this way becomes unresponsive. > > A "bt full" in the first instance should tell you what happened.) > > I must be missing something when I try to follow that recipe. > > I started Emacs with my setup. I moved to the src directory (in Emacs 24.1, > since I don't have src for later builds - but Emacs 24.1 has the same problem). > I typed M-x gdb, appended c:/Emacs-24.1/bin/emacs.exe and hit RET. > > That seemed to pop up a new emacs -Q session (splash page, none of my > customizations, minibuffer in the same frame, etc.), with this message in buffer > *Warnings*, whose window split the screen with the splash page: > > "Error (initialization): User has no home directory" > > (There are no messages in *Messages*.) > > And in buffer *gud-emacs.exe* I see this: > > (gdb) run > Starting program: /cygdrive/c/Emacs-24.1/bin/emacs.exe > Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/secur32.dll > Loaded symbols for > /cygdrive/c/WINDOWS/WinSxS/X86_Microsoft.Windows.Common-Controls_6595b64144ccf1d > f_6.0.2600.6028_x-ww_61e65202/comctl32.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/msvcrt.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/gdi32.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/user32.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/shlwapi.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/comdlg32.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/shell32.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/mpr.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/ole32.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/usp10.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/winmm.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/winspool.drv > > Should I have appended something different to `M-x gdb'? This is what I use > when I start Emacs with my setup: > > C:\Emacs-24.1\bin\runemacs.exe --debug-init Don't invoke GDB from inside Emacs, that's only good when you do that from the same version of Emacs you are debugging, and even then there are a few gotchas. Instead, go to the directory where you have .gdbinit, and type from the shell prompt: >gdb /path/to/emacs.exe RET When GDB ends its initialization and shows the "(gdb)" prompt, type: (gdb) run --debug-init You should now have your normal Emacs session, with all the customizations you normally have.