GNU bug report logs - #15461
24.3; exec-path on ms windows should contain current directory

Previous Next

Packages: emacs, w32;

Reported by: Jarek Czekalski <jarekczek <at> poczta.onet.pl>

Date: Wed, 25 Sep 2013 13:26:02 UTC

Severity: wishlist

Tags: fixed

Found in version 24.3

Fixed in version 24.4

Done: Jarek Czekalski <jarekczek <at> poczta.onet.pl>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jarek Czekalski <jarekczek <at> poczta.onet.pl>
Cc: 15461 <at> debbugs.gnu.org
Subject: bug#15461: 24.3; exec-path on ms windows should contain current directory
Date: Wed, 25 Sep 2013 18:48:43 +0300
> Date: Wed, 25 Sep 2013 15:24:58 +0200
> From: Jarek Czekalski <jarekczek <at> poczta.onet.pl>
> 
> To be consistent with the native shell on Microsoft Windows,
> the exec-path should include current directory.

In Emacs, every buffer has its own "current directory", the value of
default-directory of that buffer.  So you are in effect proposing to
change exec-path whenever a buffer is switched, including temporary
buffers used by Emacs under the hood and whatnot.

OTOH, the current directory is always implicitly present, so while
completion indeed doesn't happen, typing "M-! test.bat RET" _will_ in
fact invoke the batch file.

So I wonder what are the real-life use cases that motivated you to ask
for this change.  Is that only completion?




This bug report was last modified 11 years and 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.