From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: save-buffer in tar-mode Date: Wed, 03 Mar 2004 10:18:51 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040204.135033.207583862.Takaaki.Ota@am.sony.com> <200402121304.WAA11159@etlken.m17n.org> <200403021222.VAA17913@etlken.m17n.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1078478816 1096 80.91.224.253 (5 Mar 2004 09:26:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Mar 2004 09:26:56 +0000 (UTC) Cc: Takaaki.Ota@am.sony.com, handa@m17n.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 05 10:26:49 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AzBbU-0004Mo-00 for ; Fri, 05 Mar 2004 10:26:48 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AzBbU-0005f7-00 for ; Fri, 05 Mar 2004 10:26:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AzBY8-0001Hn-DN for emacs-devel@quimby.gnus.org; Fri, 05 Mar 2004 04:23:20 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AyYCX-0002Ya-UG for emacs-devel@gnu.org; Wed, 03 Mar 2004 10:22:25 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AyYAy-0001Js-8N for emacs-devel@gnu.org; Wed, 03 Mar 2004 10:21:19 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AyYAw-0001IZ-Vd for emacs-devel@gnu.org; Wed, 03 Mar 2004 10:20:46 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AyY95-0001mI-Ee; Wed, 03 Mar 2004 10:18:51 -0500 Original-To: Kenichi Handa In-reply-to: <200403021222.VAA17913@etlken.m17n.org> (message from Kenichi Handa on Tue, 2 Mar 2004 21:22:35 +0900 (JST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20247 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20247 What tar-mode would ideally want to do > is copy the tar data to auxiliary buffer B so buffer A could be in multibyte > and buffer A in unibyte, but copying 25MB of tar data is a bit costly, so > instead we could offer a primitive that swaps the buffer_text of > two buffers. I think it would work, and it might be a good idea. However, something about it seems not quite right. I have the feeling that the really right thing to do would be different in some detail. Perhaps attempting to write the buffer A into a file should actually write buffer B into the file.