unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org, lektu@terra.es
Subject: Re: Potential redisplay problem [Re: Recursive load of mule-util.elc]
Date: Fri, 08 Nov 2002 07:07:38 -0500	[thread overview]
Message-ID: <E18A7vG-0007ov-00@fencepost.gnu.org> (raw)
In-Reply-To: <200211070146.KAA08672@etlken.m17n.org> (message from Kenichi Handa on Thu, 7 Nov 2002 10:46:08 +0900 (JST))

    At first, tool-bar is being autoloaded.  Then, Fload is
    called, and it calls message_with_string () to show "Loading
    XXX.." before starting to load a file.  This leads to
    calling display_mode_element in this sequence.

    message_with_string -> message3 -> message3_nolog
      -> echo_area_display -> redisplay_mode_lines ->
      -> display_mode_lines -> display_mode_element

    In display_mode_element, `(mode-line-eol-desc)' is evaled,

You need to make it safe to call mode-line-eol-desc.  It
should never try to autoload anything.

    When you moved coding-system-eol-type-mnemonic to mule.el,
    autoloading of mule-util in display_mode_element is avoided,
    thus the problem is fixed.

Yes, exactly.

    However, this means that the current Emacs has a potential
    problem.  Anything being autoloaded in display_mode_element
    cause the same error.

We could put in code that gets an error if anything autoloaded
is called from within display_mode_element.

  reply	other threads:[~2002-11-08 12:07 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 [this message]
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
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=E18A7vG-0007ov-00@fencepost.gnu.org \
    --to=rms@gnu.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).