GNU bug report logs -
#15461
24.3; exec-path on ms windows should contain current directory
Previous Next
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
> Date: Thu, 26 Sep 2013 19:23:19 +0200
> From: Jarek Czekalski <jarekczek <at> poczta.onet.pl>
>
> > So I wonder what are the real-life use cases that motivated you to ask
> > for this change. Is that only completion?
>
> I like to have my environment comfortable. I often work with batch
> files, sometimes they have long names. Whether I am in native windows
> shell (cmd.exe) or in my previous editor (jedit) I am used to get the
> batch file name completed after pressing tab. A requirement of typing
> always the full name of a batch file is awkward.
>
> You ask such a question that I am not sure what answer you expect.
I expected nothing more than the answer to the question. Apologies if
the question was not clear enough.
Let me try to elaborate.
If the only use case where you need this is completion of executables,
an alternative solution could be to teach such completion to look in
the current buffer's default directory, on systems where that is
implicit. This could be an easier solution than futzing with the
environment.
The disadvantage of adding something to the environment is that it
affects more than just your use case, and it also affects every
sub-process Emacs will run. The broader the effect, the higher the
risk of unintended consequences (a.k.a. "bugs that we will introduce
while fixing this one").
It sounds like your problem is indeed limited to completion of
executable file names, which seems to suggest that a narrower, more
specific solution is possible.
This bug report was last modified 11 years and 147 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.