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: Rasmus
Subject: Re: Proposed new core library: alert.el
Date: Fri, 06 Nov 2015 10:47:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

John Wiegley <address@hidden> writes:

>>>>>> raman  <address@hidden> writes:
>
>> You could do this seamlessly by attaching an around advice to message and
>> having that call alert
>
> Advice is only to be used by user code, not in core. It's the "last line" of
> customization, but shouldn't be a programming style for developers.

A rgrep on the lisp dir suggests that add-function is used 60 places.
AFAIK, one of the intentions of nadvice is to easily attach new functions
to "places", also in core.  But I could easily be wrong.

Rasmus

-- 
Together we'll stand, divided we'll fall




reply via email to

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