From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Fabrice Niessen" Newsgroups: gmane.emacs.bugs Subject: bug#13308: 24.2.91; Crash when minimizing the window Date: Mon, 31 Dec 2012 15:09:30 +0100 Organization: Mission Critical IT Message-ID: <80bodal3dx.fsf@somewhere.org> References: <80k3rzq0k7.fsf@missioncriticalit.com> <83txr3jw1r.fsf@gnu.org> <80623je2u0.fsf@somewhere.org> <83obhbjnz8.fsf@gnu.org> <80pq1rckw2.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356963060 26320 80.91.229.3 (31 Dec 2012 14:11:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Dec 2012 14:11:00 +0000 (UTC) Cc: 13308-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Mon Dec 31 15:11:16 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 1Tpg5D-0006QD-2d for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Dec 2012 15:11:15 +0100 Original-Received: from localhost ([::1]:49118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tpg4y-0006DH-4d for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Dec 2012 09:11:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tpg4t-0006DB-5N for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Mon, 31 Dec 2012 09:10:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tpg4q-0002EE-En for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Mon, 31 Dec 2012 09:10:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tpg4q-0002EA-B7 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Mon, 31 Dec 2012 09:10:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tpg5x-0008EC-LP for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Mon, 31 Dec 2012 09:12:01 -0500 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: "Fabrice Niessen" Original-Sender: debbugs-submit-bounces-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Mon, 31 Dec 2012 14:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 13308 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13308-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B13308.135696306131525 (code B ref 13308); Mon, 31 Dec 2012 14:12:01 +0000 Original-Received: (at 13308) by debbugs.gnu.org; 31 Dec 2012 14:11:01 +0000 Original-Received: from localhost ([127.0.0.1]:37813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tpg4y-0008CM-4Q for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Mon, 31 Dec 2012 09:11:00 -0500 Original-Received: from 81-188-7-133.sdsl.easynet.be ([81.188.7.133]:36811 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tpg4i-0008By-6m for 13308-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Mon, 31 Dec 2012 09:10:58 -0500 Original-Received: from MEDIACENTER. (mediacenter [10.10.10.221]) by mail.missioncriticalit.com (Postfix) with ESMTPSA id 4BE8F500AC6; Mon, 31 Dec 2012 15:09:30 +0100 (CET) X-Url: http://www.missioncriticalit.com X-Archive: encrypt In-Reply-To: (Eli Zaretskii's message of "Mon, 31 Dec 2012 05:38:40 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.91 (windows-nt) X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.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-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:69235 Archived-At: Eli, Eli Zaretskii wrote: >> From: "Fabrice Niessen" >> Cc: 13308-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org >> Date: Sun, 30 Dec 2012 22:03:57 +0100 >> >>> If you type "gdb emacs.exe", does GDB say it read symbols, or does it >>> say there are no symbols? >> >> --8<---------------cut here---------------start------------->8--- >> $ gdb emacs.exe >> GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special) >> Copyright (C) 2012 Free Software Foundation, Inc. >> License GPLv3+: GNU GPL version 3 or later >> This is free software: you are free to change and redistribute it. >> There is NO WARRANTY, to the extent permitted by law. Type "show copying" >> and "show warranty" for details. >> This GDB was configured as "i686-cygwin". >> For bug reporting instructions, please see: >> ... >> Reading symbols from /cygdrive/c/Program Files/Emacs-24.2.90/bin/emacs.exe...done. >> (gdb) quit >> --8<---------------cut here---------------end--------------->8--- >> >> Aie, it's reading symbols from another Emacs instance (24.2.90, the first in >> PATH), not the one I'm really launching (24.2.91, from a Windows shortcut). >> >> I really would like to have a solution for my PATH to reflect whichever >> shortcut I clicked on. I'll need to write a small script, instead of making a >> direct link to emacs.exe. Or would there be a more straitforward solution? > > A more straitforward solution is to use a full absolute file name of > the Emacs executable, or chdir to its directory and type "gdb ./emacs.exe". You mean, then, "gdb ./emacs.exe -p " from Emacs-24.2.91\bin directory? BTW, the problem of having a sync'ed PATH (I mean: reflecting which Emacs shortcut I clicked onto, hence which version) can be important as well for emacsclient communications (where using emacsclient v23 against a v24 server could be inappropriate). But my above idea (script which updates the value of PATH) won't work as the PATH has to be correct system-wide, _not only for processes launched from within Emacs_: - If I click onto Emacs 24.2.91 shortcut, I'd need to have the C:\Program Files\Emacs-24.2.91\ directory first in the global PATH (user or system). - If I click onto Emacs 23.3 (or whichever other version) shortcut, I'd need to have the corresponding directory first in the PATH. ... so that Bash processes use the right tool upon invocation (of emacsclient, for example). But I don't see any obvious solution for this. Best regards, Fabrice