From f56c5e01de855187c7a348ba186b045a6970575c Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 27 Dec 2021 21:20:35 -0500 Subject: lei q: Add date placeholder for ghost messages piem-lei-query-threads inserts only the message ID of a ghost message, using spaces for where the date and time is for other messages. The space placeholders will become visually confusing when the next commit starts inserting an empty line between threads. Switch to using a dummy date-time instead. Message-Id: <20211228022037.206597-5-kyle@kyleam.com> --- piem-lei.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/piem-lei.el b/piem-lei.el index 63a2548..dedaee2 100644 --- a/piem-lei.el +++ b/piem-lei.el @@ -727,11 +727,12 @@ that line." (line-end-position) (list 'piem-lei-query-result data)) (setq subject-prev subject)) - (insert (make-string 17 ?\s) ; Date alignment. - (piem-lei-query--format-thread-marker depth) - (propertize (concat " <" mid-msg ">") - 'font-lock-face - 'piem-lei-query-thread-ghost)) + (insert (propertize + (concat "0000-00-00 00:00 " + (piem-lei-query--format-thread-marker depth) + " <" mid-msg ">") + 'font-lock-face + 'piem-lei-query-thread-ghost)) (setq subject-prev nil)) (when (equal mid-msg pt-mid) (setq pt-final (line-beginning-position))) -- cgit v1.2.3