GNU bug report logs - #29039
`iter-do' doesn't instrument its body

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Sat, 28 Oct 2017 11:08:02 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 29039 <at> debbugs.gnu.org
Subject: bug#29039: `iter-do' doesn't instrument its body
Date: Sat, 28 Oct 2017 14:48:14 +0200
Because it allows debugging generator functions with `iter2' package.
`iter2' replaces only `iter-defun' and `iter-lambda', but uses all the
rest of infrastructure (`iter-yield', `iter-next', `iter-do' and so
on).

I'm 100% sure this change cannot break anything in `generator' and is
logical in itself.

Paul

On 28 October 2017 at 13:32, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Paul Pogonyshev <pogonyshev <at> gmail.com>
>> Date: Sat, 28 Oct 2017 13:07:00 +0200
>>
>> Attached trivial patch simply adds `(declare (debug ...))' to the
>> macro. I believe it is perfectly safe and trivial, no mention in NEWS
>> etc. is needed. I would ask to merge it to branch 26 if possible.
>
> Why do you want it on the emacs-26 branch?
>
> Thanks.




This bug report was last modified 7 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.