* Appropriate use of global-whitespace-mode and whitespace-mode
@ 2024-11-27 12:58 Heime via Users list for the GNU Emacs text editor
2024-11-27 13:12 ` tomas
0 siblings, 1 reply; 8+ messages in thread
From: Heime via Users list for the GNU Emacs text editor @ 2024-11-27 12:58 UTC (permalink / raw)
To: Heime via Users list for the GNU Emacs text editor
What is the difference between global-whitespace-mode and whitespace-mode?
In what circumstances does one use one versus the other?
Sent with Proton Mail secure email.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Appropriate use of global-whitespace-mode and whitespace-mode
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
0 siblings, 1 reply; 8+ messages in thread
From: tomas @ 2024-11-27 13:12 UTC (permalink / raw)
To: Heime; +Cc: Heime via Users list for the GNU Emacs text editor
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
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.
Cheers
--
t
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Appropriate use of global-whitespace-mode and whitespace-mode
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
0 siblings, 1 reply; 8+ messages in thread
From: Heime via Users list for the GNU Emacs text editor @ 2024-11-27 13:24 UTC (permalink / raw)
To: tomas; +Cc: Heime via Users list for the GNU Emacs text editor
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Appropriate use of global-whitespace-mode and whitespace-mode
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
0 siblings, 1 reply; 8+ messages in thread
From: tomas @ 2024-11-27 13:27 UTC (permalink / raw)
To: Heime; +Cc: Heime via Users list for the GNU Emacs text editor
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
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.
Cheers
--
t
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Appropriate use of global-whitespace-mode and whitespace-mode
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
0 siblings, 1 reply; 8+ messages in thread
From: Heime via Users list for the GNU Emacs text editor @ 2024-11-27 13:37 UTC (permalink / raw)
To: tomas; +Cc: Heime via Users list for the GNU Emacs text editor
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?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Appropriate use of global-whitespace-mode and whitespace-mode
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
0 siblings, 1 reply; 8+ messages in thread
From: tomas @ 2024-11-27 13:42 UTC (permalink / raw)
To: Heime; +Cc: Heime via Users list for the GNU Emacs text editor
[-- 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 --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Appropriate use of global-whitespace-mode and whitespace-mode
2024-11-27 13:42 ` tomas
@ 2024-11-27 14:28 ` Heime via Users list for the GNU Emacs text editor
2024-11-27 14:29 ` tomas
0 siblings, 1 reply; 8+ messages in thread
From: Heime via Users list for the GNU Emacs text editor @ 2024-11-27 14:28 UTC (permalink / raw)
To: tomas; +Cc: Heime via Users list for the GNU Emacs text editor
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Appropriate use of global-whitespace-mode and whitespace-mode
2024-11-27 14:28 ` Heime via Users list for the GNU Emacs text editor
@ 2024-11-27 14:29 ` tomas
0 siblings, 0 replies; 8+ messages in thread
From: tomas @ 2024-11-27 14:29 UTC (permalink / raw)
To: Heime; +Cc: Heime via Users list for the GNU Emacs text editor
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
On Wed, Nov 27, 2024 at 02:28:22PM +0000, Heime wrote:
[...]
> They both refer to the same file, and following whitespace.el, I see
> global-whitespace-mode being defined. Answering my question.
Great :-)
Cheers
--
t
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-11-27 14:29 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2024-11-27 14:29 ` tomas
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.