emacs-devel
[Top][All Lists]
Advanced

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

Re: Little improvements on pulse.el


From: Stefan Kangas
Subject: Re: Little improvements on pulse.el
Date: Wed, 10 Mar 2021 05:41:45 -0800

Eli Zaretskii <eliz@gnu.org> writes:

>> 2. The name and the docstring mention the use with hooks, but would be
>> nice to use with advices as well. For example, to highlight the current
>> line when the cursor, buffer or window changes:
[...]
>
> I'd prefer not to use advices for such a simple job.  For example, how
> about defining a new hook, which will receive the argument(s) you want
> to pass it?

Besides the implementation details, how about packing this up in a
global minor mode, like `pulse-change-window-mode' or something?
I could see myself using something like that.



reply via email to

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