From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#64075: 28.2; ispell broken on uncolored terminals Date: Wed, 14 Jun 2023 23:25:10 +0000 Message-ID: <42ff58c7e8e4095a1f34@heytings.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Zxj4QVJaPX" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3550"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64075@debbugs.gnu.org To: Al Petrofsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 15 01:26:20 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q9ZsZ-0000ep-OG for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jun 2023 01:26:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9ZsK-0001DE-1K; Wed, 14 Jun 2023 19:26:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9ZsI-0001Ci-Ew for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 19:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9ZsI-0006u5-0C for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 19:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9ZsH-00056K-SC for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 19:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Jun 2023 23:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64075 X-GNU-PR-Package: emacs Original-Received: via spool by 64075-submit@debbugs.gnu.org id=B64075.168678511519547 (code B ref 64075); Wed, 14 Jun 2023 23:26:01 +0000 Original-Received: (at 64075) by debbugs.gnu.org; 14 Jun 2023 23:25:15 +0000 Original-Received: from localhost ([127.0.0.1]:45779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9ZrW-00055D-L6 for submit@debbugs.gnu.org; Wed, 14 Jun 2023 19:25:14 -0400 Original-Received: from heytings.org ([95.142.160.155]:43874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9ZrU-000554-5m for 64075@debbugs.gnu.org; Wed, 14 Jun 2023 19:25:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1686785111; bh=YERgCEiHUL/BRLezc95Qp4QC6PPoU9yw/vwl7OfXXIg=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=gjz1eZyLV82y6k+jQgICTRIyXDaxR6co4wT8kwNtABgZ4XXQq5lWFkPt8Vd/WJkIr Z14CjWO5RUZP9+mcSsTk7OdsSxT/tt1HLhmjaJ/3oKX6VobO6FCNwkHI2r6FaBhmo3 NJwykj0gMWNc7IwNmX+xVPxD/BbtHx1yHWZMFrdfSCKlmB30/fNTefCrOnAgMNR7jr bh+Pjp6kCMlXoV1ALTB0puhWLBroY85PGNO6jlF/U72nnwOOIAmYsgzdbRt3re+jxc B50BDo/e3VWs+nD8A7nBuCwU8EQlGYs3tCKygskKgTm8torlXX8FaWdYrH/0FDYtf/ wM2Y/H7n6rw8A== In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263386 Archived-At: --Zxj4QVJaPX Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable >=20 > emacs-28.2 -Q -nw --color=3Dno > s t o n k s M-$ 1 > > At this point, I expect to see the word "stonks" replaced with "stocks",= =20 > but it is instead replaced with "stockstonks". >=20 > The problem seems to be in ispell-highlight-spelling-error-generic, a=20 > 20th-century kludge from before face support for ttys was added in=20 > emacs-21 in 2001.=C2=A0 It's been unnecessary since then, and it looks li= ke=20 > 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= =20 Emacs 29, in which "stonks" is indeed replaced with "stocks". --Zxj4QVJaPX--