unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67049: Flyspell + Key-chord, chords are ignored while typing / spellchecking
@ 2023-11-10 15:15 Everard Nisse
  2023-11-10 18:58 ` Eli Zaretskii
       [not found] ` <handler.67049.D67049.17034489442555.notifdone@debbugs.gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Everard Nisse @ 2023-11-10 15:15 UTC (permalink / raw)
  To: 67049

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1337 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#67049: Flyspell + Key-chord, chords are ignored while typing / spellchecking
  2023-11-10 15:15 bug#67049: Flyspell + Key-chord, chords are ignored while typing / spellchecking Everard Nisse
@ 2023-11-10 18:58 ` Eli Zaretskii
  2023-11-10 19:16   ` Everard Nisse
       [not found] ` <handler.67049.D67049.17034489442555.notifdone@debbugs.gnu.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2023-11-10 18:58 UTC (permalink / raw)
  To: Everard Nisse; +Cc: 67049

> From: Everard Nisse <everard.nisse@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?





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#67049: Flyspell + Key-chord, chords are ignored while typing / spellchecking
  2023-11-10 18:58 ` Eli Zaretskii
@ 2023-11-10 19:16   ` Everard Nisse
  2023-12-24 20:15     ` Stefan Kangas
  0 siblings, 1 reply; 5+ messages in thread
From: Everard Nisse @ 2023-11-10 19:16 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 67049

[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]

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@gnu.org> wrote:

> > From: Everard Nisse <everard.nisse@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?
>

[-- Attachment #2: Type: text/html, Size: 1673 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#67049: Flyspell + Key-chord, chords are ignored while typing / spellchecking
  2023-11-10 19:16   ` Everard Nisse
@ 2023-12-24 20:15     ` Stefan Kangas
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Kangas @ 2023-12-24 20:15 UTC (permalink / raw)
  To: Everard Nisse, Eli Zaretskii; +Cc: 67049-done

tags 67049 + notabug
thanks

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

> On Fri, Nov 10, 2023 at 7:58 PM Eli Zaretskii <eliz@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#67049: closed (Re: bug#67049: Flyspell + Key-chord, chords are ignored while typing / spellchecking)
       [not found] ` <handler.67049.D67049.17034489442555.notifdone@debbugs.gnu.org>
@ 2024-01-12 22:05   ` Everard Nisse
  0 siblings, 0 replies; 5+ messages in thread
From: Everard Nisse @ 2024-01-12 22:05 UTC (permalink / raw)
  To: 67049

[-- Attachment #1: Type: text/plain, Size: 3670 bytes --]

> 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@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@debbugs.gnu.org.
>
> --
> 67049: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67049
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
>
>
>
> ---------- Forwarded message ----------
> From: Stefan Kangas <stefankangas@gmail.com>
> To: Everard Nisse <everard.nisse@gmail.com>, Eli Zaretskii <eliz@gnu.org>
> Cc: 67049-done@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@gmail.com> writes:
>
> > On Fri, Nov 10, 2023 at 7:58 PM Eli Zaretskii <eliz@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@gmail.com>
> To: bug-gnu-emacs@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
>

[-- Attachment #2: Type: text/html, Size: 5324 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-12 22:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-10 15:15 bug#67049: Flyspell + Key-chord, chords are ignored while typing / spellchecking Everard Nisse
2023-11-10 18:58 ` Eli Zaretskii
2023-11-10 19:16   ` Everard Nisse
2023-12-24 20:15     ` Stefan Kangas
     [not found] ` <handler.67049.D67049.17034489442555.notifdone@debbugs.gnu.org>
2024-01-12 22:05   ` bug#67049: closed (Re: bug#67049: Flyspell + Key-chord, chords are ignored while typing / spellchecking) Everard Nisse

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).