unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: whitespace-mode deactivated at end of line
Date: Thu, 09 Jun 2022 22:31:23 +0300	[thread overview]
Message-ID: <83ilp91vn8.fsf@gnu.org> (raw)
In-Reply-To: <2PI5UnjKu3Vi8Opqcglew9V3u1aV1d3boNyjJNYGDQZsDl6My_5-Sk9_0tbqEHkEHqipuVvpUSVmV3fxW0lKYJkVHGGvUc1Ll1tMoEhk0Es=@protonmail.com> (message from goncholden via Users list for the GNU Emacs text editor on Thu, 09 Jun 2022 18:22:36 +0000)

> Date: Thu, 09 Jun 2022 18:22:36 +0000
> From:  goncholden via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
> 
> I am visualising withspace with (global-whitespace-mode)
> 
> Trailing spaces are coloured in red, but when I put the cursor at the end of the line, the red whitespace
> background is being modified to black for a black theme.

The red background that highlights trailing whitespace disappears when
the cursor is at the end of such a line, and that's feature: if Emacs
didn't behave like that, each time you type a space at the end of a
line you'd get it highlighted in red, which is an annoyance when you
type.



  reply	other threads:[~2022-06-09 19:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-09 18:22 whitespace-mode deactivated at end of line goncholden via Users list for the GNU Emacs text editor
2022-06-09 19:31 ` Eli Zaretskii [this message]
2022-06-11  3:03   ` goncholden
2022-06-11  5:24   ` Emanuel Berg
2022-06-11  8:15     ` Eli Zaretskii
2022-06-11  8:34       ` goncholden
2022-06-11  9:07       ` Arash Esbati
2022-06-11  9:58         ` Eli Zaretskii
2022-06-12  8:58       ` Emanuel Berg

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=83ilp91vn8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.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.
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).