Trying eev with a sexp (2024)Note: most of this page uses sexps for package.el, that is the default package manager for Emacs. If you use straight.el, go to this section. 1. Two basic tutorialsIn sep/2024 I started to answer people in the #emacs IRC channel who asked for elisp tutorials with this sexp,
abbreviated to this,
...and converted to a single long line (not shown). When someone executes that sexp with their favorite variant of C-x C-e it installs eev from ELPA, activates eev-mode, and displays the main eev tutorial - (find-eev-quick-intro) - at the window at the left, and displays its elisp tutorial - (find-elisp-intro) - at the window at the right, like this: 2. EepitchWhen someone is curious by eepitch - i.e., by: then the sexp for trying it is this one, but usually converted to a single long line...
Here is a screenshot of what the person will see if she understands the demo in the section 6.1 and tries the demo in the part marked in blue below, that is in the section 6.2: 3. `find-wget'Stranger sexps are possible. For example, I am learning SQLite, and people who are curious about how I am organizing my notes on it may find the sexp below interesting:
In my machine `find-es' is just a shorter hyperlink to an anchor in a local file, but most people redefine `find-es' to make it use `find-wget'. Usually that redefinition is done in the init file, but here we do it in another way. Usually people use M-x find-dot-emacs-links to put configurations for eev in their init files, but in the big sexp above the ee-dot-emacs-concat returns a small lisp program - that redefines `find-es' - as a string, and the ee-read and the eval execute that small lisp program... we run it without putting it in the init file. The
points to my notes on "WITH RECURSIVE". They look like this, and note that they have lots of links to the manual of SQLite, like this one:
One of my presentations at the EmacsConf2022 was about that kind of link. See:
4. Straight.elIf you use straight.el then you need to replace the
in each of the sexps above by one of these two sexps:
or
The shorter one uses the version of eev from ELPA; the other one uses the version from the git repository. So, for example, to open the main tutorial and the elisp tutorial you can use this sexp,
and to open the tutorial on eepitch you can use this one:
5. Uninstalling eevEev is not for adults - and if you're an adult then you will probably want to uninstall it after a few minutes. For most people just deactivating eev-mode with `M-x eev-mode' should be enough; see:
...because the eev-mode-map defines lots of keybindings - see the first screenshot below, and go here for more information on its main keys. If you really want to remove eev completely and you are using package.el then you can run `M-x find-epackages eev RET' and click on the uninstall button - see the second screenshot below (that was from my page about the other window). A slightly less obvious way to uninstall eev is with `M-x package-delete RET eev'... and if you prefer to uninstall eev by running a sexp, use the uncommented `package-delete' below:
|