help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Appropriate use of global-whitespace-mode and whitespace-mode


From: tomas
Subject: Re: Appropriate use of global-whitespace-mode and whitespace-mode
Date: Wed, 27 Nov 2024 14:42:36 +0100

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]