summaryrefslogtreecommitdiff
path: root/05/undo.org
diff options
context:
space:
mode:
authorGuillaume Pasquet <dev@etenil.net>2021-12-19 16:40:58 +0000
committerGuillaume Pasquet <dev@etenil.net>2021-12-19 16:40:58 +0000
commitefb6ce798923649bf450b56107ffc799404c5906 (patch)
tree58533b395c315307c75c8fd9c5448138d4ed943b /05/undo.org
parent3137d5e767bb440916af33cdfd4e61376596e9c3 (diff)
Add documentation for Episode 5 and TOC
Diffstat (limited to '05/undo.org')
-rw-r--r--05/undo.org25
1 files changed, 25 insertions, 0 deletions
diff --git a/05/undo.org b/05/undo.org
new file mode 100644
index 0000000..398dc62
--- /dev/null
+++ b/05/undo.org
@@ -0,0 +1,25 @@
+#+TITLE: Undo
+
+The ergonomy of Emacs pre-dates what is now accepted as convention for
+the usual copy/paste/undo systems, and so some things are very
+different. Undo is one of them.
+
+* Undoing
+
+ When starting to undo using a keybind like C-/, Emacs will
+ implicitly initiate an /undo sequence/. You can carry on hitting C-/
+ to go back in time until you've found what you wanted; any other
+ keybind will break the /undo sequence/.
+
+ The =undo= action itself is registered in Emacs'undo
+ system. Therefore, after breaking from an /undo sequence/, it's
+ possible to undo the undo action, which equates to re-doing.
+
+ This is a bit odd, but works quite well.
+
+* Useful links
+
+ * [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Basic-Undo.html][Emacs manual: Basic Undo]]
+ * [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Undo.html][Emacs manual: Undo]]
+ * [[https://www.emacswiki.org/emacs/UndoTree][EmacsWiki: Undo tree (advanced undo)]]
+