changeset 93202:81cc0380dd95

(Decoding Output): Remove process-filter-multibyte functions.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 25 Mar 2008 17:50:07 +0000
parents 5dbe361f12c2
children 7327632ad432
files doc/lispref/ChangeLog doc/lispref/processes.texi etc/NEWS
diffstat 3 files changed, 15 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/doc/lispref/ChangeLog	Tue Mar 25 17:35:48 2008 +0000
+++ b/doc/lispref/ChangeLog	Tue Mar 25 17:50:07 2008 +0000
@@ -1,3 +1,8 @@
+2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* processes.texi (Decoding Output): Remove process-filter-multibyte
+	functions.
+
 2008-03-15  Martin Rudalics  <rudalics@gmx.at>
 
 	* display.texi (Finding Overlays): Say that empty overlays at
--- a/doc/lispref/processes.texi	Tue Mar 25 17:35:48 2008 +0000
+++ b/doc/lispref/processes.texi	Tue Mar 25 17:50:07 2008 +0000
@@ -1297,29 +1297,16 @@
 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
--- a/etc/NEWS	Tue Mar 25 17:35:48 2008 +0000
+++ b/etc/NEWS	Tue Mar 25 17:50:07 2008 +0000
@@ -600,6 +600,10 @@
 
 * 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.