GNU bug report logs - #62028
29.0.60; [elpa/jit-spell] Misspellings not updated

Previous Next

Package: emacs;

Reported by: Simen Heggestøyl <simenheg <at> runbox.com>

Date: Tue, 7 Mar 2023 07:45:01 UTC

Severity: normal

Found in version 29.0.60

To reply to this bug, email your comments to 62028 AT debbugs.gnu.org.

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#62028; Package emacs. (Tue, 07 Mar 2023 07:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simen Heggestøyl <simenheg <at> runbox.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 07 Mar 2023 07:45:01 GMT) Full text and rfc822 format available.

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

From: Simen Heggestøyl <simenheg <at> runbox.com>
To: Augusto Stoffel <arstoffel <at> gmail.com>
Cc: bug-gnu-emacs <at> gnu.org
Subject: 29.0.60; [elpa/jit-spell] Misspellings not updated
Date: Tue, 07 Mar 2023 08:44:05 +0100
Hi Augusto, thanks for writing this nice package. It works very well in
my usage so far, except for this one issue as described below.

1. Visit a buffer and turn `jit-spell-mode' on.

2. Move point to a misspelling and type `M-$ i' to insert the word in
   the dictionary.

3. `M-$ i' now correctly reports that the word is spelled correctly
   according to the dictionary, but the misspell marking from jit-spell
   is still present.

Killing the buffer and visiting the file anew doesn't fix the issue, but
restarting Emacs does. It would be very nice if jit-spell could update
the marking the fly in these cases without the need to restart Emacs.

-- Simen




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62028; Package emacs. (Tue, 07 Mar 2023 14:03:02 GMT) Full text and rfc822 format available.

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

From: Augusto Stoffel <arstoffel <at> gmail.com>
To: Simen Heggestøyl <simenheg <at> runbox.com>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: 29.0.60; [elpa/jit-spell] Misspellings not updated
Date: Tue, 07 Mar 2023 15:02:48 +0100
On Tue,  7 Mar 2023 at 08:44, Simen Heggestøyl wrote:

> Hi Augusto, thanks for writing this nice package. It works very well in
> my usage so far, except for this one issue as described below.
>
> 1. Visit a buffer and turn `jit-spell-mode' on.
>
> 2. Move point to a misspelling and type `M-$ i' to insert the word in
>    the dictionary.
>
> 3. `M-$ i' now correctly reports that the word is spelled correctly
>    according to the dictionary, but the misspell marking from jit-spell
>    is still present.
>
> Killing the buffer and visiting the file anew doesn't fix the issue, but
> restarting Emacs does. It would be very nice if jit-spell could update
> the marking the fly in these cases without the need to restart Emacs.

Yes, this happens because jit-spell and the built in ispell commands
don't share their subprocesses.  I'll look for a solution.

PS: I think the `ispell-buffer' an related commands are still relevant,
but if you just want to correct one word, `jit-spell-correct-word' is
probably a better tool.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#62028; Package emacs. (Tue, 07 Mar 2023 14:16:02 GMT) Full text and rfc822 format available.

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

From: Ruijie Yu <ruijie <at> netyu.xyz>
To: Augusto Stoffel <arstoffel <at> gmail.com>
Cc: Simen Heggestøyl <simenheg <at> runbox.com>,
 62028 <at> debbugs.gnu.org
Subject: Re: bug#62028: 29.0.60; [elpa/jit-spell] Misspellings not updated
Date: Tue, 07 Mar 2023 22:13:34 +0800
Augusto Stoffel <arstoffel <at> gmail.com> writes:

> [...]
>> 1. Visit a buffer and turn `jit-spell-mode' on.
>>
>> 2. Move point to a misspelling and type `M-$ i' to insert the word in
>>    the dictionary.
>>
> [...]
> PS: I think the `ispell-buffer' an related commands are still relevant,
> but if you just want to correct one word, `jit-spell-correct-word' is
> probably a better tool.

In this case, does it make sense to remap `ispell-word' to
`jit-spell-correct-word' in the minor mode?  Haven't used your package,
but it sounds like a drop-in replacement for vanilla `ispell-word'.

--
Best,


RY




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

Previous Next


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