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: Tue, 9 Jun 2020 08:51:07 -0700 (PDT) Message-ID: <7f22a5d6-52a9-45dd-b2b9-e350f8957b1e@default> References: <<963d4189-17dc-4f4e-9993-0335fa271e50@default> <83k10kafha.fsf@gnu.org> <9d7f8447-1c0b-46db-a40c-c1ed2a398c46@default> <838sh081lt.fsf@gnu.org>>> <<87wo4jb33s.fsf@web.de>> <83y2oz6j6x.fsf@gnu.org>> <30c91bcf-044c-4d93-8ca8-bd407d7bd6b0@default>> <<87mu5dbhqv.fsf@web.de> <9a2f8463-42a6-4f0c-82d9-de15192fffe2@default>> <<87h7vkbrh3.fsf@web.de>> <<835zc0717e.fsf@gnu.org>> 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="22431"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41727@debbugs.gnu.org To: Eli Zaretskii , Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 09 17:52:13 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 1jigXs-0005ii-1p for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Jun 2020 17:52:12 +0200 Original-Received: from localhost ([::1]:39044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jigXq-0003qu-Uc for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Jun 2020 11:52:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jigXi-0003oT-EW for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2020 11:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49075) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jigXi-0001B3-4k for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2020 11:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jigXi-0004Rq-2g for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2020 11:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jun 2020 15:52:02 +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.159171787917047 (code B ref 41727); Tue, 09 Jun 2020 15:52:02 +0000 Original-Received: (at 41727) by debbugs.gnu.org; 9 Jun 2020 15:51:19 +0000 Original-Received: from localhost ([127.0.0.1]:60621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jigX1-0004Qt-7B for submit@debbugs.gnu.org; Tue, 09 Jun 2020 11:51:19 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:56082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jigWy-0004Qg-V8 for 41727@debbugs.gnu.org; Tue, 09 Jun 2020 11:51:18 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 059Fkmqp067979; Tue, 9 Jun 2020 15:51:11 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=F9dZpFJDVfka4ru84mBTPIRALtf7gV086W8Mz/2uwKg=; b=By15gFoUMOwrCMbzInLAEBuxjl7pBjkJqOG+g3doyP3yk8e1L/+HxneQ/HlIPn9ucjIf 6Q+XsmSo5I7l2olXu5m7aujT2DpEx9WrIeJPGrtGvTDl51+FczFr9Oko3Lv335kIKXu6 imvJSWoM0W/JaR2yHDBp0hmV2mpPA0nZIEEVvNwlgDcZJ9vMHHGzW1iNTFSBiUcLEaij WHbPMaEMQqgo7ldV1MRypT4mensgIgk8BD6U3BwkdFck9SacA/WmoRzuBOzdTy9w3eW8 v6mdWKhoJh5BVe7zl5X/lYzFkYTnDlqaxBLmCGzGjRGFpcflCp9DjKzTmwna9ReudnkH JQ== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 31g33m5kf1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 09 Jun 2020 15:51:10 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 059FlpYP165011; Tue, 9 Jun 2020 15:51:10 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 31gmqnssf1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Jun 2020 15:51:10 +0000 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 059Fp9vp016727; Tue, 9 Jun 2020 15:51:09 GMT In-Reply-To: <<835zc0717e.fsf@gnu.org>> 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=9647 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 bulkscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 spamscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006090119 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9647 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 spamscore=0 cotscore=-2147483648 malwarescore=0 phishscore=0 mlxscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006090119 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:181791 Archived-At: > Do we have other places where a function called from Lisp uses the > prefix arg in any similar way? It seems bad practice to me: > non-interactive calls shouldn't use interactive features. I actually agree with what you say there. I don't know why this was designed as an exception. But I think it was. There has been discussion over the years about the interactive vs Lisp behavior of `d-m-mode' and the confusion of users, and I think the behavior may even have changed over time. I think Stefan might know why this does what it does. I don't know why it does - but it does. Do you see the behavior changing to fit the more common model, as you suggest? If so, OK (but that will break some existing code out there). If you don't expect to fix the behavior, to no longer have the "bad practice" you cite, then, until we do fix it, (IMO) we should fix the doc to fit the behavior.