[Top][All Lists]

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

Re: [Emacs-diffs] master 7b31de4: Add hook for all events

From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 7b31de4: Add hook for all events
Date: Fri, 25 Jan 2019 08:56:35 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> Well, you should find it better; this hook is your code (I stole it from
> a patch you sent in 2015). Sit-for, yes, would be a possibility, that I
> hadn't thought off; you'd still need to filter the event using
> `last-input-event' I guess. That would be a way of fixing company and
> pabbrev in current Emacs. I will investigate.

Another way might be to use a before/after-change-function (i.e. don't
detect an input event but rather detect that the input method inserted
something into the buffer).


reply via email to

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