From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands Date: Tue, 09 Jun 2020 17:21:15 +0200 Message-ID: <87d068b6z8.fsf@web.de> 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 Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="18184"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41727@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 09 17:22:39 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 1jig5H-0004ds-Rz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Jun 2020 17:22:39 +0200 Original-Received: from localhost ([::1]:53542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jig5F-0000rY-Ni for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Jun 2020 11:22:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jig4g-0000qD-Fd for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2020 11:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jig4g-0003yt-65 for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2020 11:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jig4g-0003j1-2R for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2020 11:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jun 2020 15:22: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.159171609214277 (code B ref 41727); Tue, 09 Jun 2020 15:22:02 +0000 Original-Received: (at 41727) by debbugs.gnu.org; 9 Jun 2020 15:21:32 +0000 Original-Received: from localhost ([127.0.0.1]:60605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jig4C-0003iC-4W for submit@debbugs.gnu.org; Tue, 09 Jun 2020 11:21:32 -0400 Original-Received: from mout.web.de ([212.227.15.3]:59419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jig4A-0003hv-2k for 41727@debbugs.gnu.org; Tue, 09 Jun 2020 11:21:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1591716076; bh=ElAQmGTfcvmHLwSDdw6Ju18nVqNZP+c9qiZVdOp0gEE=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=m5J8DMm6N7URplcqbYXKnA5IqfqAbvjqmqpkelDlpiwylGZ87GqpWI4kapPlhOpiC 3p0SFNpCMzToO0EMDb+Sneam6IEJPpFAHaihI06hrF/P91i0g77MGwFCm12mEPbmQY xwQC4LqJTQF0OyAo9zsCitOD1cZMJIK8DOw/12FQ= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([94.217.119.187]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MJnvp-1jOfGn3GH3-00K4ra; Tue, 09 Jun 2020 17:21:16 +0200 In-Reply-To: <835zc0717e.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 09 Jun 2020 17:39:33 +0300") X-Provags-ID: V03:K1:B4Rk97S2HX2AzohePxeeDrMnK0WOnAD0ajac5c1qZPbw4asFwn3 b/sj5kLQWMwgt0ZW1u5smIBC/XglZpdBaDTp3SQN9WSkqFL1mvwq0ZazAPWhBj2koV1dl9O uBwdggjHYlZa3aqt0YFVHpTSfcNI9voKViKSqj1fkZu3aJLfVcQ37Z+Q5WHRzdw3dbskr2z q/zZJleC3lz8GlflLSkxg== X-UI-Out-Filterresults: notjunk:1;V03:K0:WPV8jIS4LiI=:6Nlna8yaYcz5gyyy2qdcZh 1lKisaXISrmyMOSi0ix/hw9jt8DrHJq71Vh8R0wJhF5K04eo3ZKk0ny5ly7TOo7YdELennwFE xszuag4yR/o7eFcrfQ3HIA4HNhDH17rcOPhNmUClV8Kbrq2uCKlUscjujEZFqmhw3TM+FIJu8 DxS6flH+v2cKwvhEj04GqO3oWv/OBRdBEzLpPSwo/GjYgtsLLbuq6Hc7pVyXtDvLYsQQ+W5ot nbA+6JRfhouePhxi7HO5Uutg2plncEZ5iXMpa0jsb9vx7Cidavm9KEb3AUu4B+DY9Do3wptgm Wbwqz3/LoKZGK2emMn3A8NmsQIVkqii2gZMM098LeKyxLT3I5TEUslVAFNnHy6/6SZt4rLj2u Wjnpet6fCMGh3Z4RqWdRmxGVaQVfYDt5HUP03CZDYY99ZZYprW80jQfQjQ5vu1bkfi+WiukBK pshX7ZyEHXMySSEmvF+Aoj2QGTNNPYBHb2pRkmEi+tb5sco9ZmoN55H2/Xy2kJEAD6P4mDMvH yVbvxc51p2vTSZikyklY398lG948F0uU/WeXxfl556WWvY1rnHKtwNFi9RUn16u9mfjB7uxju T2gJanquKHkbRRCKIsHjfnM3oDrXqUBjHTev/N+7QDn6XHWO4qyvCQFfbE10zeZQklWKGalyD wDLF6xIlO/8SjeX7VvHkLoZvwjwXzB/YwXS7sIygePdJ7VyCNYu29BwCuEJY9hut8rRYjEwwi oMNlsGY7KE8dDkWLiRnbvVGESnCHuW7f0OADUFlrR4Eq+WkEzzCqk/C5ZKnliQww7zAXcEEZ 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:181789 Archived-At: Eli Zaretskii writes: > Do we have other places where a function called from Lisp uses the > prefix arg in any similar way? Seems so, e.g. allout-kill-line, allout-yank-pop, dired-do-kill-lines, doc-view-scroll-up-or-next-page, doc-view-scroll-down-or-previous-page, follow-scroll-up-arg, .... there are lots of more examples. The feature we are discussing in this report is also already used, see `toggle-menu-bar-mode-from-frame' for an example. > It seems bad practice to me: non-interactive calls shouldn't use > interactive features. Dunno. OTOH, most commands using the prefix arg don't distinguish between interactive and noninteractive calls. Why should `define-minor-mode' describe the two cases separately? Michael.