unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: tomas@tuxteam.de
To: Heime <heimeborgia@protonmail.com>
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:42:36 +0100	[thread overview]
Message-ID: <Z0chzM5sPybPruSH@tuxteam.de> (raw)
In-Reply-To: <6ROeqxUxXkS3xqZI3RN1DA21oLty4FZUlZnP89pzuZTRcuKaOinxnwDYkhQehRpM-QakxEShoqIC963sJn8KDQ17J5OuC_qTzVpN2z5cPl4=@protonmail.com>

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

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?

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2024-11-27 13:42 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 [this message]
2024-11-27 14:28           ` Heime via Users list for the GNU Emacs text editor
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=Z0chzM5sPybPruSH@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=heimeborgia@protonmail.com \
    --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).