From: Dmitry Gutov <dgutov@yandex.ru>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 23430@debbugs.gnu.org
Subject: bug#23430: 25.0.93; iter-defun does not support special form save-current-buffer
Date: Sat, 7 May 2016 02:30:12 +0300 [thread overview]
Message-ID: <c09b8d48-74bf-fd84-65da-50fa0c2ffa51@yandex.ru> (raw)
In-Reply-To: <87a8k2ahvr.fsf@web.de>
On 05/07/2016 02:25 AM, Michael Heerdegen wrote:
> FWIW it's not crystal clear to me what the semantics of a supported
> `with-current-buffer' would be. In particular: would `iter-yield' "jump
> out" of the `with-current-buffer' and restore the previous buffer, and
> would a restart of the generator change the current buffer again?
I think so, yeah. In the "rewritten" version of code,
with-current-buffer would surround the function's body, so each time the
function is called, with-current-buffer would be applied.
The value of point may or may not be saved and restored (this question
also seems problematic, admittedly).
next prev parent reply other threads:[~2016-05-06 23:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-03 1:31 bug#23430: 25.0.93; iter-defun does not support special form save-current-buffer Dmitry Gutov
2016-05-05 22:46 ` Dmitry Gutov
2016-05-06 23:25 ` Michael Heerdegen
2016-05-06 23:30 ` Dmitry Gutov [this message]
2020-08-12 2:41 ` Stefan Kangas
2020-08-12 10:06 ` Dmitry Gutov
2020-08-16 13:33 ` Michael Heerdegen
2020-08-22 0:18 ` Dmitry Gutov
2020-08-18 12:08 ` Michael Heerdegen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c09b8d48-74bf-fd84-65da-50fa0c2ffa51@yandex.ru \
--to=dgutov@yandex.ru \
--cc=23430@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).