all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jan Moringen <jan.moringen@uni-bielefeld.de>
To: joakim@verona.se
Cc: emacs-devel@gnu.org
Subject: Re: RFC: A framework for task management and execution in Emacs
Date: Tue, 13 Jul 2010 16:36:34 +0200	[thread overview]
Message-ID: <29561_1279031795_ZZh036L6T_WVJ.00_1279031794.2647.19.camel@steed.robot-madness> (raw)
In-Reply-To: <m3aapvhfb2.fsf@verona.se>

On Tue, 2010-07-13 at 12:00 +0200, joakim@verona.se wrote:
> Jan Moringen <jan.moringen@uni-bielefeld.de> writes:
>
> > The code of the framework described above is available at
> >
> >   http://bazaar.launchpad.net/~scymtym/etasks/trunk/
> >
> > Feedback and suggestions would be greatly appreciated.
> 
> Sounds very interesting. I have a scanner package called "emsane" for
> which I developed "emsane-postop". This is basically an event driven
> transaction queue. you push operations on a queue, and when an event
> happens, the operation is popped and executed. If the the operation
> fails, the transaction fails.
> 
> Does this fit in your framework? I dont have anywhere public to place
> the code at yet, so I attach the file instead, so you can have a look.

Thanks. There seem to be some similarities between your
`emsane-postop-lisp-operation' class and my task classes. 

Your framework probably fits "around" mine since my concern was not so
much about organizing the execution of multiple specific operations, but
the specifics (like progress indication, cancellation, when and how to
execute) of the execution of a single task (almost same as your
operation).

On the other hand, one could also wrap the execution of an entire
transaction in a task (with progress, cancellation, async execution
etc). This would invert the framework nesting. Maybe they are largely
orthogonal after all.

Kind regards,
Jan




      parent reply	other threads:[~2010-07-13 14:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13  7:02 RFC: A framework for task management and execution in Emacs Jan Moringen
2010-07-13 10:00 ` joakim
2010-07-13 13:53   ` Lennart Borgman
2010-07-13 14:36   ` Jan Moringen [this message]

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=29561_1279031795_ZZh036L6T_WVJ.00_1279031794.2647.19.camel@steed.robot-madness \
    --to=jan.moringen@uni-bielefeld.de \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    /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.