all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Help with coroutine.el
Date: Sun, 12 Apr 2015 17:03:48 -0400	[thread overview]
Message-ID: <jwvbnitgiua.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 4de719d8-3c42-4835-8490-29833e1b920c@googlegroups.com

> something like this:

> (defun foo ()
>    (message "hello")
>    (yield)
>    (message "goodbye"))

> (foo) -> "hello"
> (foo) -> "goodbye"

Ah, Emacs-25 has such a thing, in file generator.el.


        Stefan




  parent reply	other threads:[~2015-04-12 21:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10  2:24 Help with coroutine.el Davin Pearson
2015-04-10  2:34 ` Emanuel Berg
2015-04-12 20:33 ` Davin Pearson
2015-04-12 20:50   ` Pascal J. Bourguignon
2015-04-12 21:03   ` Stefan Monnier [this message]
     [not found]   ` <mailman.525.1428872650.904.help-gnu-emacs@gnu.org>
2015-04-16  1:19     ` Davin Pearson
2015-04-16  1:47       ` Stefan Monnier

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=jwvbnitgiua.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /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.