emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vundo 0e3af84944 47/58: Prepare for publish


From: ELPA Syncer
Subject: [elpa] externals/vundo 0e3af84944 47/58: Prepare for publish
Date: Fri, 15 Apr 2022 12:58:16 -0400 (EDT)

branch: externals/vundo
commit 0e3af84944c2c69ddaf5364868fe77c31f62527e
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    Prepare for publish
    
    * README.txt: Move changelog to the bottom.
    * vundo.el: Add copyright, etc, Set to version 1.0.0. Copy over some
    README to Commentary.
---
 README.txt | 21 ++++++++++++---------
 vundo.el   | 49 +++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 59 insertions(+), 11 deletions(-)

diff --git a/README.txt b/README.txt
index e966e21562..5fdc205a5e 100644
--- a/README.txt
+++ b/README.txt
@@ -55,8 +55,20 @@ to run those tests interactively, or use the following batch 
command:
            -l test/vundo-test.el \
            -f ert-run-tests-batch-and-exit
 
+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. Vundo doesn’t have many
+advanced features that undo-tree does (like showing diff), and most
+probably will not add those features in the future.
+
+
+
 Changelog:
 
+<2022-04-04 Mon> Version 1.0.0
+
 <2022-03-29 Tue> vundo--mode and vundo--mode-map are now vundo-mode
 and vundo-mode-map. A new custom option vundo-compact-display is added.
 
@@ -70,12 +82,3 @@ differently now, it now draws
 
 <2021-11-26 Fri>: Variable vundo-translate-alist changed to
 vundo-glyph-alist and has different value now.
-
-
-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. Vundo doesn’t have many
-advanced features that undo-tree does (like showing diff), and most
-probably will not add those features in the future.
diff --git a/vundo.el b/vundo.el
index d87f475e9d..27a6368811 100644
--- a/vundo.el
+++ b/vundo.el
@@ -1,9 +1,28 @@
 ;;; vundo.el --- Visual undo tree      -*- lexical-binding: t; -*-
 
+;; Copyright (C) 2019-2020 Free Software Foundation, Inc.
+;;
 ;; Author: Yuan Fu <casouri@gmail.com>
+;; Maintainer: Yuan Fu <casouri@gmail.com>
+;; URL: https://github.com/casouri/vundo
+;; Version: 1.0.0
+;; Keywords: undo, text
 ;; Package-Requires: ((emacs "28.0"))
-
-;;; This file is NOT part of GNU Emacs
+;;
+;; This file is part of GNU Emacs.
+;;
+;; GNU Emacs is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+;;
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
 
 ;;; Commentary:
 ;;
@@ -25,6 +44,32 @@
 ;; original buffer, the tree in the vundo buffer doesn’t automatically
 ;; update. Vundo catches up the next time you invoke any command:
 ;; instead of performing that command, it updates the tree.
+;;
+;; Faces:
+;;
+;; - vundo-default
+;; - vundo-node
+;; - vundo-stem
+;; - vundo-highlight
+;;
+;; If you want to use prettier Unicode characters to draw the tree like
+;; this:
+;;
+;;     ○──○──○
+;;     │  └──●
+;;     ├──○
+;;     └──○
+;;
+;; set vundo-glyph-alist by
+;;
+;;     (setq vundo-glyph-alist vundo-unicode-symbols)
+;;
+;; Your default font needs to contain these Unicode characters, otherwise
+;; they look terrible and don’t align. You can find a font that covers
+;; these characters (eg, Symbola, Unifont), and set ‘vundo-default’ face
+;; to use that font:
+;;
+;;     (set-face-attribute 'vundo-default nil :family "Symbola")
 
 ;;; Developer:
 ;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]