From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#42110: Whitespace Newline Face Doesn't Disappear Date: Sun, 28 Jun 2020 19:08:58 +0100 Message-ID: References: <87r1tz5f4r.fsf@tcd.ie> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b4e79805a928d659" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="66202"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Robin , 42110@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 28 20:10:11 2020 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 1jpbkn-000H4Y-Vj for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Jun 2020 20:10:10 +0200 Original-Received: from localhost ([::1]:47472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpbkm-0000aL-U9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Jun 2020 14:10:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpbkg-0000aE-Fl for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 14:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpbkg-0003uQ-5B for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 14:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jpbkf-0001Yl-VY for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 14:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jun 2020 18:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42110 X-GNU-PR-Package: emacs Original-Received: via spool by 42110-submit@debbugs.gnu.org id=B42110.15933677585934 (code B ref 42110); Sun, 28 Jun 2020 18:10:01 +0000 Original-Received: (at 42110) by debbugs.gnu.org; 28 Jun 2020 18:09:18 +0000 Original-Received: from localhost ([127.0.0.1]:46890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpbjy-0001Xe-EI for submit@debbugs.gnu.org; Sun, 28 Jun 2020 14:09:18 -0400 Original-Received: from mail-ot1-f67.google.com ([209.85.210.67]:41254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpbjv-0001XN-6Y for 42110@debbugs.gnu.org; Sun, 28 Jun 2020 14:09:17 -0400 Original-Received: by mail-ot1-f67.google.com with SMTP id k15so13420132otp.8 for <42110@debbugs.gnu.org>; Sun, 28 Jun 2020 11:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9IUl7UB5/3403mF9ud65HZPD8+VqxAvdtQbOpUpkqow=; b=jDSB1LhUMGoUr7Jz80kMpJx7RwwLTH95W2qCzee6eeQTBOwWcZOj+kUiNSB3CKEaU9 PoaQve3km4k+L2aB8pRmiynjHTT7UYgt2WcgXNc14qkqmPrhQivTp+n/UtiAQl0lUAZ3 Ox+Ey96RhAYMX0bB2l0ht/jZCMM4IuR2/y9lk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9IUl7UB5/3403mF9ud65HZPD8+VqxAvdtQbOpUpkqow=; b=kjD0IQ6sExubk1LhmNyvbnXDwviWIQe3zock9+W6G4aS/YJebnh+3GIf88dWXyAM7h cvX1BsD7L7XY+yGMSWbCzSThBfVgFI5ForxDPnFGkL7MVgxsJzfyt5xeta/lGNipU5xd S+KTJKRSlm+PrT+l9tmb7VNyzD1lXoIaeZEHTdlvcuV7eesyF+bEaF2e3Rh7nOhCuKJA viudSLbq9jJO/zeDHNnhDXt6bGtkgeI0YsrBB+0ovYyI/3wHIKaA2lCHjJg0gizTLpm8 gN4sJVjCJtA3a91r75GdVEajULfQxOwNg1Lzd1Osy1DtOre+cYFuLg3iL54tN0+9cl7k jEog== X-Gm-Message-State: AOAM533hqdNFSb2R1LpXPFnbCLcqNEfDqjfLTNsQ3o4C2CAeJd9Ku8Pn 9h7zrN0W4OOBS2h2jwKhVJzMtiAHmAu22q9ahserkg== X-Google-Smtp-Source: ABdhPJz+MAIZj79+QP5mMyhV1FLjUwDA/aCmhRT7CaAprKBhF6HfXSDnGFWkTOQCfVDHVWq0MFi9ekzEjaJspkekvSo= X-Received: by 2002:a9d:58c4:: with SMTP id s4mr10268375oth.76.1593367749513; Sun, 28 Jun 2020 11:09:09 -0700 (PDT) In-Reply-To: <87r1tz5f4r.fsf@tcd.ie> 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" Xref: news.gmane.io gmane.emacs.bugs:182478 Archived-At: --000000000000b4e79805a928d659 Content-Type: text/plain; charset="UTF-8" On Sun, 28 Jun 2020 at 17:28, Basil L. Contovounesios wrote: > found 37467 25.3 > forcemerge 37467 42110 > quit > > > From: Robin Choudhury > > To: bug-gnu-emacs@gnu.org > > Subject: 26.3; Whitespace Newline Face Doesn't Disappear > > ----- > > > > When typing at the bottom of a document, a newline is inserted. An > > additional newline is then inserted. Upon insertion, a face higlights > > the first newline's emptiness. Typing in the second newline should make > > this face disappear. However, it remains. > > Thanks, I can reproduce this in Emacs versions 25.3-28 inclusive, but > not in 24.5. I think this is a duplicate of bug#37467, and sounds like > it might be related/due to bug#24745; CCing Reuben. > Sorry, I had a look at this and can see how it is related to the bug I fixed, but can't see how, before the fix, the unhighlighting would have happened, i.e. how space highlighted at the end of the document would have been unhighlighted after inserting characters at EOB. I suppose that would be the logic in the function whitespace-empty-at-eob-regexp? I don't understand how regions are un-highlighted in this mode/in font-lock, though. -- https://rrt.sc3d.org --000000000000b4e79805a928d659 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, 28 Jun 2020 at 17:28, Basil L. Contovounesios <contovob@tcd.ie> wrote:
found 37467 25.3<= br> forcemerge 37467 42110
quit

> From: Robin Choudhury <robin_choudhury1@protonmail.com>
> To: bug-gnu= -emacs@gnu.org
> Subject: 26.3; Whitespace Newline Face Doesn't Disappear
> -----
>
> When typing at the bottom of a document, a newline is inserted. An
> additional newline is then inserted. Upon insertion, a face higlights<= br> > the first newline's emptiness. Typing in the second newline should= make
> this face disappear. However, it remains.

Thanks, I can reproduce this in Emacs versions 25.3-28 inclusive, but
not in 24.5.=C2=A0 I think this is a duplicate of bug#37467, and sounds lik= e
it might be related/due to bug#24745; CCing Reuben.
Sorry, I had a look at this and can see how= it is related to the bug I fixed, but can't see how, before the fix, t= he unhighlighting would have happened, i.e. how space highlighted at the en= d of the document would have been unhighlighted after inserting characters = at EOB.

I suppose that= would be the logic in the function whitespace-empty-at-eob-regexp? I don&#= 39;t understand how regions are un-highlighted in this mode/in font-lock, t= hough.

--
--000000000000b4e79805a928d659--