From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#10909: 24.0.94; doc of `define-minor-mode' Date: Sat, 22 Sep 2012 23:25:59 +0800 Message-ID: <87y5k2dqpk.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1348327588 18987 80.91.229.3 (22 Sep 2012 15:26:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2012 15:26:28 +0000 (UTC) Cc: 10909-done@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 22 17:26:30 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TFRbB-00051g-IR for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 17:26:29 +0200 Original-Received: from localhost ([::1]:49559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFRb6-0000bJ-VR for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 11:26:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFRb3-0000Zs-5C for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 11:26:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFRb2-0004bc-3b for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 11:26:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFRb1-0004bV-W8 for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 11:26:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TFRcg-0006ds-OT for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 11:28:02 -0400 Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Sep 2012 15:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 10909 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 10909@debbugs.gnu.org, cyd@gnu.org Original-Received: via spool by 10909-done@debbugs.gnu.org id=D10909.134832766925511 (code D ref 10909); Sat, 22 Sep 2012 15:28:02 +0000 Original-Received: (at 10909-done) by debbugs.gnu.org; 22 Sep 2012 15:27:49 +0000 Original-Received: from localhost ([127.0.0.1]:49259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFRcT-0006dP-FF for submit@debbugs.gnu.org; Sat, 22 Sep 2012 11:27:49 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:53346) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFRcR-0006dJ-Rl for 10909-done@debbugs.gnu.org; Sat, 22 Sep 2012 11:27:48 -0400 Original-Received: by pbbjt11 with SMTP id jt11so7394169pbb.3 for <10909-done@debbugs.gnu.org>; Sat, 22 Sep 2012 08:26:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=StDlGnEXKCo0v+k1Hxv4hKin6PDWFrF2S4Oe/qrjJXY=; b=PYvp++FAvzf/BmOxVYp6qau2QXiaPuxHwdHqMPD3V6Um7vxtWhrvNwLq/tAXzXHQga 9YesQk68hn1YKQyMFTK5YWJcwcQggDyav14fhj+zHdV03S5EBrg0PJ+Wku9tofJ2HPiA e1u4+I9RD1BcEuzZJlonrAGJgh8i6dvWxoGWkhx9vv9XfjnME+Be+53hayjl6g3Rc64D 0fugbFoFdYCUOTmwQOH97XzUX0/RIQ/7Cyw6bpQAvoNVL6y6c7t12rBhwZkV7sL0ZT2C cfONfYOM6Lh5WuC+j9gteCLaHpwOU1AgiGzRxF3O7yFRKEFjpkuNKK7AmyTIsHsPt5Er GaQQ== Original-Received: by 10.68.129.5 with SMTP id ns5mr23354058pbb.103.1348327564164; Sat, 22 Sep 2012 08:26:04 -0700 (PDT) Original-Received: from ulysses (cm162.gamma80.maxonline.com.sg. [202.156.80.162]) by mx.google.com with ESMTPS id g1sm5834946paz.18.2012.09.22.08.26.01 (version=SSLv3 cipher=OTHER); Sat, 22 Sep 2012 08:26:03 -0700 (PDT) In-Reply-To: (Drew Adams's message of "Tue, 28 Feb 2012 18:54:47 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64746 Archived-At: "Drew Adams" writes: > The non-interactive description says only "When called from Lisp, it > enables the mode if the argument is omitted or nil, and toggles the mode > if the argument is `toggle'." > > IOW, it says nothing about what happens when an arg is passed that is > not nil or omitted or `toggle'. And I've seen at least one user try to > use `(foo-mode t)'. It turns out that that has the same effect as > `(foo-mode 1)', but nothing in the doc says that it should. Fixed in trunk.