Re: [PATCH] emacs: Make the shell location configurable

Subject: Re: [PATCH] emacs: Make the shell location configurable

Date: Wed, 16 Aug 2017 09:17:18 +0200

To: David Bremner

Cc: notmuch@notmuchmail.org

From: Robert Ewald


> On 16 Aug 2017, at 01:38, David Bremner <david@tethera.net> wrote:
> 
> Robert Ewald <robewald@gmx.net> writes:
> 
>> 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.
> 
> Yeah, I was sloppy. Hopefully POSIX compatibility is enough (if not we
> can probably fix that). But as you note there's no guarantee
> shell-file-name is POSIX compatible.
> 
> d

I did some research: apparently shell-file-name should be POSIX compatible,
otherwise many plugins don't work. explicit-shell-file-name however can be set to
fish or tcsh if you want to use that in M-x shell.

https://emacs.stackexchange.com/questions/28647/how-do-i-change-the-default-shell-for-shell-command

So I think the patch as submitted is good, please apply.

Thanks.

Robert.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: