emacs-devel
[Top][All Lists]
Advanced

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

Re: Message buffer time-stamps


From: Richard Stallman
Subject: Re: Message buffer time-stamps
Date: Sat, 25 Dec 2004 10:13:57 -0500

    I propose the patch that calls after-change-functions after *Messages*
    buffer modification, i.e. when new messages are added to the
    *Messages* buffer by the `message' function.

That is not safe.  Messages are output from lots of places, and I
don't know if all of them can handle GC.  This patch would cause GCs
in those places.

You could make this safe by checking every call to the `message_'
functions and verifying that GC is safe in each of them.

However, I'd suggest instead using an idle timer to check that a message
has been added, and to add a timestamp.

There is another issue.  Right now there's a feature to combine
repeated messages.  If you put time stamps in the buffer, that would
break this feature, unless the time stamp code takes pains to keep
it working.




reply via email to

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