GNU bug report logs - #59600
28.1.90; Docstrings generated by `define-globalized-minor-mode' and `define-minor-mode' :global t are not same

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Ihor Radchenko <yantar92@HIDDEN>; Keywords: confirmed; dated Sat, 26 Nov 2022 06:21:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 59600 <at> debbugs.gnu.org:


Received: (at 59600) by debbugs.gnu.org; 26 Nov 2022 17:46:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 26 12:46:17 2022
Received: from localhost ([127.0.0.1]:41384 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oyzFp-00036h-3R
	for submit <at> debbugs.gnu.org; Sat, 26 Nov 2022 12:46:17 -0500
Received: from eggs.gnu.org ([209.51.188.92]:49362)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1oyzFn-00036b-I4
 for 59600 <at> debbugs.gnu.org; Sat, 26 Nov 2022 12:46:16 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1oyzFi-0007I1-9z; Sat, 26 Nov 2022 12:46:10 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=PvZiY5VQ7PM3KfhXKKvTHro4a2k9KpfN7ZlRX8mN3bU=; b=hGeYmPDQGd5L
 L3HQfBN/XMoApfR5d8VUXwitVGYDMrtRYXQDwHuzRjnspI+Q+ywBFPLW9HoZHR+3Ya9ptO40q7OW5
 9keNnowg3y695hXvNhft9x+u6TlxFcOeIde/IlGGAorU5hdXeaa830FXQfYCu53iSxxO+Gp5qQX0W
 56P7TZAWIeRc+DaonUMEjhxRaKEmS7/PQDKxRGjXBRhssOdhAcmuJcEKGdqGsuk3aFoCWBQ4CSAnT
 iCX4i1OmZrtCmBOXXVLyTR9VAZrC+VKQMGasWKheo9z1ajYEts0pfLXW7Phn2OONUVvAxeTasgdDG
 a1WIdrQWMLbwp0K5D7UkFg==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1oyzFg-00055z-Ms; Sat, 26 Nov 2022 12:46:09 -0500
Date: Sat, 26 Nov 2022 19:46:34 +0200
Message-Id: <831qppsj5x.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <jwvsfi5k48q.fsf-monnier+emacs@HIDDEN> (message from Stefan
 Monnier on Sat, 26 Nov 2022 12:38:33 -0500)
Subject: Re: bug#59600: 28.1.90; Docstrings generated by
 `define-globalized-minor-mode' and `define-minor-mode' :global t are not
 same
References: <87a64ekzhi.fsf@localhost> <83pmdat9lj.fsf@HIDDEN>
 <jwvsfi5k48q.fsf-monnier+emacs@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59600
Cc: yantar92@HIDDEN, 59600 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Stefan Monnier <monnier@HIDDEN>
> Cc: Ihor Radchenko <yantar92@HIDDEN>,  59600 <at> debbugs.gnu.org
> Date: Sat, 26 Nov 2022 12:38:33 -0500
> 
> [ Nitpick: "define-minor-mode :global t" does not (usually) define
>   a "globalized mode" but rather it defines a "global mode".  ]
> 
> >> For example, `auto-save-visited-mode' is a global minor mode, but no
> >> clear indication of this fact is given. It did cause confusion for some
> >> users.
> >> 
> >> Expected: :global t clearly indicates that the mode is global.
> >
> > Adding Stefan to the discussion.
> 
> Not much to say, but I agree it makes sense for the docstring to state
> the scope of the mode (global, buffer-local, younameit).

Patches to the macro that defines the modes are welcome.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59600; Package emacs. Full text available.

Message received at 59600 <at> debbugs.gnu.org:


Received: (at 59600) by debbugs.gnu.org; 26 Nov 2022 17:38:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 26 12:38:45 2022
Received: from localhost ([127.0.0.1]:41353 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oyz8W-00031G-Rq
	for submit <at> debbugs.gnu.org; Sat, 26 Nov 2022 12:38:45 -0500
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:57743)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1oyz8T-000319-Fi
 for 59600 <at> debbugs.gnu.org; Sat, 26 Nov 2022 12:38:43 -0500
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 411671000FB;
 Sat, 26 Nov 2022 12:38:35 -0500 (EST)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id DF9261000D5;
 Sat, 26 Nov 2022 12:38:33 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1669484313;
 bh=5yyfYkK6AsomU4+Hv49MTKhizhkvtm+mF//6EhwYopk=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=BHmIRGs/NMjLVAtcP0G/R87cMXse42htFMzr4bckd9GcbqOauJahcJSNdjK+/FHrh
 AjCiE7yZBSv7o8t/2QPi9wS/JsFCrmfPc7u/KpNIKD2gD8XyLXsIE1klF8XwsjTm5L
 n7Rl9eia25+AfLR3G7+7PjJBbJOBUnYakzxWJmhVGCpKQIAWqF7X3+sKxSCoYg5Wxh
 r5s2f0NXrRInz9BqKMhBDGnriUjaJmG3A4kxOedIRF4xy8LwJpBjkJa/EwYx1pZPUJ
 D9/UZDTmlmLrsoUhFyOF1af69eWhTJ2hU3dcdeBV3epfa6WEoQSvIFEchmEEaD5onn
 Dd8yxK7ibU7mw==
Received: from pastel (unknown [104.247.241.157])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B235E120776;
 Sat, 26 Nov 2022 12:38:33 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#59600: 28.1.90; Docstrings generated by
 `define-globalized-minor-mode' and `define-minor-mode' :global t are not
 same
In-Reply-To: <83pmdat9lj.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 26 Nov
 2022 10:15:36 +0200")
Message-ID: <jwvsfi5k48q.fsf-monnier+emacs@HIDDEN>
References: <87a64ekzhi.fsf@localhost> <83pmdat9lj.fsf@HIDDEN>
Date: Sat, 26 Nov 2022 12:38:33 -0500
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results: =?UTF-8?Q?0=0A=09?=ALL_TRUSTED -1 Passed
 through trusted hosts only via =?UTF-8?Q?SMTP=0A=09?=AWL -0.091 Adjusted
 score from AWL reputation of From: =?UTF-8?Q?address=0A=09?=BAYES_00 -1.9
 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily =?UTF-8?Q?valid=0A=09?=DKIM_VALID -0.1 Message has at least
 one valid DKIM or DK =?UTF-8?Q?signature=0A=09?=DKIM_VALID_AU -0.1 Message
 has a valid DKIM or DK signature from author's domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59600
Cc: Ihor Radchenko <yantar92@HIDDEN>, 59600 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>> The former have the following in their docstring:
>> 
>> "Toggle %s in all buffers.\n"
>> "%s is enabled in all buffers where `%s' would do it."
>> 
>> However, no indication is given that globalized minor mode defined via
>> `define-minor-mode' :global t is global.

[ Nitpick: "define-minor-mode :global t" does not (usually) define
  a "globalized mode" but rather it defines a "global mode".  ]

>> For example, `auto-save-visited-mode' is a global minor mode, but no
>> clear indication of this fact is given. It did cause confusion for some
>> users.
>> 
>> Expected: :global t clearly indicates that the mode is global.
>
> Adding Stefan to the discussion.

Not much to say, but I agree it makes sense for the docstring to state
the scope of the mode (global, buffer-local, younameit).


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59600; Package emacs. Full text available.

Message received at 59600 <at> debbugs.gnu.org:


Received: (at 59600) by debbugs.gnu.org; 26 Nov 2022 08:15:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 26 03:15:25 2022
Received: from localhost ([127.0.0.1]:37742 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oyqLN-00017R-2m
	for submit <at> debbugs.gnu.org; Sat, 26 Nov 2022 03:15:25 -0500
Received: from eggs.gnu.org ([209.51.188.92]:33132)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1oyqLL-00017F-FB
 for 59600 <at> debbugs.gnu.org; Sat, 26 Nov 2022 03:15:24 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1oyqLE-000432-Ia; Sat, 26 Nov 2022 03:15:17 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=aQWqRPm90o40ymUkZRloqo3XgZ/+A2WSrEynl18rYHg=; b=RTcUEO6gFLa4
 m0AY0Lkd/kNCSzLr9OBFAVBesqICBmk0NoCIXVWfIB5quhKgiJ9tTBVB0aoJvo66AdGCDXlOQthoC
 /+NGU4BFKue9m/FCTW2Ujz1Nx9F0xTxgJDiPw/ngMRi2ABEy4KbPGa0eiezzJuwl9bT7UGPhK0VTy
 QFI/Q6QIUOJsD5DvkZ6Mpi9WRQdIrqPxeotoCHGj42RcWf74cCmwWQHW3///4epDuBlwHfmHdyqWd
 ZHgTUreV67AoT2LjheigycVf6FQ3R1KlCGATUfxdBqPUp9Up1HFJ9eAW/MXVV6pd1KaNlw5UdTqr3
 z252zWVYW7YsKbQBHeilvg==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1oyqL9-0004Pl-Sg; Sat, 26 Nov 2022 03:15:15 -0500
Date: Sat, 26 Nov 2022 10:15:36 +0200
Message-Id: <83pmdat9lj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ihor Radchenko <yantar92@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <87a64ekzhi.fsf@localhost> (message from Ihor Radchenko on Sat,
 26 Nov 2022 06:21:13 +0000)
Subject: Re: bug#59600: 28.1.90;
 Docstrings generated by `define-globalized-minor-mode' and
 `define-minor-mode' :global t are not same
References: <87a64ekzhi.fsf@localhost>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59600
Cc: 59600 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ihor Radchenko <yantar92@HIDDEN>
> Date: Sat, 26 Nov 2022 06:21:13 +0000
> 
> I noticed inconsistency between minor modes defined via
> `define-globalized-minor-mode' and via `define-minor-mode' with :global
> t keyword.
> 
> The former have the following in their docstring:
> 
> "Toggle %s in all buffers.\n"
> "%s is enabled in all buffers where `%s' would do it."
> 
> However, no indication is given that globalized minor mode defined via
> `define-minor-mode' :global t is global.
> 
> For example, `auto-save-visited-mode' is a global minor mode, but no
> clear indication of this fact is given. It did cause confusion for some
> users.
> 
> Expected: :global t clearly indicates that the mode is global.

Adding Stefan to the discussion.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59600; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Nov 2022 06:21:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 26 01:21:00 2022
Received: from localhost ([127.0.0.1]:37676 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oyoYS-0006lR-41
	for submit <at> debbugs.gnu.org; Sat, 26 Nov 2022 01:21:00 -0500
Received: from lists.gnu.org ([209.51.188.17]:53034)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yantar92@HIDDEN>) id 1oyoYM-0006lE-Po
 for submit <at> debbugs.gnu.org; Sat, 26 Nov 2022 01:20:46 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@HIDDEN>)
 id 1oyoYM-00063l-IL
 for bug-gnu-emacs@HIDDEN; Sat, 26 Nov 2022 01:20:42 -0500
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@HIDDEN>)
 id 1oyoYK-0003ic-Ey
 for bug-gnu-emacs@HIDDEN; Sat, 26 Nov 2022 01:20:42 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 6CDC3240101
 for <bug-gnu-emacs@HIDDEN>; Sat, 26 Nov 2022 07:20:38 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1669443638; bh=MJx/cHOFWidys9OaG8w9KYLpAa214cD8F8AiDyoFKTY=;
 h=From:To:Subject:Date:From;
 b=KmRItCBIrNYt97+bWCRZD2XiMNcMpf9V9iwEeDA8u0FaCQf01qk8Abkl/h9lQzj2D
 Yx4xs6HsCqwZuKA5ZL9Tf9EjYQ4u/2hMTu3sviKW8vWPFXXr9FGdwPaIdjJ5d078JQ
 LRGcMOhfJ5WtPjWv5RyvmFOQSefQJC8VYf//Q4AEJxEqViOq5LVnrto4j9L5Dg/0Jt
 ptaDFgh1VrxQd7+GjyZf64YLrGzdsjLIfWpFG5hZKi0OiEzc1mVHLZZth7OBAixbyf
 Ha/vyqxIK6ftzEWGDRrsTvGzpt7i4pFqFIgsOGYTO+FUi1pmRvaymrwSABOrZV6JZi
 QgBV/uXwDpIsA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4NK1nK16SVz6tqt
 for <bug-gnu-emacs@HIDDEN>; Sat, 26 Nov 2022 07:20:34 +0100 (CET)
From: Ihor Radchenko <yantar92@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.1.90; Docstrings generated by `define-globalized-minor-mode' and
 `define-minor-mode' :global t are not same
Date: Sat, 26 Nov 2022 06:21:13 +0000
Message-ID: <87a64ekzhi.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@HIDDEN;
 helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi,

I noticed inconsistency between minor modes defined via
`define-globalized-minor-mode' and via `define-minor-mode' with :global
t keyword.

The former have the following in their docstring:

"Toggle %s in all buffers.\n"
"%s is enabled in all buffers where `%s' would do it."

However, no indication is given that globalized minor mode defined via
`define-minor-mode' :global t is global.

For example, `auto-save-visited-mode' is a global minor mode, but no
clear indication of this fact is given. It did cause confusion for some
users.

Expected: :global t clearly indicates that the mode is global.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




Acknowledgement sent to Ihor Radchenko <yantar92@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#59600; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 3 Dec 2022 01:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.