From: carlmarcos--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Philip Kaludercic <philipk@posteo.net>
Cc: carlmarcos--- via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: Re: global-whitespace style and activation
Date: Tue, 19 Jul 2022 15:15:02 +0200 (CEST) [thread overview]
Message-ID: <N7LaEyg--3-2@tutanota.com> (raw)
In-Reply-To: <87lesps0xs.fsf@posteo.net-N7L_Kfs----2>
Jul 19, 2022, 13:10 by philipk@posteo.net:
> carlmarcos--- via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org> writes:
>
>> Have been somewhat perplexed on setting the style for
>> `global-whitespace-mode`. Looks as if the style has to be set before
>> enabling the mode. Usually one would not have access to the mode
>> variables if the mode is not yet enabled.
>>
>
> Only if you only load by autoloading. If you require 'whitespace, you
> should have access to the user options. But unless the options you are
> interested have custom setter functions (which from what I see is not
> the case), you can also just set the default value before calling
> `global-whitespace-mode', and it should work just as well.
>
What would be the best setup for it? Keep things as I did?
prev parent reply other threads:[~2022-07-19 13:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-19 12:55 global-whitespace style and activation carlmarcos--- via Users list for the GNU Emacs text editor
2022-07-19 13:10 ` Philip Kaludercic
[not found] ` <87lesps0xs.fsf@posteo.net-N7L_Kfs----2>
2022-07-19 13:15 ` carlmarcos--- via Users list for the GNU Emacs text editor [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=N7LaEyg--3-2@tutanota.com \
--to=help-gnu-emacs@gnu.org \
--cc=carlmarcos@tutanota.com \
--cc=philipk@posteo.net \
/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).