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: with-output-to-temp-buffer [Re: reverting CJK input methods] Date: Thu, 06 May 2004 07:48:57 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040429.150303.42778779.wl@gnu.org> <200404300142.KAA01027@etlken.m17n.org> <87u0z1puxa.fsf@mail.jurta.org> <200404301326.WAA02744@etlken.m17n.org> <8765bga5tt.fsf@mail.jurta.org> <200405020157.KAA07108@etlken.m17n.org> <200405060505.OAA21188@etlken.m17n.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1083848030 31446 80.91.224.253 (6 May 2004 12:53:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 May 2004 12:53:50 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 06 14:53:22 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 1BLiNO-0004LX-00 for ; Thu, 06 May 2004 14:53:22 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BLiNN-00079p-00 for ; Thu, 06 May 2004 14:53:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLhbp-0006lK-CV for emacs-devel@quimby.gnus.org; Thu, 06 May 2004 08:04:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BLhRW-00058b-US for emacs-devel@gnu.org; Thu, 06 May 2004 07:53:34 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BLhN5-0004Ib-Er for emacs-devel@gnu.org; Thu, 06 May 2004 07:49:30 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLhN4-0004IC-Jh for emacs-devel@gnu.org; Thu, 06 May 2004 07:48:58 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1BLhN3-0000lY-44; Thu, 06 May 2004 07:48:57 -0400 Original-To: Kenichi Handa In-reply-to: <200405060505.OAA21188@etlken.m17n.org> (message from Kenichi Handa on Thu, 6 May 2004 14:05:45 +0900 (JST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 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:22847 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22847 fails because the function temp_output_buffer_setup calls Ferase_buffer and it signals the error "Text is read-only". Should we bind inhibit-read-only to t while calling Ferase_buffer, That is the right fix. or modify Ferase_buffer itself so that it doesn't signal the above error? This would be incorrect. As a general principle: don't make a general facility less natural or harder to describe, in order to solve a problem that occurs with a specific use of that facility. Instead, fix the specific use. Only change the general facility if there's a reason to think it would be better, as a general facility, with the change.