From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#29497: 26.0.90; doc strings of minor modes Date: Tue, 28 Nov 2017 20:47:01 -0800 (PST) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1511930896 24692 195.159.176.226 (29 Nov 2017 04:48:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Nov 2017 04:48:16 +0000 (UTC) To: 29497@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 29 05:48:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJuI5-0005bu-Gc for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Nov 2017 05:48:09 +0100 Original-Received: from localhost ([::1]:41271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJuI7-0005Hp-J6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Nov 2017 23:48:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJuI1-0005Gl-OI for bug-gnu-emacs@gnu.org; Tue, 28 Nov 2017 23:48:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJuHy-0005Nc-LP for bug-gnu-emacs@gnu.org; Tue, 28 Nov 2017 23:48:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJuHy-0005NS-IO for bug-gnu-emacs@gnu.org; Tue, 28 Nov 2017 23:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJuHy-0000Os-Az for bug-gnu-emacs@gnu.org; Tue, 28 Nov 2017 23:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Nov 2017 04:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29497 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15119308411467 (code B ref -1); Wed, 29 Nov 2017 04:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Nov 2017 04:47:21 +0000 Original-Received: from localhost ([127.0.0.1]:35543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJuHJ-0000Nb-7A for submit@debbugs.gnu.org; Tue, 28 Nov 2017 23:47:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJuHE-0000NH-Ef for submit@debbugs.gnu.org; Tue, 28 Nov 2017 23:47:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJuH8-0004un-3G for submit@debbugs.gnu.org; Tue, 28 Nov 2017 23:47:11 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35141) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eJuH8-0004ug-0D for submit@debbugs.gnu.org; Tue, 28 Nov 2017 23:47:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJuH6-0005DO-OY for bug-gnu-emacs@gnu.org; Tue, 28 Nov 2017 23:47:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJuH3-0004qc-K1 for bug-gnu-emacs@gnu.org; Tue, 28 Nov 2017 23:47:08 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:49381) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eJuH3-0004q7-BQ for bug-gnu-emacs@gnu.org; Tue, 28 Nov 2017 23:47:05 -0500 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vAT4l3LN028627 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 29 Nov 2017 04:47:03 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vAT4l2uv026862 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 29 Nov 2017 04:47:03 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vAT4l28I023991 for ; Wed, 29 Nov 2017 04:47:02 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4615.0 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140537 Archived-At: Other bug reports have requested that minor-mode doc strings follow more closely what `define-minor-mode' has to say about minor modes. This request adds to that. How about trying to have `C-h f' somehow detect minor-mode commands (at least those created by `define-minor-mode', and change the first line of help output. Instead of something like this: abbrev-mode is an interactive compiled Lisp function in `abbrev.el'. It might say something like this: abbrev-mode is a compiled minor-mode command in `abbrev.el'. Or perhaps the fact that the command is a minor-mode command could just be added systematically to the doc string itself. Indicating to users in some way that the command is a minor-mode command would be helpful. In GNU Emacs 26.0.90 (build 3, x86_64-w64-mingw32) of 2017-10-13 built on LAPHROAIG Repository revision: 906224eba147bdfc0514090064e8e8f53160f1d4 Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS