bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Jarek Czekalski
Subject: bug#15461: 24.3; exec-path on ms windows should contain current directory
Date: Sun, 15 Dec 2013 21:32:12 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0

Some analyzis done:

1. shell-command uses libexec\emacs\24.3.50\i686-pc-mingw32\cmdproxy.exe and this proxy locates files in the current directory. Side note: it ignores exec-path and uses only system PATH variable
2. call-process does not run programs from the current directory (a new bug)

Now the Stefan's suggestion:

Completion should mirror the behavior of the code that spawns the
process

, which seemed perfectly at the beginning, makes less sense. Which code's behaviour should be copied?

I guess first call-process should be fixed to include the current directory, then its behaviour may be copied.

Any suggestions in which direction to go? Maybe the simplest consing exec-path is still an option? Should I look at potential problems of that solution?

I'm happy that my initial title for the bug makes sense now, because not only completion is affected, but the spawning process as well :)

Jarek






reply via email to

[Prev in Thread] Current Thread [Next in Thread]