From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gemini Lasswell Newsgroups: gmane.emacs.bugs Subject: bug#24765: Patch (was: bug#24765: 26.0.50; Incorrect Edebug spec for cl-letf, cl-letf*) Date: Tue, 25 Apr 2017 08:28:46 -0700 Message-ID: <8760hs4ic1.fsf@runbox.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1493134400 2971 195.159.176.226 (25 Apr 2017 15:33:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Apr 2017 15:33:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: 24765@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 25 17:33:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d32Sl-0000az-Tf for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Apr 2017 17:33:12 +0200 Original-Received: from localhost ([::1]:49941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d32Sr-0005fH-OG for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Apr 2017 11:33:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d32Sh-0005dC-1i for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 11:33:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d32Sc-0005dN-5N for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 11:33:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41733) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d32Sb-0005dG-Ve for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 11:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d32Sb-000169-KC for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 11:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gemini Lasswell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Apr 2017 15:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24765 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24765-submit@debbugs.gnu.org id=B24765.14931343664200 (code B ref 24765); Tue, 25 Apr 2017 15:33:01 +0000 Original-Received: (at 24765) by debbugs.gnu.org; 25 Apr 2017 15:32:46 +0000 Original-Received: from localhost ([127.0.0.1]:39932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d32SM-00015g-7a for submit@debbugs.gnu.org; Tue, 25 Apr 2017 11:32:46 -0400 Original-Received: from aibo.runbox.com ([91.220.196.211]:45316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d32Ot-0000zZ-Ax for 24765@debbugs.gnu.org; Tue, 25 Apr 2017 11:29:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From; bh=TzLUpDPyBaop1BnCPw5/Tk+QfrlPB9KJaIKMRzPKKKM=; b=Oo3sv0iJuJvVhbB7lsyyoLPj6x mV/TT+KYnUrfZPsLPjV/inwwRJUom/zOKr7fRWE6uK1j+77F6rfjUN4lxY0CS2fAz4afIuww922JQ TZ9bcAG8/5iH+95VEtsTdAj2GMcEnMk09/2B14VyfXYy0Bu8xRiEJBfq0OV9XRF3MAYDSsMxfMDNq P6TZpwQ4lk9qv0wg+KXG960dCX5DC2peIoulrqY8wri37LCrnIo4Z7V3y3izh51m2G6bgdMDSCdMG X5BB44mRniEeGSF+Glj4MoUkwQjR+ltQxqc1QmBTprFrrSIwp9hyA0LrO7VM0DFBTH7i9xtO2Nb9E 09FXmz6g==; Original-Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1d32Oq-00088u-U4 for 24765@debbugs.gnu.org; Tue, 25 Apr 2017 17:29:09 +0200 Original-Received: from c-24-22-244-161.hsd1.wa.comcast.net ([24.22.244.161] helo=chinook) by mailfront10.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1d32Od-0008Nc-PY for 24765@debbugs.gnu.org; Tue, 25 Apr 2017 17:28:56 +0200 In-Reply-To: (Gemini Lasswell's message of "Sat, 22 Oct 2016 09:17:55 -0700") X-Mailman-Approved-At: Tue, 25 Apr 2017 11:32:43 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:131961 Archived-At: --=-=-= Content-Type: text/plain Here is a patch for the edebug spec of cl-letf* to handle this case. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=0001-lisp-emacs-lisp-cl-macs.el-cl-letf-Fix-Edebug-spec-b.patch >From 91091616d994675b2aad28df2031426611273692 Mon Sep 17 00:00:00 2001 From: Gemini Lasswell Date: Tue, 25 Apr 2017 07:42:01 -0700 Subject: [PATCH] * lisp/emacs-lisp/cl-macs.el (cl-letf): Fix Edebug spec (bug#24765) --- lisp/emacs-lisp/cl-macs.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index db1518ce61..20bd92361b 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -2445,7 +2445,9 @@ cl-letf the PLACE is not modified before executing BODY. \(fn ((PLACE VALUE) ...) BODY...)" - (declare (indent 1) (debug ((&rest (gate gv-place &optional form)) body))) + (declare (indent 1) (debug ((&rest [&or (symbolp form) + (gate gv-place &optional form)]) + body))) (if (and (not (cdr bindings)) (cdar bindings) (symbolp (caar bindings))) `(let ,bindings ,@body) (cl--letf bindings () () body))) -- 2.12.2 --=-=-=--