unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: Robin <robin_choudhury1@protonmail.com>, 42110@debbugs.gnu.org
Subject: bug#42110: Whitespace Newline Face Doesn't Disappear
Date: Sun, 28 Jun 2020 19:08:58 +0100	[thread overview]
Message-ID: <CAOnWdogGj5nrj80TBu01pYMH_Kv7C0wcwO+kJMm0ry_FGwjt=A@mail.gmail.com> (raw)
In-Reply-To: <87r1tz5f4r.fsf@tcd.ie>

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

On Sun, 28 Jun 2020 at 17:28, Basil L. Contovounesios <contovob@tcd.ie>
wrote:

> found 37467 25.3
> 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
> > 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

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

  parent reply	other threads:[~2020-06-28 18:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-28 15:37 bug#42110: Whitespace Newline Face Doesn't Disappear Robin via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-06-28 16:28 ` Basil L. Contovounesios
     [not found]   ` <6DSVEaDOI_Q9I_GH8R12lTvRDtbDQ2-4su3haR_jnJeCf6nQ_xCHD0aXRdfwezFBOxGGpwpnfIUdXT-J8_5K_3T9ntDxRQKjFuRfxn9Lkso=@protonmail.com>
2020-06-28 17:21     ` Basil L. Contovounesios
2020-06-28 18:08   ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-09-20  5:30 bug#37467: 26.3; whitespace-mode doesn't update BOB/EOB highlights Dale Sedivec
2022-06-29 21:28 ` bug#37467: [PATCH] whitespace: Redo BoB/EoB empty line highlighting Richard Hansen
2022-09-11 11:46   ` bug#42110: Whitespace Newline Face Doesn't Disappear Lars Ingebrigtsen

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='CAOnWdogGj5nrj80TBu01pYMH_Kv7C0wcwO+kJMm0ry_FGwjt=A@mail.gmail.com' \
    --to=bug-gnu-emacs@gnu.org \
    --cc=42110@debbugs.gnu.org \
    --cc=contovob@tcd.ie \
    --cc=robin_choudhury1@protonmail.com \
    --cc=rrt@sc3d.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).