[PATCH] emacs: Make the shell location configurable

Robert Ewald robewald at gmx.net
Wed Aug 16 00:17:18 PDT 2017


> On 16 Aug 2017, at 01:38, David Bremner <david at tethera.net> wrote:
> 
> Robert Ewald <robewald at 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.


More information about the notmuch mailing list