Subject: Re: bug#22203: 25.0.50; # is treated as a comment character in shell-command arg

From: Wolfgang Jenkner <[email-masked]>
Date: Fri, 18 Dec 2015 20:53:37 +0100

On Fri, Dec 18 2015, Kaushal Modi wrote:

> It looks like the arguments are passed alright .. but the result
> buffer *test* shows just "abc" (without quotes) as in the GIF I posted
> in my previous email.
>
> ======================================================================
> 1 -> (call-process-region 18234 18234 "/bin/tcsh" nil #<buffer *test*>
> nil "-c" "echo abc#def")
> 1 <- call-process-region: 0

Yes, I can reproduce this with

(call-process-region (point-min) (point-min) "/bin/tcsh" nil "*test*" nil "-c" "echo abc#def")

However, using sh or bash instead of tcsh works (tcsh -c 'echo abc#def'
works on the command line, though).

So, perhaps, for some reason, emacs 25 and trunk use different shells on
your system?