help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to detect words being added and removed to a buffer in a minor m


From: Eric S Fraga
Subject: Re: How to detect words being added and removed to a buffer in a minor mode?
Date: Mon, 21 Nov 2022 09:39:38 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

On Saturday, 19 Nov 2022 at 20:44, Dmitrii Pisarenko wrote:
> 1. How can I create an "event listener" (sorry for the non-Emacsian
> terminology) which would be called whenever the user types something
> in the buffer?

Naïvely (i.e. I may be totally ignorant of a proper solution), there is
post-command-hook which can be used to process every single key event.

-- 
Eric S Fraga via gnus (Emacs 29.0.50 2022-11-13) on Debian 11.4




reply via email to

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