From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59600: 28.1.90; Docstrings generated by `define-globalized-minor-mode' and `define-minor-mode' :global t are not same Date: Sat, 26 Nov 2022 12:38:33 -0500 Message-ID: References: <87a64ekzhi.fsf@localhost> <83pmdat9lj.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19105"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , 59600@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 26 18:39:13 2022 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 1oyz8z-0004hd-7x for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Nov 2022 18:39:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyz8p-0007mU-FJ; Sat, 26 Nov 2022 12:39:03 -0500 Original-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 ) id 1oyz8n-0007mJ-Vb for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 12:39:01 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyz8n-0005uH-Nk for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 12:39:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyz8n-00031y-KL for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 12:39:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Nov 2022 17:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59600 X-GNU-PR-Package: emacs Original-Received: via spool by 59600-submit@debbugs.gnu.org id=B59600.166948432511614 (code B ref 59600); Sat, 26 Nov 2022 17:39:01 +0000 Original-Received: (at 59600) by debbugs.gnu.org; 26 Nov 2022 17:38:45 +0000 Original-Received: from localhost ([127.0.0.1]:41353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyz8W-00031G-Rq for submit@debbugs.gnu.org; Sat, 26 Nov 2022 12:38:45 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:57743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyz8T-000319-Fi for 59600@debbugs.gnu.org; Sat, 26 Nov 2022 12:38:43 -0500 Original-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) Original-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== Original-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) In-Reply-To: <83pmdat9lj.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Nov 2022 10:15:36 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249120 Archived-At: >> 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