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

Previous Next

Packages: w32, emacs;

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: Jarek Czekalski <jarekczek <at> poczta.onet.pl>
To: 15461 <at> debbugs.gnu.org
Subject: bug#15461: 24.3; exec-path on ms windows should contain current directory
Date: Sun, 15 Dec 2013 21:32:12 +0100
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





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.