emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HELP] (bug?) Saving a buffer without any conversion?


From: Eli Zaretskii
Subject: Re: [HELP] (bug?) Saving a buffer without any conversion?
Date: Wed, 15 Jan 2003 19:30:04 +0300

> From: address@hidden (Kim F. Storm)
> Date: 15 Jan 2003 14:27:23 +0100
> 
> E.g. add this to the doc string for `set-process-filter':
> 
> If the process' input coding system is no-conversion or raw-text, the
> string argument to the filter function is a unibyte string; otherwise
> it is a multibyte string.  Use `string-as-multibyte' on a unibyte
> string before inserting it in a multibyte buffer.
> 
> Note: If the sole purpose of the filter is to insert received data
> into a specific buffer, it is better NOT to define a process filter,
> but instead set the process' buffer to that buffer.

The issue involved is not specific to process filters, so it should
probably be mentioned in other doc strings as well, like in that of
`insert'.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]