From: Philip Kaludercic <philipk@posteo.net>
To: carlmarcos--- via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Cc: carlmarcos@tutanota.com
Subject: Re: global-whitespace style and activation
Date: Tue, 19 Jul 2022 13:10:23 +0000 [thread overview]
Message-ID: <87lesps0xs.fsf@posteo.net> (raw)
In-Reply-To: <N7LWrzj--3-2@tutanota.com> (carlmarcos's message of "Tue, 19 Jul 2022 14:55:55 +0200 (CEST)")
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.
next prev parent reply other threads:[~2022-07-19 13:10 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 [this message]
[not found] ` <87lesps0xs.fsf@posteo.net-N7L_Kfs----2>
2022-07-19 13:15 ` carlmarcos--- via Users list for the GNU Emacs text editor
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=87lesps0xs.fsf@posteo.net \
--to=philipk@posteo.net \
--cc=carlmarcos@tutanota.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).