emacs-devel
[Top][All Lists]
Advanced

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

Re: Proposed new core library: alert.el


From: Juanma Barranquero
Subject: Re: Proposed new core library: alert.el
Date: Thu, 5 Nov 2015 18:09:24 +0100

On Thu, Nov 5, 2015 at 5:33 PM, Vivek Dasmohapatra <address@hidden> wrote:

> Something like a timestamped version of *Messages* but just for *Alerts*
> would be great.

That could be done with warnings.el and `warning-prefix-function' and some creative use of `display-buffer-alist', I suspect.

I've always thought that warnings.el is underused and a bit wasted. `message' is, to a certain point', a low-level tool. If we used warnings in the Emacs sources instead of message, we could add tweaks to give the user more control over what and how these messages are shown. When I added delayed warnings I did as a way to "show" warnings from C code before there's even a Lisp interpreter running, but one consequence is that warnings that go through `delayed-warning-list' can (or at least, could) be easily filtered, grouped, modified, etc.

Just my 0.02€

reply via email to

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