From: Eli Zaretskii <eliz@gnu.org>
To: Andreas Schwab <schwab@linux-m68k.org>,
Lars Ingebrigtsen <larsi@gnus.org>
Cc: gabriel376@hotmail.com, 49971@debbugs.gnu.org
Subject: bug#49971: 28.0.50; indent-tabs-mode not working globally
Date: Tue, 10 Aug 2021 16:30:34 +0300 [thread overview]
Message-ID: <83sfzhfmv9.fsf@gnu.org> (raw)
In-Reply-To: <87k0kt8pu4.fsf@igel.home> (message from Andreas Schwab on Tue, 10 Aug 2021 14:08:19 +0200)
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Gabriel <gabriel376@hotmail.com>, 49971@debbugs.gnu.org
> Date: Tue, 10 Aug 2021 14:08:19 +0200
>
> On Aug 10 2021, Eli Zaretskii wrote:
>
> >> (define-minor-mode indent-tabs-mode
> >> "Toggle whether indentation can insert TAB characters."
> >> :global t :group 'indent :variable indent-tabs-mode)
> >
> > That's the mode, but in your recipe you are looking at the variable,
> > not the mode. And the documentation of the variable clearly says:
> >
> > Automatically becomes buffer-local when set.
>
> That's because it's explicitly made that way (bindings.el:799) despite
> the :global declaration (which is about the _variable_ not the mode).
Apologies. But then I don't understand why we'd want this to be a
global minor mode. Lars?
next prev parent reply other threads:[~2021-08-10 13:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-09 21:15 bug#49971: 28.0.50; indent-tabs-mode not working globally Gabriel
2021-08-10 2:26 ` Eli Zaretskii
2021-08-10 2:33 ` Gabriel
2021-08-10 11:57 ` Eli Zaretskii
2021-08-10 12:08 ` Andreas Schwab
2021-08-10 13:30 ` Eli Zaretskii [this message]
2021-08-10 13:40 ` Lars Ingebrigtsen
2022-08-22 12:02 ` 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
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=83sfzhfmv9.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=49971@debbugs.gnu.org \
--cc=gabriel376@hotmail.com \
--cc=larsi@gnus.org \
--cc=schwab@linux-m68k.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).