emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Potential redisplay problem [Re: Recursive load of mule-util.elc]


From: Richard Stallman
Subject: Re: Potential redisplay problem [Re: Recursive load of mule-util.elc]
Date: Fri, 08 Nov 2002 07:07:38 -0500

    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 via email to

[Prev in Thread] Current Thread [Next in Thread]