[Top][All Lists]

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

Re: Severe regressions in context of keyboard macros

From: Eli Zaretskii
Subject: Re: Severe regressions in context of keyboard macros
Date: Tue, 24 Sep 2019 11:45:35 +0300

> Cc: address@hidden
> From: Christoph Arenz <address@hidden>
> Date: Mon, 23 Sep 2019 13:57:00 +0200
> How about the following patch? It solved the calc bug for me and I could not 
> find other regressions so far.
> Running make check showed no difference.
> As mentioned, I do not understand all potential effects, so it should be 
> given some thoughts and tests.

Thanks, but I'd like to avoid changes in keyboard.c on behalf of input
recording issues, unless such changes are really a must.  In this
case, we already have 2 facilities to deal with unwanted repeated
recording of keys:

  . a Lisp program can bind inhibit--record-char to a non-nil value to
    avoid recording input events while some Lisp form is executed (you
    can see an example of using this in quail.el:quail-start-translation
  . a Lisp program can push onto unread-command-events a cons cell of
    the form '(no-record . KEY) to avoid recording KEY more than once
    (you can see an example of using this in

Can you use one of these facilities to solve the issue in Calc?  Note
that you will need to build Emacs from the Git master branch to be
able to use these facilities, they are not available before Emacs 27.


reply via email to

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