From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64075: 28.2; ispell broken on uncolored terminals Date: Thu, 15 Jun 2023 08:23:19 +0300 Message-ID: <837cs5uwmw.fsf@gnu.org> References: <42ff58c7e8e4095a1f34@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38490"; mail-complaints-to="usenet@ciao.gmane.io" Cc: al@petrofsky.org, 64075@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 15 07:24:28 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 1q9fT9-0009my-B6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jun 2023 07:24:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9fSr-0001D7-3c; Thu, 15 Jun 2023 01:24:09 -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 1q9fSm-0001Cj-1r for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2023 01:24:05 -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 1q9fSj-0006gs-Qu for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2023 01:24:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9fSj-0005rn-Mp for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2023 01:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jun 2023 05:24: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.168680658422487 (code B ref 64075); Thu, 15 Jun 2023 05:24:01 +0000 Original-Received: (at 64075) by debbugs.gnu.org; 15 Jun 2023 05:23:04 +0000 Original-Received: from localhost ([127.0.0.1]:45932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9fRo-0005qd-BH for submit@debbugs.gnu.org; Thu, 15 Jun 2023 01:23:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9fRm-0005pv-NA for 64075@debbugs.gnu.org; Thu, 15 Jun 2023 01:23:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9fRh-0006bs-3P; Thu, 15 Jun 2023 01:22:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=dztRtTesPd5bhi6TVBfkrPrcItPiQks0XInbOIAjWTM=; b=QjtjVcSTkMcuM5nFzs36 0mB6qYUkRiFaQe/ijx7LzYtxUYF3/HOaBMbINkw4CHvwE5N4ayZ9ubTufxZttghAMrWUGB7hndxkH ilTjihcQBZJkumHLBzzgaH1maT5ruUJMfNP9PdTiKGQakyU9Vc+V486oyAgPYWw0W4Zcu459esl36 MknBDRhPJ1SskEHikFTqeywF5JJqMRXzWsYoObPHSxpGwAzeqEpEi5ucs4wG3ja1iCPVbxTAs3aUl 6KhqXRJxa/4R/jzWopsZ1aWrHDOH5AdxoyRUJ63nnBwreCw2rSOd4B6+wUYmU8T72LHHF0ZgZ2TX+ 27P5kq3ybU6Wog==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9fRg-0008UV-Jt; Thu, 15 Jun 2023 01:22:56 -0400 In-Reply-To: <42ff58c7e8e4095a1f34@heytings.org> (message from Gregory Heytings on Wed, 14 Jun 2023 23:25:10 +0000) 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:263393 Archived-At: > Cc: 64075@debbugs.gnu.org > Date: Wed, 14 Jun 2023 23:25:10 +0000 > From: Gregory Heytings > > > 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.