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: Potential redisplay problem [Re: Recursive load of mule-util.elc] Date: Thu, 14 Nov 2002 21:59:49 +0900 (JST) Sender: emacs-devel-admin@gnu.org Message-ID: <200211141259.VAA20001@etlken.m17n.org> References: <20021105114339.0CED.LEKTU@terra.es> <200211060107.KAA26465@etlken.m17n.org> <20021106131931.66A2.LEKTU@terra.es> <200211061302.WAA07800@etlken.m17n.org> <200211070146.KAA08672@etlken.m17n.org> <200211130736.QAA17949@etlken.m17n.org> 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 1037310000 27890 80.91.224.249 (14 Nov 2002 21:40:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2002 21:40:00 +0000 (UTC) Cc: emacs-devel@gnu.org, lektu@terra.es Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18CRiR-0007Fg-00 for ; Thu, 14 Nov 2002 22:39:59 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18CRv0-00010m-00 for ; Thu, 14 Nov 2002 22:52:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18CRiL-0005Ky-00; Thu, 14 Nov 2002 16:39:53 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18COhj-000131-00 for emacs-devel@gnu.org; Thu, 14 Nov 2002 13:27:03 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18COha-0000Wa-00 for emacs-devel@gnu.org; Thu, 14 Nov 2002 13:26:58 -0500 Original-Received: from gnudist.gnu.org ([199.232.41.7]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18CLtV-00018t-00; Thu, 14 Nov 2002 10:27:01 -0500 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by gnudist.gnu.org with esmtp (Exim 4.10) id 18CJgv-0001vq-00; Thu, 14 Nov 2002 08:05:54 -0500 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 gAECxok14634; Thu, 14 Nov 2002 21:59:50 +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 gAECxnR24544; Thu, 14 Nov 2002 21:59:49 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id VAA20001; Thu, 14 Nov 2002 21:59:49 +0900 (JST) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Thu, 14 Nov 2002 07:16:42 -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) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9432 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9432 In article , Richard Stallman writes: > By the way, is autloading the only way to cause of the above > recursive call? > I am not certain. I haven't studied the code. > If that is possible, why don't just add a code to suppress > the call of message_with_string when something is being > autoloaded? > We don't want to do this in general. The user should be informed > about loading due to autoloads. I don't mean to do that in general, but to add such a suppressing code somewhere in this calling sequence: > message_with_string -> message3 -> message3_nolog > -> echo_area_display -> redisplay_mode_lines -> > -> display_mode_lines -> display_mode_element For instance, introducing a global variable `inhibit_loading_message', toggle it on and off around the code of evaluating a form in display_mode_element, and modify Fload to pay attention to it. This is just a quick thought. For the correct fix, we have to study the code more. For instance, I don't know why echo_area_display must lead to redisplay_mode_lines. But, for the moment, I don't have a time to study this issue in detail and write an actual code. --- Ken'ichi HANDA handa@m17n.org