all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jarek Czekalski <jarekczek@poczta.onet.pl>
To: 15461@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	[thread overview]
Message-ID: <52AE11CC.5030500@poczta.onet.pl> (raw)
In-Reply-To: <5242E42A.4050109@poczta.onet.pl>

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






  parent reply	other threads:[~2013-12-15 20:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-25 13:24 bug#15461: 24.3; exec-path on ms windows should contain current directory Jarek Czekalski
2013-09-25 15:48 ` Eli Zaretskii
2013-09-26 17:23 ` bug#15461: why do I need it Jarek Czekalski
2013-09-26 17:59   ` Eli Zaretskii
2013-09-26 20:39     ` Stefan Monnier
2013-09-26 20:40 ` bug#15461: answer Jarek Czekalski
2013-12-15 20:32 ` Jarek Czekalski [this message]
2013-12-15 21:16   ` bug#15461: 24.3; exec-path on ms windows should contain current directory Eli Zaretskii
2013-12-16  8:06 ` Jarek Czekalski
2013-12-16 16:45   ` Eli Zaretskii
2013-12-18  8:15     ` Jarek Czekalski
2013-12-25 23:14 ` bug#15461: 24.3; [PATCH] " Jarek Czekalski
2013-12-26 16:23   ` Eli Zaretskii
2013-12-26 22:27     ` Jarek Czekalski
2013-12-26 23:22       ` Juanma Barranquero
2013-12-27  8:19       ` Eli Zaretskii
2013-12-27 21:02         ` Jarek Czekalski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52AE11CC.5030500@poczta.onet.pl \
    --to=jarekczek@poczta.onet.pl \
    --cc=15461@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.