From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands Date: Sun, 7 Jun 2020 09:30:14 -0700 (PDT) Message-ID: <34bfb257-e0b2-43a7-adc4-a5c74a87ac52@default> References: <963d4189-17dc-4f4e-9993-0335fa271e50@default> <31a1c4f0-b92e-4ec6-8c2f-c4856f70b301@default> <871rmrchut.fsf@web.de> <0540c2e4-a177-4a11-b80c-3d51e0c998b7@default> <87eeqqc0gg.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="106863"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41727@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 07 18:31:43 2020 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 1jhyD0-000Rfl-RD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 18:31:42 +0200 Original-Received: from localhost ([::1]:56988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhyCz-0005ry-Tc for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 12:31:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhyCM-0005SV-B8 for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 12:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhyCM-0003h1-0d for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 12:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhyCL-0002Xc-U8 for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 12:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jun 2020 16:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41727 X-GNU-PR-Package: emacs Original-Received: via spool by 41727-submit@debbugs.gnu.org id=B41727.15915474309720 (code B ref 41727); Sun, 07 Jun 2020 16:31:01 +0000 Original-Received: (at 41727) by debbugs.gnu.org; 7 Jun 2020 16:30:30 +0000 Original-Received: from localhost ([127.0.0.1]:54788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhyBq-0002Wi-Jt for submit@debbugs.gnu.org; Sun, 07 Jun 2020 12:30:30 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:54560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhyBo-0002WW-W4 for 41727@debbugs.gnu.org; Sun, 07 Jun 2020 12:30:29 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 057GTLEP156222; Sun, 7 Jun 2020 16:30:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=MFw3owNrVkNbD1NAovtkGAMFxusWI6orz1NGZzR4LhI=; b=vQ3gJdYQfSCbRUMkU1zbJDEZq9D7gAJqHjChCX3/DiD0c5Zv4S7UOL5GKPfZaRwentbA nRWufiyCtwSHLb9u96T3ZPp5oa9Ipv8MKFcVfNvrzolO2l8immM2X4SeXIQfSMBEWidn mKz7e0104eDx71W28uI+PHipN6F7VLNv5LjBB+cVgXaaWhrSsf8ponW0kJmmzyaUPKWv dJAziAhzbV1WQ2XbPQFhr1LgEquRVpvXidlDgrcgCSlmMGjwPK7UgU3f5I8LqIpAYir7 sRLjKrSYUBE/Ay50CzA5tCYltAn3HtFBktX40mYJtMOn4eTnJenZrhu9zjgVvulQ7qtR SQ== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 31g2jqupnq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 07 Jun 2020 16:30:21 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 057GSEWA159342; Sun, 7 Jun 2020 16:30:20 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 31gn1yj36b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 07 Jun 2020 16:30:20 +0000 Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 057GUHeP000646; Sun, 7 Jun 2020 16:30:18 GMT In-Reply-To: <87eeqqc0gg.fsf@web.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5005.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9645 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 mlxscore=0 phishscore=0 adultscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006070126 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9645 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 impostorscore=0 cotscore=-2147483648 priorityscore=1501 spamscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 phishscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006070126 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:181686 Archived-At: > > > Are you aware of `easy-mmode--arg-docstring'? > > > > No. I've never looked at (or heard of) `easy-mmode'. >=20 > Isn't `define-minor-mode' defined in "easy-mmode.el"? Yes. I guess I meant that I haven't looked at much in that file. > > But now that I look at it, in Emacs 26.3, I see > > no `easy-mmode--arg-docstring'. What am I missing? >=20 > I guess that's one version to small. It had been introduced when > discussing Bug#10754. I can send you current master's version of the > file offlist if you want. AFAIU it's the variable you asked for. I have the 27 pretest, so I have (at least some version) of `easy-mmode--arg-docstring'; thx. Yes, that's presumably what I suggest should be changed. And I guess where that Lisp info gets inserted could be reconsidered. This bug report suggests maybe putting it at the end of the doc string. Most calls of a minor-mode command will be interactive. And I'm arguing in favor of making the Lisp description of ARG more correct/complete. Perhaps, especially if that's done, it makes sense to relegate such info to the end.