GNU bug report logs - #11208
23.4; shell-command-on-region does not {de,en}code as documented

Previous Next

Package: emacs;

Reported by: Gustav Hållberg <gustav <at> gmail.com>

Date: Mon, 9 Apr 2012 16:14:01 UTC

Severity: normal

Found in version 23.4

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 11208-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gustav Hållberg <gustav <at> gmail.com>
Cc: 11208-done <at> debbugs.gnu.org
Subject: Re: bug#11208: 23.4;
	shell-command-on-region does not {de,en}code as documented
Date: Mon, 09 Apr 2012 19:58:50 +0300
> Date: Mon, 9 Apr 2012 13:09:07 +0200
> From: Gustav Hållberg <gustav <at> gmail.com>
> 
> shell-command-on-region (M-|) does not do the {de,en}coding of I/O to the
> process as documented.
> 
> It says (if I read it correctly) that it will use buffer-file-coding-system
> (at least unless coding-system-for-{read,write} are set) for output to and
> input from (if doing substitution with a prefix argument) the process.
> 
> However, it "just" calls call-process-region which will use
> default-process-coding-system rather than buffer-file-coding-system.

Thanks, I made the doc string match the implementation.

The fix is committed as revision 107794 on the emacs-24 branch, and
will be in Emacs 24.1.





This bug report was last modified 13 years and 40 days ago.

Previous Next


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