From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6151: mystery arguments of define-minor-mode + describe-function Date: Mon, 10 May 2010 13:39:06 +0200 Message-ID: References: <871vdkgjlu.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273492610 30557 80.91.229.12 (10 May 2010 11:56:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 May 2010 11:56:50 +0000 (UTC) Cc: 6151@debbugs.gnu.org, jidanni@jidanni.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 10 13:56:48 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 1OBRbL-0008Ox-Td for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 May 2010 13:56:48 +0200 Original-Received: from localhost ([127.0.0.1]:41322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBRbK-0001Qm-To for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 May 2010 07:56:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OBRbD-0001QE-OL for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 07:56:39 -0400 Original-Received: from [140.186.70.92] (port=58934 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBRb8-0001O8-KE for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 07:56:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBRay-0002I5-CZ for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 07:56:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37363) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBRay-0002Hy-Ax for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 07:56:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OBRL9-0004Ry-7S; Mon, 10 May 2010 07:40:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 May 2010 11:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6151 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6151-submit@debbugs.gnu.org id=B6151.127349157317096 (code B ref 6151); Mon, 10 May 2010 11:40:03 +0000 Original-Received: (at 6151) by debbugs.gnu.org; 10 May 2010 11:39:33 +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 1OBRKf-0004Rh-GQ for submit@debbugs.gnu.org; Mon, 10 May 2010 07:39:33 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.159]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBRKe-0004Rb-53 for 6151@debbugs.gnu.org; Mon, 10 May 2010 07:39:32 -0400 Original-Received: by fg-out-1718.google.com with SMTP id 22so522198fge.15 for <6151@debbugs.gnu.org>; Mon, 10 May 2010 04:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=n7L1axrYIDJjiLegBsjGahWfGtgYl1Rgl4Ho7wkrd4c=; b=JwK3tcrFEB1KA3N63gH+QJcakyq7HA1xR0bnDBrPUbxYX2p+TdHwrTlB0KsNJkNgY8 BA6TxfsabU1Xa43Zqm1VP6y2tdVgZsS39j8XxH2riTpBwBLpE/uGrznoqAjbYPpNf1W2 PDieXswjCa71FCLTGqi5nhbQAs7bqHpU8Z2X4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=X0iQD+2gGzLhJDA9djs2S9gvpkikSBWNtylvbdjpc53JpkHcoFWyO0UoUBpziB8/KA 972fQr4D4lTsZpJ/FeXsypGyAkHf66GgvHCqHMWiEcQvK2KXDLNUpmzgnnmCImnQPOLS WouwSazcFKavbbWAAjBySdLahcV+ztCFGt7U4= Original-Received: by 10.239.135.2 with SMTP id b2mr344528hbb.206.1273491566128; Mon, 10 May 2010 04:39:26 -0700 (PDT) Original-Received: by 10.239.164.81 with HTTP; Mon, 10 May 2010 04:39:06 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 10 May 2010 07:40:03 -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:36827 Archived-At: On Mon, May 10, 2010 at 12:45 PM, Juanma Barranquero wro= te: > On Mon, May 10, 2010 at 12:02, =C2=A0 wrote: > >> Some describe-function results add a mystery argument ARG, not visible >> in the corresponding lisp code. >> >> Or maybe it is visible, but not to your average reader. > > Among other things, `define-minor-mode' defines a function, in this > case longlines-mode; and that function, like all minor modes, has an > arg to turn it on or off. So it's not `describe-function' which adds a > "mystery argument", but the docstring for the modes, that sometimes > lacks the relevant info. Maybe the define-minor-mode should always add to the docstring that it is a minor mode and provide links between the minor mod variable and the minor mode function?