MapaDelSitio CambiosRecientes Noticias ÁreaElisp WikiCómo
Georgia, Día Nacional

UnicodeEnbox

Overview

Surround a string with box-drawing characters in Emacs.

unicode-enbox

Unicode-enbox.el has no user-level interface; it is only useful for programming in Emacs Lisp.

This library provides two functions:

	unicode-enbox
	unicode-enbox-debox

which can be used to add/remove box-drawing characters around a single- or multi-line string.

See Also

M-x customize-group RET unicode-enbox RET

Notes

For good monospaced box-drawing characters, it is recommended to install the free DejaVu? Sans Mono font and use unicode-fonts.el. If unicode-fonts.el is too heavy for your needs, try adding the following bit to your ~/.emacs file:

	(set-fontset-font "fontset-default"
	                  (cons (decode-char 'ucs #x2500)  (decode-char 'ucs #x257F))
	                  '("DejaVu Sans Mono" . "iso10646-1"))

Availability

unicode-enbox.el is available at github:

https://github.com/rolandwalker/unicode-enbox

and via EmacsWiki:

Lisp:unicode-enbox.el

Compatibility and Requirements

Tested only on GNU Emacs version 24.1

Requires StringUtils, UcsUtils


CategoryFaces CategoryExtensions