forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emacs/tty-format: new package, add 12
Signed-off-by: Ulrich Müller <[email protected]>
- Loading branch information
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST tty-format-12.el.xz 6512 BLAKE2B 1a8fa04936cb12af062f60037b61a4204839a678d5ea566d08c4cfa9c48b24c8e32af8232f237bebf41ad1f64ba4fadf91d2b4e1f66cf1bfb27d00c78d25604e SHA512 5fd3285a7bb9c722a05d1621ac0958a366cc728165b594e17291de44e840874d50b983d1b774d7736e306fab3ac61095c97999abc821a20ab89fa088f461982f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
(add-to-list 'load-path "@SITELISP@") | ||
(autoload 'ansi-format-encode "tty-format") | ||
(autoload 'ansi-format-decode "tty-format") | ||
(autoload 'backspace-overstrike-encode "tty-format") | ||
(autoload 'backspace-overstrike-decode "tty-format") | ||
(autoload 'tty-format-guess "tty-format") | ||
|
||
(add-to-list 'format-alist | ||
'(ansi-colors | ||
"ANSI SGR escape sequence colours and fonts." | ||
nil | ||
ansi-format-decode ansi-format-encode t nil)) | ||
|
||
(add-to-list 'format-alist | ||
'(backspace-overstrike | ||
"Backspace overstriking for bold and underline." | ||
nil | ||
backspace-overstrike-decode backspace-overstrike-encode t nil)) | ||
|
||
(custom-add-option 'find-file-hook 'tty-format-guess) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="project"> | ||
<email>[email protected]</email> | ||
<name>Gentoo GNU Emacs project</name> | ||
</maintainer> | ||
<stabilize-allarches/> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit elisp | ||
|
||
DESCRIPTION="Text file backspacing and ANSI SGR as faces" | ||
HOMEPAGE="https://user42.tuxfamily.org/tty-format/index.html | ||
https://www.emacswiki.org/emacs/TtyFormat" | ||
# taken from https://download.tuxfamily.org/user42/tty-format.el" | ||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.el.xz" | ||
|
||
LICENSE="GPL-3+" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
|
||
SITEFILE="50${PN}-gentoo.el" |