From: Robert Ewald <robewald@gmx.net>
To: David Bremner <david@tethera.net>
Cc: notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: Make the shell location configurable
Date: Tue, 15 Aug 2017 22:04:20 +0200 [thread overview]
Message-ID: <1B88EBF6-A978-4723-AAF4-7063EF36222B@gmx.net> (raw)
In-Reply-To: <87fucsom30.fsf@tesseract.cs.unb.ca>
Hello,
Thanks for reviewing the patch.
> On 15 Aug 2017, at 18:02, David Bremner <david@tethera.net> wrote:
>
> Robert Ewald <robewald@gmx.net> writes:
>
>> The location of the shell is not always /bin/sh. Use the
>> shell-file-name variable to be able to specify the shell location.
>> ---
>
> Can you say a bit more about the problem you are trying to solve? I
> think shell-file-name is not guaranteed to be Bourne shell compatible.
I would like to use notmuch with a remote-notmuch script on emacs on
windows (not cygwin).
Right now I cannot make this work, because that version of emacs doesn't
have any kind of unix style paths. I have an installation of msys that
provides the usual unix tools. This is configured in the init.el by
setting shell-file-name.
Does the shell-file-name have to be bourne shell compatible? My
understanding is that using "/bin/sh" requires a POSIX compatible shell,
bash specific shell scripts should be invoked with e.g. /bin/bash.
I believe a POSIX compatible shell is sufficient in this particular case.
Of course, if shell-file-name is not POSIX compatible this line may not
work.
Another way would be to introduce another configuration variable, but I
would like to avoid that.
Best regards
Robert
next prev parent reply other threads:[~2017-08-15 20:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-14 22:36 [PATCH] emacs: Make the shell location configurable Robert Ewald
2017-08-15 13:53 ` Tomi Ollila
2017-08-15 16:02 ` David Bremner
2017-08-15 20:04 ` Robert Ewald [this message]
2017-08-15 23:38 ` David Bremner
2017-08-16 7:17 ` Robert Ewald
2017-08-16 11:09 ` David Bremner
2017-08-16 20:16 ` Robert Ewald
2017-08-17 11:44 ` David Bremner
2017-08-17 12:15 ` Tomi Ollila
2017-08-17 21:46 ` David Bremner
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://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1B88EBF6-A978-4723-AAF4-7063EF36222B@gmx.net \
--to=robewald@gmx.net \
--cc=david@tethera.net \
--cc=notmuch@notmuchmail.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 public inbox
https://yhetil.org/notmuch.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).