unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#62028: 29.0.60; [elpa/jit-spell] Misspellings not updated
@ 2023-03-07  7:44 Simen Heggestøyl
  2023-03-07 14:02 ` Augusto Stoffel
  0 siblings, 1 reply; 3+ messages in thread
From: Simen Heggestøyl @ 2023-03-07  7:44 UTC (permalink / raw)
  To: Augusto Stoffel; +Cc: 62028

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





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

* bug#62028: 29.0.60; [elpa/jit-spell] Misspellings not updated
  2023-03-07  7:44 bug#62028: 29.0.60; [elpa/jit-spell] Misspellings not updated Simen Heggestøyl
@ 2023-03-07 14:02 ` Augusto Stoffel
  2023-03-07 14:13   ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 3+ messages in thread
From: Augusto Stoffel @ 2023-03-07 14:02 UTC (permalink / raw)
  To: Simen Heggestøyl; +Cc: 62028

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.





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

* bug#62028: 29.0.60; [elpa/jit-spell] Misspellings not updated
  2023-03-07 14:02 ` Augusto Stoffel
@ 2023-03-07 14:13   ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 3+ messages in thread
From: Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-03-07 14:13 UTC (permalink / raw)
  To: Augusto Stoffel; +Cc: Simen Heggestøyl, 62028


Augusto Stoffel <arstoffel@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





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

end of thread, other threads:[~2023-03-07 14:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07  7:44 bug#62028: 29.0.60; [elpa/jit-spell] Misspellings not updated Simen Heggestøyl
2023-03-07 14:02 ` Augusto Stoffel
2023-03-07 14:13   ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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).