[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/notmuch-indicator b225981c47 20/36: Refine how spacing
From: |
ELPA Syncer |
Subject: |
[elpa] externals/notmuch-indicator b225981c47 20/36: Refine how spacing is done |
Date: |
Wed, 21 Sep 2022 00:59:21 -0400 (EDT) |
branch: externals/notmuch-indicator
commit b225981c4739446b725df19584754e2b7c0882b2
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Refine how spacing is done
---
notmuch-indicator.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/notmuch-indicator.el b/notmuch-indicator.el
index db654ac391..6031195288 100644
--- a/notmuch-indicator.el
+++ b/notmuch-indicator.el
@@ -143,22 +143,21 @@ option `notmuch-indicator-refresh-count'."
(let ((count (shell-command-to-string (format "notmuch count %s" (plist-get
properties :terms)))))
(if (and (zerop (string-to-number count))
notmuch-indicator-hide-empty-counters)
""
- (format "%s%s" (or (plist-get properties :label) "")
(replace-regexp-in-string "\n" " " count)))))
+ (format "%s%s " (or (plist-get properties :label) "")
(replace-regexp-in-string "\n" " " count)))))
(defun notmuch-indicator--return-count ()
"Parse `notmuch-indicator-args' and format them as single string."
(mapconcat
(lambda (props)
(notmuch-indicator--format-output props))
- notmuch-indicator-args
- " "))
+ notmuch-indicator-args))
(defvar notmuch-indicator--last-state nil
"Internal variable used to store the indicator's state.")
(defun notmuch-indicator--indicator ()
"Prepare new mail count mode line indicator."
- (let* ((count (concat (notmuch-indicator--return-count) " "))
+ (let* ((count (notmuch-indicator--return-count))
(old-indicator notmuch-indicator--last-state))
(when old-indicator
(setq global-mode-string (delete old-indicator global-mode-string)))
- [elpa] externals/notmuch-indicator dde1c6cb3d 03/36: Add TODO about not running many timers, (continued)
- [elpa] externals/notmuch-indicator dde1c6cb3d 03/36: Add TODO about not running many timers, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator 94e36aea91 06/36: Remove TODO about notmuch count --batch, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator 60ec338434 10/36: Fix typo in doc string, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator b749c09cb6 16/36: Hint at the notmuch-count(1) manual, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator 7d56164856 05/36: Add COPYING, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator 83e1bd3ceb 07/36: Tweak code to avoid multiple timers, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator b141304bcb 04/36: Add README, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator d24ae8718a 14/36: Add outline headings, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator f716f06aea 11/36: Use ":label" instead of ":specifier", ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator e169f26958 19/36: Add notmuch-indicator-hide-empty-counters user option, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator b225981c47 20/36: Refine how spacing is done,
ELPA Syncer <=
- [elpa] externals/notmuch-indicator 45120219c4 23/36: Tweak spacing in two defcustom, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator 55a759133d 02/36: Tweak notmuch-indicator-args, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator 9a536bf3be 08/36: Add :group to notmuch-indicator-refresh-count, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator 2b390022ad 09/36: BREAKING make notmuch-indicator-args use plists, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator d2edfafc38 15/36: Add user option to update indicator post-command, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator f043b8a1e8 22/36: Abstract notmuch-indicator--format-output, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator c9b7b8c229 26/36: The package is no longer a work-in-progress, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator 62ca2dd0bb 31/36: Refine notmuch-indicator-force-refresh-commands :type, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator 6f881fe3c2 32/36: Tweak THE most important part of the package, ELPA Syncer, 2022/09/21
- [elpa] externals/notmuch-indicator 251323c938 12/36: Update notmuch-indicator-refresh-count doc string, ELPA Syncer, 2022/09/21