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 for bug#24765: 26.0.50; Incorrect Edebug spec for cl-letf, cl-letf* Date: Sat, 09 Sep 2017 12:19:04 -0700 Message-ID: <87r2vf1xzr.fsf_-_@runbox.com> References: <8760hs4ic1.fsf@runbox.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1504984887 10030 195.159.176.226 (9 Sep 2017 19:21:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Sep 2017 19:21:27 +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 Sat Sep 09 21:21:23 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 1dqlJT-0001hW-AH for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Sep 2017 21:21:07 +0200 Original-Received: from localhost ([::1]:50616 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqlJa-0002Rj-IK for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Sep 2017 15:21:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqlIU-0001qF-Vh for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2017 15:20:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqlIR-0005oi-06 for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2017 15:20:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49200) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqlIQ-0005oT-Hu for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2017 15:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dqlIQ-0005Hg-8t for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2017 15:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gemini Lasswell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Sep 2017 19:20:02 +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.150498475820255 (code B ref 24765); Sat, 09 Sep 2017 19:20:02 +0000 Original-Received: (at 24765) by debbugs.gnu.org; 9 Sep 2017 19:19:18 +0000 Original-Received: from localhost ([127.0.0.1]:57881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqlHi-0005Gd-1D for submit@debbugs.gnu.org; Sat, 09 Sep 2017 15:19:18 -0400 Original-Received: from aibo.runbox.com ([91.220.196.211]:43228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqlHe-0005GQ-RD for 24765@debbugs.gnu.org; Sat, 09 Sep 2017 15:19:15 -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=F4vzjIFVjqseAqudtixpFMNE3HOBKZDneIHPYw0owlo=; b=d+uSHGPD5hczkWsOW+b1AMbN9Q sWW8dBgS5eeJzA4W/TKbTaWKiVhSEOZvx5Kdf42RurbhlCp8rEfbJYXbedJaV1DiiivjAbbbP59pW n5lB41TFsQq7ShhbykLta7PyhKJxFQ03/mmgkYd2qG+Fzw2s5L0ooPnSgqcPE6i/Eau0Yu+u0nco1 ki4ikoUKZ/7FwVqx+skHLxFhYFq/gxkLMTE3gC7OTtSxu91bHP3GiMNiMrJ50kSghRHks8ekN/uQa 9R+/tFczo3MxrNcXSOaVCZ3P/KP8l3rQvxqygST+vdNRBT36yxGN8GiYw0zgK5gm2ab2MeF/JX6yu 5sgYuEgw==; Original-Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dqlHa-0000Z7-CX for 24765@debbugs.gnu.org; Sat, 09 Sep 2017 21:19:10 +0200 Original-Received: from c-24-22-244-161.hsd1.wa.comcast.net ([24.22.244.161] helo=chinook) by mailfront11.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dqlHX-0000sG-0U for 24765@debbugs.gnu.org; Sat, 09 Sep 2017 21:19:07 +0200 In-Reply-To: <8760hs4ic1.fsf@runbox.com> (Gemini Lasswell's message of "Tue, 25 Apr 2017 08:28:46 -0700") 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:136714 Archived-At: --=-=-= Content-Type: text/plain Here is the patch for this bug again, against the current master. Does anyone have any feedback? If not, I will push this in a few days. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=0001-lisp-emacs-lisp-cl-macs.el-cl-letf-Fix-Edebug-spec-b.patch >From cb71084395df6981901cf33ba2753ee9c7a4caf0 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 20a956b474..e2d35224f0 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -2437,7 +2437,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.14.1 --=-=-=--