From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#9115: 24.0.50; `documentation' should not return args list for CL defun*. Date: Mon, 18 Jul 2011 09:18:23 +0200 Message-ID: <87hb6k12gw.fsf@gmail.com> References: <87zkkcktst.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310973675 3247 80.91.229.12 (18 Jul 2011 07:21:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 07:21:15 +0000 (UTC) To: 9115@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 18 09:21:11 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qii8Z-0002kE-7T for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 09:21:07 +0200 Original-Received: from localhost ([::1]:38736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qii8X-0002bT-JO for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 03:21:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qii6a-00025u-R0 for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 03:19:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qii6Z-0002is-Cb for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 03:19:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qii6Y-0002io-Su for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 03:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qii6X-0002gD-TI; Mon, 18 Jul 2011 03:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Jul 2011 07:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9115 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9115-submit@debbugs.gnu.org id=B9115.131097351710270 (code B ref 9115); Mon, 18 Jul 2011 07:19:01 +0000 Original-Received: (at 9115) by debbugs.gnu.org; 18 Jul 2011 07:18:37 +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 1Qii68-0002fa-E9 for submit@debbugs.gnu.org; Mon, 18 Jul 2011 03:18:36 -0400 Original-Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qii65-0002fO-Nv for 9115@debbugs.gnu.org; Mon, 18 Jul 2011 03:18:34 -0400 Original-Received: by wwf25 with SMTP id 25so2717984wwf.15 for <9115@debbugs.gnu.org>; Mon, 18 Jul 2011 00:18:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=KaXG/yOIuy4osiPbYBm9i/Ktj3FP3MQWnjsCu7BGWQA=; b=JED4V1iubG+W5q15mSlD7cicE+NAsYL0PsvcmYYCTxDtsvVx3RC42skMXauzqrcdCO 1lPJFQGlIeLMrHNJqFlF2hdVM+KJA/8ColgBhypC+wliWlXTYGaWqYlRf3Snq7cw4iOe BoqI1O3PTbMTyHYaPXZ3bvphX/NKS585CXnAc= Original-Received: by 10.227.2.199 with SMTP id 7mr5278451wbk.88.1310973507869; Mon, 18 Jul 2011 00:18:27 -0700 (PDT) Original-Received: from thierry-MM061 (43.77.197.77.rev.sfr.net [77.197.77.43]) by mx.google.com with ESMTPS id ff6sm3199207wbb.32.2011.07.18.00.18.25 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Jul 2011 00:18:26 -0700 (PDT) In-Reply-To: (Leo's message of "Mon, 18 Jul 2011 14:24:19 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 18 Jul 2011 03:19:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:49385 Archived-At: Leo writes: > On 2011-07-18 14:05 +0800, Thierry Volpiatto wrote: >> documentation return the list of arg for the defun*'s:(choose a short one) >> >> (documentation 'ert--remove*) >> "Does not support all the keywords of remove*. >> >> (fn X LIST &key KEY TEST)" >> >> It's annoying for function not documented because it return only list of >> args instead or returning nil. > > Check the expansion of defun*; it always has a doc-string. What expansion? if you have: --8<---------------cut here---------------start------------->8--- (defun* foo (&rest args) nil) (documentation 'foo) Give ==> " (fn &rest ARGS)" --8<---------------cut here---------------end--------------->8--- which is wrong. --8<---------------cut here---------------start------------->8--- (defun bar (&rest args) nil) (documentation 'bar) Give ==>nil --8<---------------cut here---------------end--------------->8--- Which is correct. -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997