GNU bug report logs -
#32108
27.0.50; Insertion of char from input method during macro invocation duplicates the char
Previous Next
Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>
Date: Mon, 9 Jul 2018 22:42:02 UTC
Severity: normal
Tags: confirmed
Merged with 34248
Found in versions 25.1, 27.0.50
Fixed in version 27.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Wed, 11 Jul 2018 12:29:03 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: fgunbin <at> fastmail.fm, 32108 <at> debbugs.gnu.org
>
> > From: Glenn Morris <rgm <at> gnu.org>
> > Cc: Eli Zaretskii <eliz <at> gnu.org>, 32108 <at> debbugs.gnu.org
> > Date: Tue, 10 Jul 2018 20:54:31 -0400
> >
> > bisects to 30a6b1f81412044aa7dda5573b0142a0a03c4fd3.
>
> AFAICS, this happens because when an input method is active, read_char
> is called recursively from quail-start-translation, and that recursive
> call records the same character for the second time.
>
> Any ideas except introduction of a new variable, inhibit-record-char,
> which quail-start-translation would bind to prevent recording of the
> same key more than once?
No other ideas, so I pushed to the master branch a fix along the above
lines (except it turned out to be slightly more tricky due to input
methods that translate sequences of two or more keys). Please test.
Btw, it turned out the offending commit also caused us in this
situation to output keys twice to the dribble file and insert them
twice into recent-keys, so this fix resolves those problems as well.
Let's see how much I broke this time...
This bug report was last modified 6 years and 117 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.