emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/notmuch-indicator afc38a66f1 2/2: Update to version 0.2


From: ELPA Syncer
Subject: [elpa] externals/notmuch-indicator afc38a66f1 2/2: Update to version 0.2.0
Date: Thu, 6 Oct 2022 03:57:52 -0400 (EDT)

branch: externals/notmuch-indicator
commit afc38a66f115f038127dd414973916dbdb5a0426
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Update to version 0.2.0
    
    * Fixed how the indicator is added to 'global-mode-string'.  Before,
      it was inserted as a string.  Whereas we want to pass it as a
      symbol.  This is how other modes do it as well.  The result is the
      same for the user, though this design ensures that we do not get
      false positives when we try to remove our indicator (e.g. if we
      target an empty string, we can delete something else).
    
      Thanks to Yusef Aslam for reporting a bug which revealed this
      problem.  This was done in issue 1 over at the GitHub mirror:
      <https://github.com/protesilaos/notmuch-indicator/issues/1>.
    
    * Made the indicator's counters clickable.  The 'mouse-1' will now use
      the terms that yield the individual message counter to run a
      'notmuch-search' with them.  Thanks to Henrik Kjerringvåg for the
      patch.  It is below the ~15 line threshold and thus requires no
      copyright assignment to the Free Software Foundation.
    
      As a reminder, the search terms are specified in the user option
      'notmuch-indicator-args' and are passed to 'notmuch-count(1)' which
      yields the count.  For instance, a value like the following defines
      three counters, which likely result in  '@10 😱9999 💕0':
    
      (setq notmuch-indicator-args
            '((:terms "tag:unread and tag:inbox" :label "@")
              (:terms "from:bank and tag:bills" :label "😱")
              (:terms "--output threads tag:loveletter" :label "💕")))
    
    * Implemented some minor refinements to the code, based on the
      feedback of Stefan Monnier on the emacs-devel mailing list:
      <https://lists.gnu.org/archive/html/emacs-devel/2022-09/msg01949.html>.
    
    The package is in a stable state and will likely not need much
    maintenance going forward.  Consult the package's README or the
    Commentary section of 'notmuch-indicator.el' for the technicalities.
    The latter is displayed in the Help buffer when using 'M-x
    describe-package' for 'notmuch-indicator'.
---
 notmuch-indicator.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notmuch-indicator.el b/notmuch-indicator.el
index d19cac18ee..4ad39e4ce7 100644
--- a/notmuch-indicator.el
+++ b/notmuch-indicator.el
@@ -6,7 +6,7 @@
 ;; Maintainer: notmuch-indicator Development 
<~protesilaos/notmuch-indicator@lists.sr.ht>
 ;; URL: https://git.sr.ht/~protesilaos/notmuch-indicator
 ;; Mailing-List: https://lists.sr.ht/~protesilaos/notmuch-indicator
-;; Version: 0.1.1
+;; Version: 0.2.0
 ;; Package-Requires: ((emacs "27.1"))
 ;; Keywords: convenience, mail
 



reply via email to

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