GNU bug report logs - #22203
25.0.50; # is treated as a comment character in shell-command arg

Previous Next

Package: emacs;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Fri, 18 Dec 2015 16:27:01 UTC

Severity: normal

Found in version 25.0.50

Done: Kaushal Modi <kaushal.modi <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Wolfgang Jenkner <wjenkner <at> inode.at>
To: Kaushal Modi <kaushal.modi <at> gmail.com>
Cc: 22203 <at> debbugs.gnu.org
Subject: bug#22203: 25.0.50; # is treated as a comment character in shell-command arg
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?




This bug report was last modified 9 years and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.