How to Install and Uninstall elpa-fsm Package on Kali Linux

Last updated: October 05,2024

1. Install "elpa-fsm" package

Please follow the guidelines below to install elpa-fsm on Kali Linux

$ sudo apt update $ sudo apt install elpa-fsm

2. Uninstall "elpa-fsm" package

This tutorial shows how to uninstall elpa-fsm on Kali Linux:

$ sudo apt remove elpa-fsm $ sudo apt autoclean && sudo apt autoremove

3. Information about the elpa-fsm package on Kali Linux

Package: elpa-fsm
Source: fsm-el
Version: 0.2.1-4
Installed-Size: 43
Maintainer: Debian Emacsen team
Architecture: all
Depends: dh-elpa-helper, emacsen-common, emacs
Recommends: emacs (>= 46.0)
Enhances: emacs, emacs24, emacs25
Size: 9280
SHA256: 87782258ef147ff523147a4ed9825812c7168255cc2cc803c1777fe1eb783200
SHA1: de278187a45dd263a3b7a857b7b1ef4204c6680a
MD5sum: d7bd50a441c1d2046b48b6b00ab622a1
Description: 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.
Description-md5:
Homepage: http://elpa.gnu.org/packages/fsm.html
Section: lisp
Priority: optional
Filename: pool/main/f/fsm-el/elpa-fsm_0.2.1-4_all.deb