unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* the different faces of ispell
@ 2022-04-08 16:33 Emanuel Berg via Users list for the GNU Emacs text editor
  2022-04-13  2:17 ` Michael Heerdegen
  0 siblings, 1 reply; 3+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2022-04-08 16:33 UTC (permalink / raw)
  To: help-gnu-emacs

Type damnness (that's not a word) and use ispell; it will be
highlighted with the face `isearch'.

But type damnness again, as I just did, and use ispell again
and the isearch face highlight will appear, but so will
another face for the other occurence of the same, uhm, well,
it's still not a word.

In addition to the familiar isearch face, there are

  isearch-fail
  isearch-group-1
  isearch-group-2

but none of them are the correct, other face.

And since ispell interrupts/blocks normal interactivity with
its interface, I cant find out what face it is from the
buffer. Or if I can, I don't know how

Anyone knows what face it is?

-- 
underground experts united
https://dataswamp.org/~incal




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

* Re: the different faces of ispell
  2022-04-08 16:33 the different faces of ispell Emanuel Berg via Users list for the GNU Emacs text editor
@ 2022-04-13  2:17 ` Michael Heerdegen
  2022-04-13  3:10   ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Heerdegen @ 2022-04-13  2:17 UTC (permalink / raw)
  To: help-gnu-emacs

Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> Type damnness (that's not a word) and use ispell; it will be
> highlighted with the face `isearch'.
>
> But type damnness again, as I just did, and use ispell again
> and the isearch face highlight will appear, but so will
> another face for the other occurence of the same, uhm, well,
> it's still not a word.
>
> In addition to the familiar isearch face, there are
>
>   isearch-fail
>   isearch-group-1
>   isearch-group-2
>
> but none of them are the correct, other face.
>
> And since ispell interrupts/blocks normal interactivity with
> its interface, I cant find out what face it is from the
> buffer. Or if I can, I don't know how

Put a `(debug)` before the event reading loop in `ispell-command-loop'.
Then you can inspect the (already attached) faces.

Seems to be the `lazy-highlight` face.

Michael.



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

* Re: the different faces of ispell
  2022-04-13  2:17 ` Michael Heerdegen
@ 2022-04-13  3:10   ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; 3+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2022-04-13  3:10 UTC (permalink / raw)
  To: help-gnu-emacs

Michael Heerdegen wrote:

> Put a `(debug)` before the event reading loop in
> `ispell-command-loop'. Then you can inspect the (already
> attached) faces.

Interesting ...

> Seems to be the `lazy-highlight` face.

King, thanks!

-- 
underground experts united
https://dataswamp.org/~incal




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

end of thread, other threads:[~2022-04-13  3:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-08 16:33 the different faces of ispell Emanuel Berg via Users list for the GNU Emacs text editor
2022-04-13  2:17 ` Michael Heerdegen
2022-04-13  3:10   ` Emanuel Berg via Users list for the GNU Emacs text editor

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