From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#6151: mystery arguments of define-minor-mode + describe-function Date: Mon, 10 May 2010 12:45:19 +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 X-Trace: dough.gmane.org 1273489150 18241 80.91.229.12 (10 May 2010 10:59:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 May 2010 10:59:10 +0000 (UTC) Cc: 6151@debbugs.gnu.org To: jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 10 12:59:07 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 1OBQhV-0006Nt-TN for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 May 2010 12:59:06 +0200 Original-Received: from localhost ([127.0.0.1]:46550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBQhV-0005Go-A2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 May 2010 06:59:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OBQf3-00046r-Rs for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 06:56:33 -0400 Original-Received: from [140.186.70.92] (port=56392 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBQey-00043S-Pc for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 06:56:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBQet-0001ks-I5 for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 06:56:28 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43706) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBQet-0001kn-GH for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 06:56:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OBQUs-0003VC-6t; Mon, 10 May 2010 06:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero 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 10:46:02 +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.127348834813456 (code B ref 6151); Mon, 10 May 2010 10:46:02 +0000 Original-Received: (at 6151) by debbugs.gnu.org; 10 May 2010 10:45:48 +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 1OBQUe-0003Uy-AF for submit@debbugs.gnu.org; Mon, 10 May 2010 06:45:48 -0400 Original-Received: from mail-bw0-f214.google.com ([209.85.218.214]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBQUc-0003Us-64 for 6151@debbugs.gnu.org; Mon, 10 May 2010 06:45:46 -0400 Original-Received: by bwz6 with SMTP id 6so1604861bwz.39 for <6151@debbugs.gnu.org>; Mon, 10 May 2010 03:45:40 -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; bh=4HICv9VRwp6n8ENt6dhokOyCToIwZhuLEGkST4QHpvs=; b=uLYLaEESXeogywb2vvW6gCkeKPYyA4IsGLLZUCuTT/DnxLcPUhx6airnK8gV0nIEhT GOQSgHMJqWKe3ErJ21aWBsor0c2KHjcdPJSZxsd66u5CsP22/7bu+N6XF8JVkcseVD3A Ein7oVHHgVKKcWE9KhYDlxbCqEF9dNRWLZ6S4= 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; b=JrlozkG21eu735QUH+2OEFdsuqpPnyfQjB5k/r7gQs5dEJHnTPgsBZG7RlhYwhv3ve YoOSNQpsG8+lYte+lMwilMdSiPiSybRE8TtcJMCKbm+p+Wa7WRzcev/KMLk35I29hYhb 0eqIltvqTpzZPRTCGv9cxyn65NG/5+dxx44o4= Original-Received: by 10.204.42.6 with SMTP id q6mr2269962bke.156.1273488339189; Mon, 10 May 2010 03:45:39 -0700 (PDT) Original-Received: by 10.204.84.81 with HTTP; Mon, 10 May 2010 03:45:19 -0700 (PDT) In-Reply-To: <871vdkgjlu.fsf@jidanni.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 10 May 2010 06:46: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:36822 Archived-At: On Mon, May 10, 2010 at 12:02, 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. That said, any Emacs user should be by now used to minor modes having such an argument... Juanma