From: Stefan Monnier Date: Tue, 25 Mar 2008 17:50:07 +0000 (+0000) Subject: (Decoding Output): Remove process-filter-multibyte functions. X-Git-Tag: emacs-pretest-23.0.90~6939 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4972c36128d52df96dbb441a2785247fffe419db;p=emacs.git (Decoding Output): Remove process-filter-multibyte functions. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 87060578e9b..d973a4fe948 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2008-03-25 Stefan Monnier + + * processes.texi (Decoding Output): Remove process-filter-multibyte + functions. + 2008-03-15 Martin Rudalics * display.texi (Finding Overlays): Say that empty overlays at diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index e7b1699ef27..b26c69741b0 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -1297,29 +1297,16 @@ possible, specify a coding system that determines both the character code conversion and the end of line conversion---that is, one like @code{latin-1-unix}, rather than @code{undecided} or @code{latin-1}. +@c Let's keep the index entries that were there for +@c set-process-filter-multibyte and process-filter-multibyte-p, @cindex filter multibyte flag, of process @cindex process filter multibyte flag When Emacs calls a process filter function, it provides the process output as a multibyte string or as a unibyte string according to the -process's filter multibyte flag. If the flag is non-@code{nil}, Emacs -decodes the output according to the process output coding system to -produce a multibyte string, and passes that to the process. If the -flag is @code{nil}, Emacs puts the output into a unibyte string, with -no decoding, and passes that. - - When you create a process, the filter multibyte flag takes its -initial value from @code{default-enable-multibyte-characters}. If you -want to change the flag later on, use -@code{set-process-filter-multibyte}. - -@defun set-process-filter-multibyte process multibyte -This function sets the filter multibyte flag of @var{process} -to @var{multibyte}. -@end defun - -@defun process-filter-multibyte-p process -This function returns the filter multibyte flag of @var{process}. -@end defun +process's filter coding system. Emacs +decodes the output according to the process output coding system, +which usually produces a multibyte string, except for coding systems +such as @code{binary} and @code{raw-text} @node Accepting Output @subsection Accepting Output from Processes diff --git a/etc/NEWS b/etc/NEWS index fbec1b7b5a5..41bf517b960 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -600,6 +600,10 @@ for the list of extra keys that are available. * Incompatible Lisp Changes in Emacs 23.1 +** The multibyteness of process filters is determined by the coding-system +used for decoding. The functions `process-filter-multibyte-p' and +`set-process-filter-multibyte' are obsolete. + ** The behavior of map-char-table has changed. It may call the specified function with a cons (FROM . TO) as a key if characters in that range have the same value.