emacs-devel
[Top][All Lists]
Advanced

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

Re: bug in save-some-buffers or diff.el?


From: Juri Linkov
Subject: Re: bug in save-some-buffers or diff.el?
Date: 23 Oct 2003 11:00:53 +0300
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Eli Zaretskii <address@hidden> writes:
> > From: Juri Linkov <address@hidden>
> > Date: 23 Oct 2003 07:53:22 +0300
> > 
> > Anyhow, I'm just trying to find a solution to the real problem about
> > warnings that go unnoticed because they become overwritten by the
> > new messages in the minibuffer.
> 
> My personal imperfect solution is to watch closely the echo area, and
> if I see any message(s) flash by that I didn't expect, I look them up
> later in the *Messages* buffer.

This worked on slow machines, but now on faster machines quickly flashing
messages are hardly readable.

> For messages about *.el files being newer than the corresponding .elc,
> perhaps we could add an option to sit-for 2 seconds after displaying
> each such message.  It should be off by default, of course.

This can become irritating for loading files with nested dependencies
when this delay occurs after loading every of them.

But how about using already existing function `display-warning'?

For example:

(display-warning
 'load
 "Source file file.el is newer than compiled file.elc"
 :warning)

It has options to control the severity level and suppressed warning types.

-- 
http://www.jurta.org/emacs/





reply via email to

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