Re: [PATCH] emacs: notmuch-tree: customizable strings for drawing trees

2021-08-30 Thread Jose Antonio Ortega Ruiz
On Mon, Aug 30 2021, David Bremner wrote: > jao writes: > >> +(defcustom notmuch-tree-thread-symbols '(" " "─" "┬" "│" "├" "╰" "►") > > How hard would it be to use a plist or an alist, and allow the user to > overide only the symbols they are interested in? not hard at all... we just need to

Re: [PATCH] emacs: notmuch-tree: customizable strings for drawing trees

2021-08-30 Thread David Bremner
jao writes: > +(defcustom notmuch-tree-thread-symbols '(" " "─" "┬" "│" "├" "╰" "►") How hard would it be to use a plist or an alist, and allow the user to overide only the symbols they are interested in? > + (push (elt notmuch-tree-thread-symbols 4) tree-status)) As hinted above, I

Re: [PATCH] emacs: notmuch-tree: customizable strings for drawing trees

2021-08-22 Thread Jose Antonio Ortega Ruiz
This one should have been sent with a version 3 mark, sorry. It's essentially the previous version (with yet another doc typo corrected), but rebased against today's master. Cheers, jao ___ notmuch mailing list -- notmuch@notmuchmail.org To

[PATCH] emacs: notmuch-tree: customizable strings for drawing trees

2021-08-22 Thread jao
New customizable variable, notmuch-tree-thread-symbols, that allows tweaking of how trees in a forest are represented. For instance, one can now choose to use an hyphen rather than a white space as a prefix, or replace the character(s) used to draw arrows. --- emacs/notmuch-tree.el | 36

[PATCH] emacs: notmuch-tree: customizable strings for drawing trees

2021-08-20 Thread jao
New customizable variable, notmuch-tree-tread-symbols, that allows tweaking how trees in a forest are represented. For instance, one can now choose to use an hyphen rather than a white space as a prefix, or remove pointy arrows. --- emacs/notmuch-tree.el | 35 +--