unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Gregory Heytings <gregory@heytings.org>
Cc: al@petrofsky.org, 64075@debbugs.gnu.org
Subject: bug#64075: 28.2; ispell broken on uncolored terminals
Date: Thu, 15 Jun 2023 08:23:19 +0300	[thread overview]
Message-ID: <837cs5uwmw.fsf@gnu.org> (raw)
In-Reply-To: <42ff58c7e8e4095a1f34@heytings.org> (message from Gregory Heytings on Wed, 14 Jun 2023 23:25:10 +0000)

> Cc: 64075@debbugs.gnu.org
> Date: Wed, 14 Jun 2023 23:25:10 +0000
> From: Gregory Heytings <gregory@heytings.org>
> 
> > 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.
> >
> 
> This recipe can be reproduced with Emacs 25, 26, 27 and 28... but not with 
> Emacs 29, in which "stonks" is indeed replaced with "stocks".

Yes, see bug#56219.





      parent reply	other threads:[~2023-06-15  5:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837cs5uwmw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64075@debbugs.gnu.org \
    --cc=al@petrofsky.org \
    --cc=gregory@heytings.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).