unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Fabrice Niessen" <fni-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
To: Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org>
Cc: 13308-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#13308: 24.2.91; Crash when minimizing the window
Date: Mon, 31 Dec 2012 15:09:30 +0100	[thread overview]
Message-ID: <80bodal3dx.fsf@somewhere.org> (raw)
In-Reply-To: <mailman.16392.1356925140.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Mon, 31 Dec 2012 05:38:40 +0200")

Eli,

Eli Zaretskii wrote:
>> From: "Fabrice Niessen" <fni-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
>> 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 <http://gnu.org/licenses/gpl.html>
>> 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:
>> <http://www.gnu.org/software/gdb/bugs/>...
>> 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 <PID>" 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





      parent reply	other threads:[~2012-12-31 14:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-30 10:47 bug#13308: 24.2.91; Crash when minimizing the window Fabrice Niessen
2012-12-30 17:21 ` Eli Zaretskii
     [not found]   ` <83txr3jw1r.fsf-mXXj517/zsQ@public.gmane.org>
2012-12-30 19:51     ` Fabrice Niessen
2012-12-30 20:15       ` Eli Zaretskii
     [not found]         ` <80k3rzq0k7.fsf-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
2012-12-30 21:03           ` Fabrice Niessen
2012-12-31  3:38             ` Eli Zaretskii
2015-12-25 23:19               ` Lars Ingebrigtsen
     [not found]             ` <mailman.16392.1356925140.855.bug-gnu-emacs@gnu.org>
     [not found]               ` <mailman.16392.1356925140.855.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2012-12-31 14:09                 ` Fabrice Niessen [this message]

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=80bodal3dx.fsf@somewhere.org \
    --to=fni-djc/ipccudyqhejpep6iedvlejwurmry@public.gmane.org \
    --cc=13308-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=eliz-mXXj517/zsQ@public.gmane.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).