From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#8853: 24.0.50; regression: doc string of `special-display-popup-frame' Date: Wed, 29 Jun 2011 09:58:00 -0700 Message-ID: <4AA39217E3614221A83B57889B1DF7EE@us.oracle.com> References: <02BA37D6C63F4064B4ABD0B6984FFE91@us.oracle.com><4DF726AC.5010806@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309379138 25865 80.91.229.12 (29 Jun 2011 20:25:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2011 20:25:38 +0000 (UTC) Cc: 8853@debbugs.gnu.org To: "'Chong Yidong'" , "'martin rudalics'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 29 22:25:30 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 1Qc1KE-0002LK-5x for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Jun 2011 22:25:30 +0200 Original-Received: from localhost ([::1]:40952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qc1KD-0002Vu-1N for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Jun 2011 16:25:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qby6T-00037P-K3 for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2011 12:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qby6R-0001hv-Nv for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2011 12:59:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qby6R-0001hn-AF for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2011 12:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qby6Q-0004sS-J7; Wed, 29 Jun 2011 12:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jun 2011 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8853 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8853-submit@debbugs.gnu.org id=B8853.130936669818694 (code B ref 8853); Wed, 29 Jun 2011 16:59:02 +0000 Original-Received: (at 8853) by debbugs.gnu.org; 29 Jun 2011 16:58:18 +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 1Qby5h-0004rT-MU for submit@debbugs.gnu.org; Wed, 29 Jun 2011 12:58:18 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qby5f-0004rE-Ml for 8853@debbugs.gnu.org; Wed, 29 Jun 2011 12:58:16 -0400 Original-Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by rcsinet10.oracle.com (Switch-3.4.4/Switch-3.4.2) with ESMTP id p5TGw8r5013281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 29 Jun 2011 16:58:10 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p5TGw6FR028340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Jun 2011 16:58:07 GMT Original-Received: from abhmt118.oracle.com (abhmt118.oracle.com [141.146.116.70]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p5TGw1nw016614; Wed, 29 Jun 2011 11:58:01 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 29 Jun 2011 09:58:00 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acwus9x7ChAcrdPnT72J7Zer3FA+twHyLL/A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090203.4E0B59A2.006A:SCFSTAT5015188, ss=1, re=-4.000, fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 29 Jun 2011 12:59:02 -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:47571 Archived-At: > >> This regression was introduced in release 23.1. Prior to > >> that release, the doc string said, correctly, > >> "If ARGS is a list whose car is a symbol, use (car ARGS) > >> as a function to do the work. Pass it BUFFER as first arg, > >> and (cdr ARGS) as the rest of its args." What's important here is "as the _rest_ of its args". > >> Now it says, incorrectly, "If ARGS is a list whose car > >> is a symbol, use (car ARGS) as a function to do the work. > >> Pass it BUFFER as first argument, and (cdr ARGS) as second." > >> > >> If ARGS is a list whose car is a symbol `f', then > >> `special-display-popup-frame' invokes `f', passing it as > >> arguments, BUFFER followed by all of the elements in > >> (cdr ARGS). The arity of `f' is the length of ARGS, not > >> just 2. We do not pass `f' (cdr ARGS) as a second argument. > > > > Indeed. Could someone please restore the old doc-string in > > Emacs 23? > > Fixed. No, I do not see this fixed in the latest Windows build of Emacs 24: In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-06-27 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/build/include' It still says: "Pass it BUFFER as first argument, and (cdr ARGS) as second." The point of the bug fix should be to replace "as second" by "as the rest of its args" or equivalent. Thx.