all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#50776: add "ispell show where we looked" command
@ 2021-09-24 13:20 積丹尼 Dan Jacobson
  2021-09-24 13:41 ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-09-24 13:20 UTC (permalink / raw)
  To: 50776

Regarding

     ispell-help is an autoloaded compiled Lisp function in ‘ispell.el’.

     (ispell-help)

     Display a list of the options available when a misspelling is encountered.

     Selections are:

     DIGIT: Replace the word with a digit offered in the *Choices* buffer.
     SPC:   Accept word this time.
     ‘i’:   Accept word and insert into private dictionary.
     ‘a’:   Accept word for this session.
     ‘A’:   Accept word and place in ‘buffer-local dictionary’.
     ‘r’:   Replace word with typed-in value.  Rechecked.
     ‘R’:   Replace word with typed-in value.  Query-replaced in buffer.  Rechecked.
     ‘?’:   Show these commands.
     ‘x’:   Exit spelling buffer.  Move cursor to original point.
     ‘X’:   Exit spelling buffer.  Leaves cursor at the current point, and permits
             the aborted check to be completed later.
     ‘q’:   Quit spelling session (Kills ispell process).
     ‘l’:   Look up typed-in replacement in alternate dictionary.  Wildcards okay.
     ‘u’:   Like ‘i’, but the word is lower-cased first.
     ‘m’:   Place typed-in value in personal dictionary, then recheck current word.
     ‘C-l’:  Redraw screen.
     ‘C-r’:  Recursive edit.
     ‘C-z’:  Suspend Emacs or iconify frame.

Please add one more:
Show all the dictionaries that were checked when looking for (and not
finding) the word.

That way one could figure out why e.g., "jitter" is misspelled in emacs,
but not in the shell's ispell.

Sure, there are various alists, but we want to see where it really looked.





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

* bug#50776: add "ispell show where we looked" command
  2021-09-24 13:20 bug#50776: add "ispell show where we looked" command 積丹尼 Dan Jacobson
@ 2021-09-24 13:41 ` Eli Zaretskii
  2021-09-24 13:54   ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2021-09-24 13:41 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 50776

> From: 積丹尼 Dan Jacobson
>  <jidanni@jidanni.org>
> Date: Fri, 24 Sep 2021 21:20:39 +0800
> 
> Please add one more:
> Show all the dictionaries that were checked when looking for (and not
> finding) the word.
> 
> That way one could figure out why e.g., "jitter" is misspelled in emacs,
> but not in the shell's ispell.
> 
> Sure, there are various alists, but we want to see where it really looked.

I don't understand: there's only one dictionary, the current one.





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

* bug#50776: add "ispell show where we looked" command
  2021-09-24 13:41 ` Eli Zaretskii
@ 2021-09-24 13:54   ` 積丹尼 Dan Jacobson
  2021-09-24 14:04     ` Eli Zaretskii
  2021-09-24 15:36     ` Juri Linkov
  0 siblings, 2 replies; 11+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-09-24 13:54 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50776

>>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
EZ> I don't understand: there's only one dictionary, the current one.

That's great to know.

So it the new key press should say:
Checked for "jitter" and didn't find it in
1. /usr/..../bla

That way we can be sure.





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

* bug#50776: add "ispell show where we looked" command
  2021-09-24 13:54   ` 積丹尼 Dan Jacobson
@ 2021-09-24 14:04     ` Eli Zaretskii
  2021-09-24 14:32       ` 積丹尼 Dan Jacobson
  2021-09-25  2:08       ` 積丹尼 Dan Jacobson
  2021-09-24 15:36     ` Juri Linkov
  1 sibling, 2 replies; 11+ messages in thread
From: Eli Zaretskii @ 2021-09-24 14:04 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 50776

> From: 積丹尼 Dan Jacobson <jidanni@jidanni.org>
> Cc: 50776@debbugs.gnu.org
> Date: Fri, 24 Sep 2021 21:54:47 +0800
> 
> >>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
> EZ> I don't understand: there's only one dictionary, the current one.
> 
> That's great to know.
> 
> So it the new key press should say:
> Checked for "jitter" and didn't find it in
> 1. /usr/..../bla
> 
> That way we can be sure.

You are saying that the user who turns on spell-checking has no idea
which dictionary (actually, which language) he/she is using?





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

* bug#50776: add "ispell show where we looked" command
  2021-09-24 14:04     ` Eli Zaretskii
@ 2021-09-24 14:32       ` 積丹尼 Dan Jacobson
  2021-09-24 16:00         ` Eli Zaretskii
  2021-09-25  2:08       ` 積丹尼 Dan Jacobson
  1 sibling, 1 reply; 11+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-09-24 14:32 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50776

EZ> You are saying that the user who turns on spell-checking has no idea
EZ> which dictionary (actually, which language) he/she is using?

Yup. An average system has tons of dictionaries and tons of spelling
commands (within and without emacs,) so without an "strace" it is hard
to know which is using which.





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

* bug#50776: add "ispell show where we looked" command
  2021-09-24 13:54   ` 積丹尼 Dan Jacobson
  2021-09-24 14:04     ` Eli Zaretskii
@ 2021-09-24 15:36     ` Juri Linkov
  2021-09-25  2:18       ` Lars Ingebrigtsen
  2021-09-25  6:00       ` 積丹尼 Dan Jacobson
  1 sibling, 2 replies; 11+ messages in thread
From: Juri Linkov @ 2021-09-24 15:36 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 50776

> So it the new key press should say:
> Checked for "jitter" and didn't find it in
> 1. /usr/..../bla

`ispell-region' displays such message:

  Spell-checking region using hunspell with klingon dictionary...

So `?' for `ispell-word' could do the same.





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

* bug#50776: add "ispell show where we looked" command
  2021-09-24 14:32       ` 積丹尼 Dan Jacobson
@ 2021-09-24 16:00         ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2021-09-24 16:00 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 50776

> From: 積丹尼 Dan Jacobson <jidanni@jidanni.org>
> Cc: 50776@debbugs.gnu.org
> Date: Fri, 24 Sep 2021 22:32:43 +0800
> 
> EZ> You are saying that the user who turns on spell-checking has no idea
> EZ> which dictionary (actually, which language) he/she is using?
> 
> Yup. An average system has tons of dictionaries and tons of spelling
> commands (within and without emacs,) so without an "strace" it is hard
> to know which is using which.

But then how do you know that spell-checking even makes sense?  If you
are spell-checking English text with a French or Japanese or Chinese
dictionary, why would you expect anything useful to come out of that?





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

* bug#50776: add "ispell show where we looked" command
  2021-09-24 14:04     ` Eli Zaretskii
  2021-09-24 14:32       ` 積丹尼 Dan Jacobson
@ 2021-09-25  2:08       ` 積丹尼 Dan Jacobson
  1 sibling, 0 replies; 11+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-09-25  2:08 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50776

Sort of like how C-u C-x = will show one the font used,
    x:-eten-fixed-medium-r-normal--16-150-75-75-c-160-big5.eten-0 (#xBF6E)
So I would like a way to have it show the dictionary(s) used.





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

* bug#50776: add "ispell show where we looked" command
  2021-09-24 15:36     ` Juri Linkov
@ 2021-09-25  2:18       ` Lars Ingebrigtsen
  2022-08-26 12:52         ` Lars Ingebrigtsen
  2021-09-25  6:00       ` 積丹尼 Dan Jacobson
  1 sibling, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-25  2:18 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 50776, 積丹尼 Dan Jacobson

Juri Linkov <juri@linkov.net> writes:

> `ispell-region' displays such message:
>
>   Spell-checking region using hunspell with klingon dictionary...
>
> So `?' for `ispell-word' could do the same.

The three help lines it displays as already are pretty jam-packed...  I
don't see any obvious place to squeeze that information in without
making it a four-line help, and I'm not sure that would be helpful.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#50776: add "ispell show where we looked" command
  2021-09-24 15:36     ` Juri Linkov
  2021-09-25  2:18       ` Lars Ingebrigtsen
@ 2021-09-25  6:00       ` 積丹尼 Dan Jacobson
  1 sibling, 0 replies; 11+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-09-25  6:00 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 50776

Anyway, user notices emacs says "jitter" is a misspelling.
There should be an easy way to report that it is not a misspelling,
so that others won't encounter the problem.
So maybe an ispell-report-non-problem-word function.





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

* bug#50776: add "ispell show where we looked" command
  2021-09-25  2:18       ` Lars Ingebrigtsen
@ 2022-08-26 12:52         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 11+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-26 12:52 UTC (permalink / raw)
  To: Juri Linkov; +Cc: Eli Zaretskii, 50776, 積丹尼 Dan Jacobson

Lars Ingebrigtsen <larsi@gnus.org> writes:

> The three help lines it displays as already are pretty jam-packed...  I
> don't see any obvious place to squeeze that information in without
> making it a four-line help, and I'm not sure that would be helpful.

So I think the conclusion here is that we don't want to add this
information, and I'm therefore closing this bug report.





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

end of thread, other threads:[~2022-08-26 12:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-24 13:20 bug#50776: add "ispell show where we looked" command 積丹尼 Dan Jacobson
2021-09-24 13:41 ` Eli Zaretskii
2021-09-24 13:54   ` 積丹尼 Dan Jacobson
2021-09-24 14:04     ` Eli Zaretskii
2021-09-24 14:32       ` 積丹尼 Dan Jacobson
2021-09-24 16:00         ` Eli Zaretskii
2021-09-25  2:08       ` 積丹尼 Dan Jacobson
2021-09-24 15:36     ` Juri Linkov
2021-09-25  2:18       ` Lars Ingebrigtsen
2022-08-26 12:52         ` Lars Ingebrigtsen
2021-09-25  6:00       ` 積丹尼 Dan Jacobson

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.