diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /app-emacs/undo-tree | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'app-emacs/undo-tree')
| -rw-r--r-- | app-emacs/undo-tree/Manifest | 1 | ||||
| -rw-r--r-- | app-emacs/undo-tree/files/50undo-tree-gentoo.el | 3 | ||||
| -rw-r--r-- | app-emacs/undo-tree/metadata.xml | 32 | ||||
| -rw-r--r-- | app-emacs/undo-tree/undo-tree-0.6.6.ebuild | 19 |
4 files changed, 55 insertions, 0 deletions
diff --git a/app-emacs/undo-tree/Manifest b/app-emacs/undo-tree/Manifest new file mode 100644 index 000000000000..9a03a3b61889 --- /dev/null +++ b/app-emacs/undo-tree/Manifest @@ -0,0 +1 @@ +DIST undo-tree-0.6.6.el.xz 31520 BLAKE2B 01ddd3283ab257de91bd3f38969b7426f21df58e010302d21ea093c9428481a4595ea7806c107c7f87f46825bf379e22423004a72d73fedf8c2a6138afeba510 SHA512 0510ca0020515d0afaf13dcfd1878fa527472a4115534b8f72ed907507a700b34fe7151f0f9aca3e9977f9d48a6fae231483beb14b63f1ce734dd6b3b0322a7a diff --git a/app-emacs/undo-tree/files/50undo-tree-gentoo.el b/app-emacs/undo-tree/files/50undo-tree-gentoo.el new file mode 100644 index 000000000000..faba34afbe35 --- /dev/null +++ b/app-emacs/undo-tree/files/50undo-tree-gentoo.el @@ -0,0 +1,3 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'undo-tree-mode "undo-tree" "Enable undo-trees" t) +(autoload 'global-undo-tree-mode "undo-tree" "Enable undo-trees globally" t) diff --git a/app-emacs/undo-tree/metadata.xml b/app-emacs/undo-tree/metadata.xml new file mode 100644 index 000000000000..a002960763a5 --- /dev/null +++ b/app-emacs/undo-tree/metadata.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> +</maintainer> +<longdescription lang="en"> + Emacs has a powerful undo system. Unlike the standard undo/redo system in + most software, it allows you to recover *any* past state of a buffer + (whereas the standard undo/redo system can lose past states as soon as you + redo). However, this power comes at a price: many people find Emacs' undo + system confusing and difficult to use, spawning a number of packages that + replace it with the less powerful but more intuitive undo/redo system. + + Both the loss of data with standard undo/redo, and the confusion of Emacs' + undo, stem from trying to treat undo history as a linear sequence of + changes. It's not. The `undo-tree-mode' provided by this package replaces + Emacs' undo system with a system that treats undo history as what it is: a + branching tree of changes. This simple idea allows the more intuitive + behaviour of the standard undo/redo system to be combined with the power of + never losing any history. An added side bonus is that undo history can in + some cases be stored more efficiently, allowing more changes to accumulate + before Emacs starts discarding history. + + The only downside to this more advanced yet simpler undo system is that it + was inspired by Vim. But, after all, most successful religions steal the + best ideas from their competitors! +</longdescription> +<stabilize-allarches/> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/app-emacs/undo-tree/undo-tree-0.6.6.ebuild b/app-emacs/undo-tree/undo-tree-0.6.6.ebuild new file mode 100644 index 000000000000..2c494eeba2d4 --- /dev/null +++ b/app-emacs/undo-tree/undo-tree-0.6.6.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +NEED_EMACS=24 + +inherit readme.gentoo-r1 elisp + +DESCRIPTION="Undo trees and visualization" +HOMEPAGE="http://www.dr-qubit.org/undo-tree.html" +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.el.xz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" + +SITEFILE="50${PN}-gentoo.el" +DOC_CONTENTS="To enable undo trees globally, place '(global-undo-tree-mode)' + in your .emacs file." |
