From: Eli Zaretskii <eliz@gnu.org>
To: Uday S Reddy <u.s.reddy@cs.bham.ac.uk>
Cc: larsi@gnus.org, 11037@debbugs.gnu.org
Subject: bug#11037: 24.0.94; gnutls-cli.exe program not found
Date: Fri, 23 Mar 2012 10:01:35 +0200 [thread overview]
Message-ID: <837gybwxsw.fsf@gnu.org> (raw)
In-Reply-To: <20331.36724.77000.309313@gargle.gargle.HOWL>
> Date: Thu, 22 Mar 2012 20:45:40 +0000
> From: Uday S Reddy <u.s.reddy@cs.bham.ac.uk>
> Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>,
> u.s.reddy@cs.bham.ac.uk,
> 11037@debbugs.gnu.org
>
> I can verify that putting your binary of gnutls on system PATH worked fine
> with Emacs 24.
Great.
> The basic bug report here was that Emacs couldn't find gnutls-cli.exe that
> was available on exec-path. That was simply based on my misunderstanding of
> where it is supposed to be found. Since the README.W32 file says that it
> should be found during startup, it implies that it needs to be put on the
> system PATH.
>
> Perhaps all that you need to do in response to this bug report is to add a
> line in README.W32 to the effect that the binaries should be on system PATH,
> to help out other dimwits like me.
I will add that, but please note that this is in no way specific to
Windows. There's a subtle difference between exec-path and PATH, in
that exec-path is only used by Emacs's own code to find executables it
runs directly. By contrast, PATH is used by external programs,
system-level APIs, and the OS features in general. As an example, a
program invoked through shell-command and its ilk _must_ be on PATH,
because it's the shell that will look for it, not Emacs; Emacs only
looks for the shell itself. Similarly, to load a dynamic library,
Emacs uses system APIs, which use PATH and not exec-path.
So if what you tried to accomplish needed either shell-command or
loaded a DLL, exec-path will not help.
(To keep your sanity, I suggest to always have exec-path derived from
PATH, and not modify exec-path inside Emacs so that it deviates from
PATH.)
next prev parent reply other threads:[~2012-03-23 8:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-17 17:24 bug#11037: 24.0.94; gnutls-cli.exe program not found Uday S Reddy
2012-03-17 18:09 ` Eli Zaretskii
2012-03-17 20:14 ` Uday S Reddy
2012-03-27 0:11 ` Glenn Morris
2012-03-17 21:31 ` Uday S Reddy
2012-03-18 3:48 ` Eli Zaretskii
2012-03-22 18:33 ` Lars Magne Ingebrigtsen
2012-03-22 20:16 ` Eli Zaretskii
2012-03-22 20:45 ` Uday S Reddy
2012-03-23 8:01 ` Eli Zaretskii [this message]
2012-03-23 8:18 ` Uday S Reddy
2012-03-23 8:33 ` Eli Zaretskii
2012-03-23 12:30 ` Stefan Monnier
2012-03-22 21:05 ` Lars Magne Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=837gybwxsw.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=11037@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=u.s.reddy@cs.bham.ac.uk \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).