From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6335: 24.0.50; doc for define-minor-mode: specify ARG Date: Wed, 02 Jun 2010 21:54:43 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275542890 2606 80.91.229.12 (3 Jun 2010 05:28:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Jun 2010 05:28:10 +0000 (UTC) To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 03 07:28:08 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OK2yJ-00064C-Vs for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jun 2010 07:28:04 +0200 Original-Received: from localhost ([127.0.0.1]:60448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OK2yI-0001c5-Mj for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jun 2010 01:28:02 -0400 Original-Received: from [140.186.70.92] (port=55464 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OK2y8-0001aQ-Nm for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2010 01:27:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OK2y7-0005Wh-IT for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2010 01:27:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37031) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OK2y7-0005Wc-H1 for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2010 01:27:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OK2kk-0000wj-2D for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2010 01:14:02 -0400 Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Jun 2010 05:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6335 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 6335@debbugs.gnu.org, monnier@iro.umontreal.ca Original-Received: via spool by 6335-done@debbugs.gnu.org id=D6335.12755420183627 (code D ref 6335); Thu, 03 Jun 2010 05:14:01 +0000 Original-Received: (at 6335-done) by debbugs.gnu.org; 3 Jun 2010 05:13:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OK2kL-0000wS-8t for submit@debbugs.gnu.org; Thu, 03 Jun 2010 01:13:38 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJzdv-00088G-D0 for 6335-done@debbugs.gnu.org; Wed, 02 Jun 2010 21:54:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAI6oBkxFpYiT/2dsb2JhbACeI3LAFoUWBIxW X-IronPort-AV: E=Sophos;i="4.53,350,1272859200"; d="scan'208";a="67127296" Original-Received: from 69-165-136-147.dsl.teksavvy.com (HELO pastel.home) ([69.165.136.147]) by ironport2-out.pppoe.ca with ESMTP; 02 Jun 2010 21:54:43 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1F4E581F8; Wed, 2 Jun 2010 21:54:43 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Wed, 2 Jun 2010 15:07:28 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Mailman-Approved-At: Thu, 03 Jun 2010 01:13:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 03 Jun 2010 01:14:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37500 Archived-At: > (cond ((integer arg) (if (> arg 0) do-foo do-fa)) > ((consp arg) ...) > (arg ...) > (t ...)) I do not want to support this. > The doc should also state clearly that the _raw prefix argument_ is used > as ARG interactively. It's not the case. > Programmers can then take advantage of that fact also. Knowing this, > they can easily define a minor-mode command that lets users pass > a significant value via a prefix arg. And I don't want to support this either. If people want to write functions that behave somewhat like minor modes but with slightly different calling conventions, they can do that just fine with `defun'. Stefan