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: Kaushal Modi <kaushal.modi <at> gmail.com>
To: Wolfgang Jenkner <wjenkner <at> inode.at>
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 14:30:14 -0500
Hi Wolfgang,

> The last stop in the call chain before entering C-land is
> `call-process-region'.  It might be interesting to see what arguments
> that function is passed (M-x trace-function).

I get this by doing trace-function on call-process-region.

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




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.