unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64075: 28.2; ispell broken on uncolored terminals
@ 2023-06-14 23:13 Al Petrofsky
  2023-06-14 23:25 ` Gregory Heytings
  0 siblings, 1 reply; 9+ messages in thread
From: Al Petrofsky @ 2023-06-14 23:13 UTC (permalink / raw)
  To: 64075

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

   emacs-28.2 -Q -nw --color=no
   s t o n k s M-$ 1

At this point, I expect to see the word "stonks" replaced with
"stocks", but it is instead replaced with "stockstonks".

The problem seems to be in ispell-highlight-spelling-error-generic, a
20th-century kludge from before face support for ttys was added in
emacs-21 in 2001.  It's been unnecessary since then, and it looks like
it's been breaking ispell on colorless ttys since at least emacs-23.

Changing "(display-color-p)" to "t" in ispell-highlight-spelling-error
suffices to fix the bug.

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

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

end of thread, other threads:[~2023-06-16  6:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-14 23:13 bug#64075: 28.2; ispell broken on uncolored terminals Al Petrofsky
2023-06-14 23:25 ` Gregory Heytings
2023-06-14 23:48   ` Al Petrofsky
2023-06-15  5:36     ` Eli Zaretskii
2023-06-15  6:34       ` Al Petrofsky
2023-06-15  7:48         ` Eli Zaretskii
2023-06-15 23:19           ` Al Petrofsky
2023-06-16  6:27             ` Eli Zaretskii
2023-06-15  5:23   ` Eli Zaretskii

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