From: Eli Zaretskii <eliz@gnu.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: yet@ego.team, 56679@debbugs.gnu.org
Subject: bug#56679: 28.1; [PATCH] whitespace-style cannot be configured for diff-mode via hook
Date: Mon, 25 Jul 2022 14:07:11 +0300 [thread overview]
Message-ID: <8335epfo2o.fsf@gnu.org> (raw)
In-Reply-To: <87ilnlapd1.fsf@web.de> (message from Michael Heerdegen on Mon, 25 Jul 2022 04:38:18 +0200)
> From: Michael Heerdegen <michael_heerdegen@web.de>
> Cc: YE <yet@ego.team>, 56679@debbugs.gnu.org
> Date: Mon, 25 Jul 2022 04:38:18 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Can we delay loading whitespace.el until the user actually wants to
> > turn on whitespace-mode, or until he/she customizes this option?
> > AFAIU, whitespace-mode is not turned on unconditionally by diff-mode,
> > so this 'require' is not needed for users who don't turn that minor
> > mode in Diff buffers.
>
> Principally correct - but how do we do this correctly for the
> (get 'whitespace-style 'custom-type) :type definition?
What are the problems with this that require us to load whitespace.el
up front?
next prev parent reply other threads:[~2022-07-25 11:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-21 14:46 bug#56679: 28.1; whitespace-style cannot be configured for diff-mode via hook YE via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-23 0:15 ` Michael Heerdegen
2022-07-24 7:49 ` bug#56679: 28.1; [PATCH] " YE via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-24 9:02 ` Lars Ingebrigtsen
2022-07-24 9:08 ` Eli Zaretskii
2022-07-25 2:38 ` Michael Heerdegen
2022-07-25 11:07 ` Eli Zaretskii [this message]
2022-07-26 3:59 ` Michael Heerdegen
2022-07-26 12:27 ` YE via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-27 9:52 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8335epfo2o.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=56679@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
--cc=yet@ego.team \
/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.
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.