From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: [HELP] (bug?) Saving a buffer without any conversion? Date: Thu, 16 Jan 2003 15:45:37 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200301160645.PAA11277@etlken.m17n.org> References: <87fzrxszs8.fsf@lexx.delysid.org> <200301150116.KAA09223@etlken.m17n.org> <5xk7h67k1b.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1042699625 14243 80.91.224.249 (16 Jan 2003 06:47:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2003 06:47:05 +0000 (UTC) Cc: storm@cua.dk Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Z3np-0003hZ-00 for ; Thu, 16 Jan 2003 07:47:01 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18Z3wd-0004d7-00 for ; Thu, 16 Jan 2003 07:56:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Z3om-0001hG-06 for emacs-devel@quimby.gnus.org; Thu, 16 Jan 2003 01:48:00 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Z3n2-00086m-00 for emacs-devel@gnu.org; Thu, 16 Jan 2003 01:46:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Z3mh-0007lS-00 for emacs-devel@gnu.org; Thu, 16 Jan 2003 01:45:52 -0500 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Z3me-0007e1-00; Thu, 16 Jan 2003 01:45:49 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h0G6jck15626; Thu, 16 Jan 2003 15:45:38 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h0G6jbR12052; Thu, 16 Jan 2003 15:45:37 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id PAA11277; Thu, 16 Jan 2003 15:45:37 +0900 (JST) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Wed, 15 Jan 2003 18:27:54 -0500) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) Original-cc: emacs-devel@gnu.org Original-cc: mlang@delysid.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10776 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10776 In article , Richard Stallman writes: > to this: >> :filter (lambda (proc string) >> (with-current-buffer (get-buffer "temp.out") >> (insert (string-as-multibyte string)))) > also produces the right result. > This would put the characters into the buffer. > Some of them would be represented with multibyte sequences. > What coding system would work then to save the file? no-conversion and raw-text. > What coding system can we use to write out that text > converting it back to single-byte characters? The same. --- Ken'ichi HANDA handa@m17n.org