From: goncholden via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 55881@debbugs.gnu.org
Subject: bug#55881: Request: Use of face for whitespace-style
Date: Fri, 10 Jun 2022 18:16:11 +0000 [thread overview]
Message-ID: <ELXOiOhu_JlvpjnnxJ_xarEUMAgQnPloxPkz5Bz_GhybHLfLkUAQ336WdRlIM3Egm97ppB78KFlvYzRiakg1B9GdHVKM0O-gvr2xWJCN98g=@protonmail.com> (raw)
In-Reply-To: <87ilp8vobk.fsf@gnus.org>
------- Original Message -------
On Friday, June 10th, 2022 at 9:51 PM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> goncholden goncholden@protonmail.com writes:
>
> > Because tab-mark, tabs, trailing, etc ... work via faces, could the requirement for
> > faces declaration be removed from whitespace-style?
> >
> > In summary, from
> >
> > (setq whitespace-style '(face tab-mark tabs trailing))
> >
> > to
> >
> > (setq whitespace-style '(tab-mark tabs trailing))
>
>
> No. As the doc string says:
>
> ---
> One reason to not use faces to visualize spaces (i.e., not
> include `face' in` whitespace-style') is to use `whitespace-mode' only for cleaning up a buffer. See` whitespace-cleanup' and
> `whitespace-cleanup-region'.
> ---
Could whitespace-cleanup and whitespace-cleanup-region decide by themselves what they have to do?
> Closing.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
>
prev parent reply other threads:[~2022-06-10 18:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-10 4:12 bug#55881: Request: Use of face for whitespace-style goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-10 9:51 ` Lars Ingebrigtsen
2022-06-10 18:16 ` goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
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='ELXOiOhu_JlvpjnnxJ_xarEUMAgQnPloxPkz5Bz_GhybHLfLkUAQ336WdRlIM3Egm97ppB78KFlvYzRiakg1B9GdHVKM0O-gvr2xWJCN98g=@protonmail.com' \
--to=bug-gnu-emacs@gnu.org \
--cc=55881@debbugs.gnu.org \
--cc=goncholden@protonmail.com \
--cc=larsi@gnus.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).