GNU bug report logs - #67049
Flyspell + Key-chord, chords are ignored while typing / spellchecking

Previous Next

Package: emacs;

Reported by: Everard Nisse <everard.nisse <at> gmail.com>

Date: Fri, 10 Nov 2023 17:31:01 UTC

Severity: normal

Tags: notabug

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67049 in the body.
You can then email your comments to 67049 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#67049; Package emacs. (Fri, 10 Nov 2023 17:31:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Everard Nisse <everard.nisse <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 10 Nov 2023 17:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Everard Nisse <everard.nisse <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Flyspell + Key-chord, chords are ignored while typing / spellchecking
Date: Fri, 10 Nov 2023 16:15:04 +0100
[Message part 1 (text/plain, inline)]
With Flyspell mode enabled, key-chord combinations are ignored until
Flyspell has finished marking incorrect words, chord characters are typed
instead.

To reproduce

   1. Install the key-chord package from MELPA
   2. M-: (key-chord-define-global "jk" "testing")
   3. key-chord-mode & flyspell-mode
   4. Type and quickly try to invoke the "jk" chord (press both keys at the
   same time)
   5. Result should be "testing" being inserted in the buffer but instead
   the chord is ignored and "jk" is typed

Workarounds to resume chord recognition:

   1. Waiting a few moments until Flypsell finishes marking incorrect words
   2. Issuing C-g quickly after typing (does mark incorrect words)
   3. Pressing Space, Delete or typing numbers/symbols

Reproduced on v30.0.50 native-comp with no other configuration present via "$
env HOME=testing emacs".
If anyone has ideas on code that can be blamed or further debug steps,
please let me know.

Cheers,
ENisse
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67049; Package emacs. (Fri, 10 Nov 2023 19:00:01 GMT) Full text and rfc822 format available.

Message #8 received at 67049 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Everard Nisse <everard.nisse <at> gmail.com>
Cc: 67049 <at> debbugs.gnu.org
Subject: Re: bug#67049: Flyspell + Key-chord,
 chords are ignored while typing / spellchecking
Date: Fri, 10 Nov 2023 20:58:26 +0200
> From: Everard Nisse <everard.nisse <at> gmail.com>
> Date: Fri, 10 Nov 2023 16:15:04 +0100
> 
> With Flyspell mode enabled, key-chord combinations are ignored until Flyspell has finished marking
> incorrect words, chord characters are typed instead.
> 
> To reproduce
> 
> 1 Install the key-chord package from MELPA
> 2 M-: (key-chord-define-global "jk" "testing")
> 3 key-chord-mode & flyspell-mode
> 4 Type and quickly try to invoke the "jk" chord (press both keys at the same time)
> 5 Result should be "testing" being inserted in the buffer but instead the chord is ignored and "jk" is
>  typed

Thanks, but why do you think this is a bug in Emacs and not in
key-chord-mode?  Did you report this to the developers of
key-chord-mode?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67049; Package emacs. (Sat, 11 Nov 2023 00:21:04 GMT) Full text and rfc822 format available.

Message #11 received at 67049 <at> debbugs.gnu.org (full text, mbox):

From: Everard Nisse <everard.nisse <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 67049 <at> debbugs.gnu.org
Subject: Re: bug#67049: Flyspell + Key-chord, chords are ignored while typing
 / spellchecking
Date: Fri, 10 Nov 2023 20:16:58 +0100
[Message part 1 (text/plain, inline)]
The package seems unmantained but there's a bug report at
https://github.com/emacsorphanage/key-chord/issues/10

I can't tell where the bug occurs and for what reason so the reports are
duplicated until better judgement.

On Fri, Nov 10, 2023 at 7:58 PM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Everard Nisse <everard.nisse <at> gmail.com>
> > Date: Fri, 10 Nov 2023 16:15:04 +0100
> >
> > With Flyspell mode enabled, key-chord combinations are ignored until
> Flyspell has finished marking
> > incorrect words, chord characters are typed instead.
> >
> > To reproduce
> >
> > 1 Install the key-chord package from MELPA
> > 2 M-: (key-chord-define-global "jk" "testing")
> > 3 key-chord-mode & flyspell-mode
> > 4 Type and quickly try to invoke the "jk" chord (press both keys at the
> same time)
> > 5 Result should be "testing" being inserted in the buffer but instead
> the chord is ignored and "jk" is
> >  typed
>
> Thanks, but why do you think this is a bug in Emacs and not in
> key-chord-mode?  Did you report this to the developers of
> key-chord-mode?
>
[Message part 2 (text/html, inline)]

Added tag(s) notabug. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 24 Dec 2023 20:16:01 GMT) Full text and rfc822 format available.

Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Sun, 24 Dec 2023 20:16:02 GMT) Full text and rfc822 format available.

Notification sent to Everard Nisse <everard.nisse <at> gmail.com>:
bug acknowledged by developer. (Sun, 24 Dec 2023 20:16:02 GMT) Full text and rfc822 format available.

Message #18 received at 67049-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Everard Nisse <everard.nisse <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 67049-done <at> debbugs.gnu.org
Subject: Re: bug#67049: Flyspell + Key-chord, chords are ignored while typing
 / spellchecking
Date: Sun, 24 Dec 2023 12:15:28 -0800
tags 67049 + notabug
thanks

Everard Nisse <everard.nisse <at> gmail.com> writes:

> On Fri, Nov 10, 2023 at 7:58 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
>> Thanks, but why do you think this is a bug in Emacs and not in
>> key-chord-mode?  Did you report this to the developers of
>> key-chord-mode?
>
> The package seems unmantained but there's a bug report at
> https://github.com/emacsorphanage/key-chord/issues/10
>
> I can't tell where the bug occurs and for what reason so the reports are
> duplicated until better judgement.

This does look more like a bug in key-chord than in Emacs itself, so I
recommend that someone interested investigates that first.  In
particular, the behavior that doesn't work is the one implemented by the
key-chord package.

I don't think there's much more we can do on our end until that work has
been done, so I'm closing this bug as "notabug" for now.  The tag
indicates our belief this is not a bug in Emacs itself (the bug seems to
be elsewhere, namely in key-chord).

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67049; Package emacs. (Fri, 12 Jan 2024 22:06:01 GMT) Full text and rfc822 format available.

Message #21 received at 67049 <at> debbugs.gnu.org (full text, mbox):

From: Everard Nisse <everard.nisse <at> gmail.com>
To: 67049 <at> debbugs.gnu.org
Subject: Re: bug#67049: closed (Re: bug#67049: Flyspell + Key-chord, chords
 are ignored while typing / spellchecking)
Date: Fri, 12 Jan 2024 23:05:11 +0100
[Message part 1 (text/plain, inline)]
> This does look more like a bug in key-chord than in Emacs itself

You are correct it seems, the bug was introduced in a recent version of
key-chord and had another related report.
At the time this didn't seem related, a lesson to read recent commits and
bug reports. Anyways, fixed in the package repo.

Thank you all for your time

On Sun, Dec 24, 2023 at 9:15 PM GNU bug Tracking System <
help-debbugs <at> gnu.org> wrote:

> Your bug report
>
> #67049: Flyspell + Key-chord, chords are ignored while typing /
> spellchecking
>
> which was filed against the emacs package, has been closed.
>
> The explanation is attached below, along with your original report.
> If you require more details, please reply to 67049 <at> debbugs.gnu.org.
>
> --
> 67049: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67049
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>
>
>
> ---------- Forwarded message ----------
> From: Stefan Kangas <stefankangas <at> gmail.com>
> To: Everard Nisse <everard.nisse <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>
> Cc: 67049-done <at> debbugs.gnu.org
> Bcc:
> Date: Sun, 24 Dec 2023 12:15:28 -0800
> Subject: Re: bug#67049: Flyspell + Key-chord, chords are ignored while
> typing / spellchecking
> tags 67049 + notabug
> thanks
>
> Everard Nisse <everard.nisse <at> gmail.com> writes:
>
> > On Fri, Nov 10, 2023 at 7:58 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> >> Thanks, but why do you think this is a bug in Emacs and not in
> >> key-chord-mode?  Did you report this to the developers of
> >> key-chord-mode?
> >
> > The package seems unmantained but there's a bug report at
> > https://github.com/emacsorphanage/key-chord/issues/10
> >
> > I can't tell where the bug occurs and for what reason so the reports are
> > duplicated until better judgement.
>
> This does look more like a bug in key-chord than in Emacs itself, so I
> recommend that someone interested investigates that first.  In
> particular, the behavior that doesn't work is the one implemented by the
> key-chord package.
>
> I don't think there's much more we can do on our end until that work has
> been done, so I'm closing this bug as "notabug" for now.  The tag
> indicates our belief this is not a bug in Emacs itself (the bug seems to
> be elsewhere, namely in key-chord).
>
> Thanks.
>
>
>
>
> ---------- Forwarded message ----------
> From: Everard Nisse <everard.nisse <at> gmail.com>
> To: bug-gnu-emacs <at> gnu.org
> Cc:
> Bcc:
> Date: Fri, 10 Nov 2023 16:15:04 +0100
> Subject: Flyspell + Key-chord, chords are ignored while typing /
> spellchecking
> With Flyspell mode enabled, key-chord combinations are ignored until
> Flyspell has finished marking incorrect words, chord characters are typed
> instead.
>
> To reproduce
>
>    1. Install the key-chord package from MELPA
>    2. M-: (key-chord-define-global "jk" "testing")
>    3. key-chord-mode & flyspell-mode
>    4. Type and quickly try to invoke the "jk" chord (press both keys at
>    the same time)
>    5. Result should be "testing" being inserted in the buffer but instead
>    the chord is ignored and "jk" is typed
>
> Workarounds to resume chord recognition:
>
>    1. Waiting a few moments until Flypsell finishes marking incorrect
>    words
>    2. Issuing C-g quickly after typing (does mark incorrect words)
>    3. Pressing Space, Delete or typing numbers/symbols
>
> Reproduced on v30.0.50 native-comp with no other configuration present via
> "$ env HOME=testing emacs".
> If anyone has ideas on code that can be blamed or further debug steps,
> please let me know.
>
> Cheers,
> ENisse
>
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Feb 2024 12:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.