unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org, lektu@terra.es
Subject: Re: Potential redisplay problem [Re: Recursive load of mule-util.elc]
Date: Thu, 14 Nov 2002 21:59:49 +0900 (JST)	[thread overview]
Message-ID: <200211141259.VAA20001@etlken.m17n.org> (raw)
In-Reply-To: <E18CIvK-0004Yf-00@fencepost.gnu.org> (message from Richard Stallman on Thu, 14 Nov 2002 07:16:42 -0500)

In article <E18CIvK-0004Yf-00@fencepost.gnu.org>, Richard Stallman <rms@gnu.org> 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

  reply	other threads:[~2002-11-14 12:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-04  7:26 Recursive load of mule-util.elc Juanma Barranquero
2002-11-05 10:47 ` Juanma Barranquero
2002-11-06  1:07   ` Kenichi Handa
2002-11-06  7:44     ` Juanma Barranquero
2002-11-06 12:20     ` Juanma Barranquero
2002-11-06 13:02       ` Kenichi Handa
2002-11-07  1:46         ` Potential redisplay problem [Re: Recursive load of mule-util.elc] Kenichi Handa
2002-11-08 12:07           ` Richard Stallman
2002-11-13  7:36             ` Kenichi Handa
2002-11-14 12:16               ` Richard Stallman
2002-11-14 12:16               ` Richard Stallman
2002-11-14 12:59                 ` Kenichi Handa [this message]
2002-11-16  1:34                   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200211141259.VAA20001@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=lektu@terra.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).