From: Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: tomas@tuxteam.de
Cc: Heime via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: Re: Appropriate use of global-whitespace-mode and whitespace-mode
Date: Wed, 27 Nov 2024 14:28:22 +0000 [thread overview]
Message-ID: <i9WmeOz-M5IFGhAhNXZAidrEE0gAi2fDu6II7Pg1tU_DloRzpNLOVfixZ-iNBjcZCwDPIc52_jm2F72AgkyqpXjsZ87C-I9p7Ye4aHbylRo=@protonmail.com> (raw)
In-Reply-To: <Z0chzM5sPybPruSH@tuxteam.de>
Sent with Proton Mail secure email.
On Thursday, November 28th, 2024 at 1:42 AM, tomas@tuxteam.de <tomas@tuxteam.de> wrote:
> On Wed, Nov 27, 2024 at 01:37:36PM +0000, Heime wrote:
>
> > Sent with Proton Mail secure email.
> >
> > On Thursday, November 28th, 2024 at 1:27 AM, tomas@tuxteam.de tomas@tuxteam.de wrote:
> >
> > > On Wed, Nov 27, 2024 at 01:24:35PM +0000, Heime wrote:
> > >
> > > > Sent with Proton Mail secure email.
> > > >
> > > > On Thursday, November 28th, 2024 at 1:12 AM, tomas@tuxteam.de tomas@tuxteam.de wrote:
> > > >
> > > > > On Wed, Nov 27, 2024 at 12:58:34PM +0000, Heime via Users list for the GNU Emacs text editor wrote:
> > > > >
> > > > > > What is the difference between global-whitespace-mode and whitespace-mode?
> > > > > > In what circumstances does one use one versus the other?
> > > > >
> > > > > Emacs documentation, "25.2 Minor Modes" says it better
> > > > > than I ever could.
> > > >
> > > > I do not know which emacs documentation you are referring to. I cannot
> > > > see mention of whitespace-mode and global-whitespace-mode.
> > >
> > > No, but about local vs global minor modes, of which yours is
> > > a special case.
> > >
> > > Besides, C-h a whitespace-mode gives another good explanation.
> >
> > I have some code with global-whitespace-mode
> >
> > (setq whitespace-style '(face tabs tab-mark trailing lines-char))
> >
> > Would this work for whitespace-mode? Or is whitespace-mode a completely
> > different program?
>
>
> What does C-h f whitespace-mode say? And what C-h f global-whitespace-mode?
> What do you see if you follow the source link in the above doc for
> global-whitespace-mode?
They both refer to the same file, and following whitespace.el, I see
global-whitespace-mode being defined. Answering my question.
next prev parent reply other threads:[~2024-11-27 14:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-27 12:58 Appropriate use of global-whitespace-mode and whitespace-mode Heime via Users list for the GNU Emacs text editor
2024-11-27 13:12 ` tomas
2024-11-27 13:24 ` Heime via Users list for the GNU Emacs text editor
2024-11-27 13:27 ` tomas
2024-11-27 13:37 ` Heime via Users list for the GNU Emacs text editor
2024-11-27 13:42 ` tomas
2024-11-27 14:28 ` Heime via Users list for the GNU Emacs text editor [this message]
2024-11-27 14:29 ` tomas
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='i9WmeOz-M5IFGhAhNXZAidrEE0gAi2fDu6II7Pg1tU_DloRzpNLOVfixZ-iNBjcZCwDPIc52_jm2F72AgkyqpXjsZ87C-I9p7Ye4aHbylRo=@protonmail.com' \
--to=help-gnu-emacs@gnu.org \
--cc=heimeborgia@protonmail.com \
--cc=tomas@tuxteam.de \
/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).