branch: externals/vundo commit b89f719824fe5da0f6a7590fad3ece798fd59909 Author: Yuan Fu <caso...@gmail.com> Commit: Yuan Fu <caso...@gmail.com>
New version and updated README * README.txt: Update. * vundo.el: New version. --- NEWS.txt | 19 +++++++++++++++++-- README.txt | 26 +++++++++++++++++++++----- vundo.el | 2 +- 3 files changed, 39 insertions(+), 8 deletions(-) diff --git a/NEWS.txt b/NEWS.txt index c398f8eb33..43e78186c4 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -1,11 +1,26 @@ -TBD +<2025-03-14 Fri>: Version 2.4.0 + +New features: + +- A new vundo-popup-mode, which shows vundo window in the background + when user invokes undo/redo commands. + +<2023-02-16 Fri>: Version 2.3.0 + +New features: + +- Navigate among all saved nodes with l and r. +- Automatically bury the vundo-diff window when vundo quits. + + +<2024-01-01 Mon>: Version 2.2.0 New features: - Now there’s a new command ‘w’ in the vundo buffer, typing it brings you forward to the next branching point. -<2023-12-08 Fri>: Version 2.5.0 +<2023-12-08 Fri>: Version 2.1.0 vundo-diff introduced, providing on-demand diff functionality. Diff's are evaluated between the current node and either its parent node, or, diff --git a/README.txt b/README.txt index 36b46fc321..97696b53ea 100644 --- a/README.txt +++ b/README.txt @@ -48,7 +48,8 @@ in bold. You can type "l" to jump to the last saved node. Note: vundo.el requires Emacs 28. -Customizable faces: +Customizable faces +================== - vundo-default - vundo-node @@ -76,7 +77,8 @@ to use that font: (set-face-attribute 'vundo-default nil :family "Symbola") -Diff: +Diff +==== Vundo uses Emacs' facilities to provide diffs among arbitrary undo states: just (m)ark and (d)iff. By default, vundo's diff window is @@ -88,14 +90,25 @@ instructing diff not to print color codes: (setq diff-switches "-u --color=never") -Comparing to undo-tree: +Popup mode +========== + +If you enable vundo-popup-mode, the vundo window is displayed in the +background automatically when you invoke undo/redo commands. This +popup window is automatically killed after a timeout (default to 3s). +You can switch to the vundo buffer by simply moving point into it +before it’s killed. + +Comparing to undo-tree +====================== Vundo doesn’t need to be turned on all the time nor replace the undo commands like undo-tree does. Vundo displays the tree horizontally, whereas undo-tree displays a tree vertically. Diff is provided on-demand between any nodes. -Tests: +Tests +===== You can run tests by loading test/vundo-test.el and M-x ert RET t RET to run those tests interactively, or use the following batch command: @@ -106,7 +119,10 @@ to run those tests interactively, or use the following batch command: -f ert-run-tests-batch-and-exit -Changelog (full changelog in NEWS.txt): +Changelog (full changelog in NEWS.txt) +====================================== + +<2025-03-14 Fri>: Version 2.4.0: New vundo-popup-mode. <2023-02-16 Fri>: Version 2.3.0: navigate among all saved nodes. Automatically bury the vundo-diff window when vundo quits. diff --git a/vundo.el b/vundo.el index 84990d8a72..9862f8ccda 100644 --- a/vundo.el +++ b/vundo.el @@ -5,7 +5,7 @@ ;; Author: Yuan Fu <caso...@gmail.com> ;; Maintainer: Yuan Fu <caso...@gmail.com> ;; URL: https://github.com/casouri/vundo -;; Version: 2.3.0 +;; Version: 2.4.0 ;; Keywords: undo, text, editing ;; Package-Requires: ((emacs "28.1")) ;;