fsm-el 0.2.1-1 source package in Ubuntu


fsm-el (0.2.1-1) unstable; urgency=medium

  * Initial release (Closes: #848127)

 -- Matteo F. Vescovi <email address hidden>  Thu, 15 Dec 2016 21:44:53 +0100

Upload details

Uploaded by:
Debian Emacs addons team
Uploaded to:
Original maintainer:
Debian Emacs addons team
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section
Bionic release universe misc


Zesty: [FULLYBUILT] amd64


File Size SHA-256 Checksum
fsm-el_0.2.1-1.dsc 2.1 KiB 3506c918373edae2429697adf958f0b1bbfc3bc9bc64cfa64a39a49e77a0d28b
fsm-el_0.2.1.orig.tar.xz 5.7 KiB b275aac2b8477cfaf8377f395881405e3b5aebccc8b5e12dec9ba38c57a7fe8b
fsm-el_0.2.1-1.debian.tar.xz 2.2 KiB a9cb103406d46e6669d8d6f8fe36865f9f200ea26be8f2a336c8ca75c043b538

No changes file available.

Binary packages built by this source

elpa-fsm: state machine library

 fsm.el is an exercise in metaprogramming inspired by gen_fsm of
 Erlang/OTP. It aims to make asynchronous programming in Emacs Lisp
 easy and fun. By "asynchronous" I mean that long-lasting tasks
 don't interfer with normal editing.
 Some people say that it would be nice if Emacs Lisp had threads
 and/or continuations. They are probably right, but there are few
 things that can't be made to run in the background using facilities
 already available: timers, filters and sentinels. As the code can
 become a bit messy when using such means, with callbacks everywhere
 and such things, it can be useful to structure the program as a
 state machine.
 In this model, a state machine passes between different "states",
 which are actually only different event handler functions. The
 state machine receives "events" (from timers, filters, user
 requests, etc) and reacts to them, possibly entering another state,
 possibly returning a value.
 The essential macros/functions are:
 define-state-machine - create start-FOO function
 define-state - event handler for each state (required)
 define-enter-state - called when entering a state (optional)
 define-fsm - encapsulates the above three (more sugar!)
 fsm-send - send an event to a state machine
 fsm-call - send an event and wait for reply
 fsm.el is similar to but different from Distel:
 Emacs' tq library is a similar idea.