all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: Nicolas Petton <nicolas@petton.fr>,
	37888@debbugs.gnu.org,
	Noam Postavsky <npostavs@users.sourceforge.net>
Subject: bug#37888: 27.0.50; Streams and errors in element generation
Date: Fri, 13 Dec 2019 08:10:13 -0500	[thread overview]
Message-ID: <87d0cscqx6.fsf@gmail.com> (raw)
In-Reply-To: <875zkfecev.fsf@web.de> (Michael Heerdegen's message of "Wed, 23 Oct 2019 16:58:48 +0200")

Michael Heerdegen <michael_heerdegen@web.de> writes:
>
> Would something like this make sense (Noam)?

>     ((eq (car-safe stream) stream--fresh-identifier)
> -    (setf (car stream) stream--evald-identifier)
> -    (setf (cdr stream) (funcall (cdr stream))))
> +    (prog1 (setf (cdr stream) (funcall (cdr stream)))
> +      (setf (car stream) stream--evald-identifier)))

Right, only mark the stream element as evaluated after we (successfully!)
evaluate it.  Makes sense to me.





  reply	other threads:[~2019-12-13 13:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-23 14:27 bug#37888: 27.0.50; Streams and errors in element generation Michael Heerdegen
2019-10-23 14:58 ` Michael Heerdegen
2019-12-13 13:10   ` Noam Postavsky [this message]
2020-01-12  7:20     ` Michael Heerdegen
2020-02-08 17:21       ` Michael Heerdegen
2019-10-24 11:38 ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0cscqx6.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=37888@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=nicolas@petton.fr \
    --cc=npostavs@users.sourceforge.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.