unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: jao <jao@gnu.org>, notmuch@notmuchmail.org
Cc: jao <jao@gnu.org>
Subject: Re: [PATCH] emacs: notmuch-tree: customizable strings for drawing trees
Date: Mon, 30 Aug 2021 08:37:20 -0700	[thread overview]
Message-ID: <87pmtv54gf.fsf@tethera.net> (raw)
In-Reply-To: <20210822235858.81454-1-jao@gnu.org>

jao <jao@gnu.org> 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 don't love the intriduction of magic indices,
although I guess it might be tolerable if they are used only in one place.

  parent reply	other threads:[~2021-08-30 15:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-22 23:58 [PATCH] emacs: notmuch-tree: customizable strings for drawing trees jao
2021-08-23  0:06 ` Jose Antonio Ortega Ruiz
2021-08-30 15:37 ` David Bremner [this message]
2021-08-30 18:43   ` Jose Antonio Ortega Ruiz
  -- strict thread matches above, loose matches on Subject: below --
2021-08-21  1:55 jao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmtv54gf.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=jao@gnu.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).