[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15461: 24.3; exec-path on ms windows should contain current director
From: |
Eli Zaretskii |
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@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?