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: Fri, 13 Feb 2004 12:35:04 -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> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1076694035 2464 80.91.224.253 (13 Feb 2004 17:40:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2004 17:40:35 +0000 (UTC) Cc: Takaaki.Ota@am.sony.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Feb 13 18:40:25 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 1ArhIf-0002fD-00 for ; Fri, 13 Feb 2004 18:40:25 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ArhIe-0008OE-01 for ; Fri, 13 Feb 2004 18:40:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ArhI8-0003R7-96 for emacs-devel@quimby.gnus.org; Fri, 13 Feb 2004 12:39:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ArhGu-00032U-Tq for emacs-devel@gnu.org; Fri, 13 Feb 2004 12:38:36 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ArhGL-0002rF-M1 for emacs-devel@gnu.org; Fri, 13 Feb 2004 12:38:33 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ArhGL-0002r1-4P for emacs-devel@gnu.org; Fri, 13 Feb 2004 12:38:01 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1ArhDU-0007nL-AQ; Fri, 13 Feb 2004 12:35:04 -0500 Original-To: Kenichi Handa In-reply-to: <200402121304.WAA11159@etlken.m17n.org> (message from Kenichi Handa on Thu, 12 Feb 2004 22:04:57 +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:19921 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19921 I'd like to propose it again, i.e., make set-buffer-multibyte accept `to' as FLAG. (set-buffer-multibyte 'to) is exactly the same as: (let ((str (string-to-multibyte (buffer-string)))) (erase-buffer) (set-buffer-multibyte t) (insert str)) This approach is ok; it is simpler than what I proposed. But this interface would be a kludge. Please add a built-in function with a new name to do this job.