emacs-devel
[Top][All Lists]
Advanced

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

tree-widget with unicode box chars


From: JD Smith
Subject: tree-widget with unicode box chars
Date: Sat, 4 Jun 2022 22:21:10 -0400

tree-widget.el provides both xpm icons and crude plain-text versions of the tree glyphs.  Most fixed-space fonts have unicode box-drawing characters, which can be used to draw high quality text-only trees.  Such unicode trees look identical in graphical or terminal Emacs (see attached for an example).  

This works just fine, but one small change is needed to accommodate this style.  `tree-widget-guide’ specifies a single vertical bar “guide” widget.  In the unicode tree, two separate vertical bars are needed — one “plain” (│), and one which connects to the horizontal “handle” preceding the node (├). A patch is attached implementing this.  For the default graphical-icon version to continue working, linking from nohandle-guide.* -> guide.* in etc/images/tree-widget/* would be necessary.

PNG image

Attachment: tree-widget.patch
Description: Binary data


reply via email to

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