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: recursive load case in openp Date: Tue, 9 Apr 2002 21:34:25 +0900 (JST) Sender: emacs-devel-admin@gnu.org Message-ID: <200204091234.VAA04602@etlken.m17n.org> NNTP-Posting-Host: localhost.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 1018355784 10556 127.0.0.1 (9 Apr 2002 12:36:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 9 Apr 2002 12:36:24 +0000 (UTC) Cc: eliz@is.elta.co.il, walters@debian.org, emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16uurH-0002k9-00 for ; Tue, 09 Apr 2002 14:36:23 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16uv66-00024Y-00 for ; Tue, 09 Apr 2002 14:51:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16uur0-0003kI-00; Tue, 09 Apr 2002 08:36:06 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16uupS-0003eC-00; Tue, 09 Apr 2002 08:34:30 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6/3.7W-20010518204228) with ESMTP id g39CYQw24454; Tue, 9 Apr 2002 21:34:26 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.3/3.7W-20010823150639) with ESMTP id g39CYQM11814; Tue, 9 Apr 2002 21:34:26 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id VAA04602; Tue, 9 Apr 2002 21:34:25 +0900 (JST) Original-To: rms@gnu.org In-Reply-To: message from Richard Stallman on Tue, 9 Apr 2002 06:07:47 -0600 (MDT) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2484 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2484 Richard Stallman writes: > Why does encode_coding_string call temp_output_buffer_setup? To run post-read-conversion and pre-write-conversion functions of a coding system. We must make a temporary working buffer for them. > That is meant for buffers that are going to be displayed. > It should not be used for temporary buffers used for internal > purposes. I didn't know that. > I don't think encode_coding_string should call it. Ok. Then, let's make a function which does almost the same thing as temp_output_buffer_setup. That function doesn't run temp-buffer-setup-hook, and instead of binding Qstandard_output, it returns a working buffer. And, change run_pre_post_conversion_on_str and Finsert_file_contents to call it. --- Ken'ichi HANDA handa@etl.go.jp