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#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 19:46:34 +0200 Message-ID: <831qppsj5x.fsf@gnu.org> References: <87a64ekzhi.fsf@localhost> <83pmdat9lj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20747"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, 59600@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 26 18:47:22 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 1oyzGr-0005CE-PY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Nov 2022 18:47:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyzGc-0001Au-Uu; Sat, 26 Nov 2022 12:47:06 -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 1oyzGY-0001AO-JG for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 12:47:06 -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 1oyzGY-0007Sj-Ak for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 12:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyzGY-000371-6F for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2022 12:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Nov 2022 17:47:02 +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.166948477711951 (code B ref 59600); Sat, 26 Nov 2022 17:47:02 +0000 Original-Received: (at 59600) by debbugs.gnu.org; 26 Nov 2022 17:46:17 +0000 Original-Received: from localhost ([127.0.0.1]:41384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyzFp-00036h-3R for submit@debbugs.gnu.org; Sat, 26 Nov 2022 12:46:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyzFn-00036b-I4 for 59600@debbugs.gnu.org; Sat, 26 Nov 2022 12:46:16 -0500 Original-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 ) 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==; Original-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 ) id 1oyzFg-00055z-Ms; Sat, 26 Nov 2022 12:46:09 -0500 In-Reply-To: (message from Stefan Monnier on Sat, 26 Nov 2022 12:38:33 -0500) 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:249123 Archived-At: > From: Stefan Monnier > Cc: Ihor Radchenko , 59600@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.