bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49971: 28.0.50; indent-tabs-mode not working globally


From: Eli Zaretskii
Subject: bug#49971: 28.0.50; indent-tabs-mode not working globally
Date: Tue, 10 Aug 2021 16:30:34 +0300

> 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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]