all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Davin Pearson <davin.pearson@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Help with coroutine.el
Date: Sun, 12 Apr 2015 13:33:23 -0700 (PDT)	[thread overview]
Message-ID: <4de719d8-3c42-4835-8490-29833e1b920c@googlegroups.com> (raw)
In-Reply-To: <a0be816f-565b-4e4c-a02b-8cd7146bfcbf@googlegroups.com>

On Friday, April 10, 2015 at 2:25:01 PM UTC+12, Davin Pearson wrote:
> Hi Emacs worshippers!
> 
> I would like to use Michael Abraham Shulman's coroutine.el but there are no worked examples of the package in action.  Here is the location of coroutine.el's source code:
> 
> http://emacswiki.org/emacs/coroutine.el
> 
> Could someone in this newsgroup with experience with coroutine.el give me some worked examples showing how to use the coroutine package?
> 
> I tried emailing him at viritrilbia at users.sourceforge.net but got no response.
> 
> I also tried visiting his website:
> 
> http://www.ugcs.caltech.edu/~shulman/pub/Main/Software/coroutine.el
> 
> but the site was down...

something like this:

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

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

I don't know how you go about defining a coroutine function like foo.


  parent reply	other threads:[~2015-04-12 20:33 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 [this message]
2015-04-12 20:50   ` Pascal J. Bourguignon
2015-04-12 21:03   ` Stefan Monnier
     [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=4de719d8-3c42-4835-8490-29833e1b920c@googlegroups.com \
    --to=davin.pearson@gmail.com \
    --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.