From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#49971: 28.0.50; indent-tabs-mode not working globally Date: Tue, 10 Aug 2021 16:30:34 +0300 Message-ID: <83sfzhfmv9.fsf@gnu.org> References: <837dgughm0.fsf@gnu.org> <8335rhh5r5.fsf@gnu.org> <87k0kt8pu4.fsf@igel.home> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31169"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gabriel376@hotmail.com, 49971@debbugs.gnu.org To: Andreas Schwab , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 10 15:31:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDRqZ-0007sM-PB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Aug 2021 15:31:11 +0200 Original-Received: from localhost ([::1]:52382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDRqY-0006gU-Nt for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Aug 2021 09:31:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDRqQ-0006el-L3 for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2021 09:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDRqQ-0006VE-D7 for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2021 09:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDRqQ-0006Yd-7t for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2021 09:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Aug 2021 13:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49971 X-GNU-PR-Package: emacs Original-Received: via spool by 49971-submit@debbugs.gnu.org id=B49971.162860224325177 (code B ref 49971); Tue, 10 Aug 2021 13:31:02 +0000 Original-Received: (at 49971) by debbugs.gnu.org; 10 Aug 2021 13:30:43 +0000 Original-Received: from localhost ([127.0.0.1]:58752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDRq2-0006Xx-QQ for submit@debbugs.gnu.org; Tue, 10 Aug 2021 09:30:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDRpw-0006Xe-Vs for 49971@debbugs.gnu.org; Tue, 10 Aug 2021 09:30:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49078) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDRpq-000621-Pg; Tue, 10 Aug 2021 09:30:26 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4674 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDRpo-0000lU-Pv; Tue, 10 Aug 2021 09:30:26 -0400 In-Reply-To: <87k0kt8pu4.fsf@igel.home> (message from Andreas Schwab on Tue, 10 Aug 2021 14:08:19 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:211488 Archived-At: > From: Andreas Schwab > Cc: Gabriel , 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?