From: Richard Stallman <rms@gnu.org>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: whitespace.el does not seem to delete its overlays
Date: Sun, 10 Apr 2005 21:56:26 -0400 [thread overview]
Message-ID: <E1DKoA6-0000oC-4c@fencepost.gnu.org> (raw)
In-Reply-To: <1176.194.95.226.87.1113134685.squirrel@wwws.franken.de> (stahl@eos.franken.de)
I was used to the old behavior showing all the "wrong"
whitespaces not just the last one.
Now I understand what you want it to do.
Does this replacement function make it work right?
(defun whitespace-highlight-the-space (b e)
"Highlight the current line, unhighlighting a previously jumped to line."
(if whitespace-display-spaces-in-color
(let ((ol (whitespace-make-overlay b e)))
(push ol whitespace-highlighted-space)
(whitespace-overlay-put ol 'face 'whitespace-highlight-face))))
next prev parent reply other threads:[~2005-04-11 1:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-08 13:43 whitespace.el does not seem to delete its overlays Stephan Stahl
2005-04-08 14:46 ` Stefan Monnier
2005-04-08 22:57 ` Stephan Stahl
2005-04-09 3:38 ` Richard Stallman
2005-04-09 8:05 ` Stephan Stahl
2005-04-10 1:55 ` Richard Stallman
2005-04-10 12:04 ` Stephan Stahl
2005-04-11 1:56 ` Richard Stallman [this message]
2005-04-11 6:13 ` Stephan Stahl
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=E1DKoA6-0000oC-4c@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).