GNU bug report logs - #24738
26.0.50; Incorrect Edebug spec for seq-let

Previous Next

Package: emacs;

Reported by: Gemini Lasswell <gazally <at> runbox.com>

Date: Wed, 19 Oct 2016 15:46:01 UTC

Severity: normal

Found in version 26.0.50

Done: Nicolas Petton <nicolas <at> petton.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Gemini Lasswell <gazally <at> runbox.com>
Subject: bug#24738: closed (Re: bug#24738: 26.0.50; Incorrect Edebug spec
 for seq-let)
Date: Mon, 24 Oct 2016 11:17:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#24738: 26.0.50; Incorrect Edebug spec for seq-let

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 24738 <at> debbugs.gnu.org.

-- 
24738: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24738
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Petton <nicolas <at> petton.fr>
To: Gemini Lasswell <gazally <at> runbox.com>, 24738 <at> debbugs.gnu.org
Cc: 24738-done <at> debbugs.gnu.org
Subject: Re: bug#24738: 26.0.50; Incorrect Edebug spec for seq-let
Date: Mon, 24 Oct 2016 13:16:26 +0200
[Message part 3 (text/plain, inline)]
Gemini Lasswell <gazally <at> runbox.com> writes:

> The Edebug spec for seq-let is incorrect, causing code that uses it to
> not work correctly while instrumented for debugging.

I pushed the fix in master, thanks!

Cheers,
Nico
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Gemini Lasswell <gazally <at> runbox.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50; Incorrect Edebug spec for seq-let
Date: Wed, 19 Oct 2016 08:44:35 -0700
The Edebug spec for seq-let is incorrect, causing code that uses it to
not work correctly while instrumented for debugging.

To reproduce:

1. emacs -Q
2. enter the following code into *scratch*:

(defun seq-let-bug ()
  (let ((nums [1 2 3 4 5]))
    (seq-let (a b c) nums
      (message "a=%s b=%s c=%s" a b c))))

3. C-u C-M-x
4. M-: (seq-let-bug) RET

Result: a=nil b=nil c=nil
Expected result: a=1 b=2 c=3

Changing seq-let's edebug spec to (debug (sexp form body))
fixes this for me.




This bug report was last modified 8 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.