[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/notmuch-indicator 72abc677a0: Bind call to notmuch bira
From: |
ELPA Syncer |
Subject: |
[elpa] externals/notmuch-indicator 72abc677a0: Bind call to notmuch birary to user's ~ directory |
Date: |
Sat, 6 Jan 2024 00:58:09 -0500 (EST) |
branch: externals/notmuch-indicator
commit 72abc677a01008010c3d1ceafed824be253bd7e7
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Bind call to notmuch birary to user's ~ directory
The reason for this is explained by @shimeike (MikeS):
<https://github.com/protesilaos/notmuch-indicator/issues/2#issuecomment-1819853525>.
In short, we want to avoid errors with where the notmuch binary is
while using TRAMP.
Also thanks to Mohamed Suliman for corroborating those findings.
---
README.org | 4 ++--
notmuch-indicator.el | 11 ++++++-----
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/README.org b/README.org
index e8659931e5..ad55a57bb2 100644
--- a/README.org
+++ b/README.org
@@ -318,8 +318,8 @@ of help matters.
+ Author/maintainer :: Protesilaos Stavrou.
-+ Contributions to code or user feedback :: Henrik Kjerringvåg, Stefan
- Monnier, Yusef Aslam.
++ Contributions to code or user feedback :: Henrik Kjerringvåg, MikeS,
+ Mohamed Suliman, Stefan Monnier, Yusef Aslam.
* GNU Free Documentation License
:PROPERTIES:
diff --git a/notmuch-indicator.el b/notmuch-indicator.el
index 5afe429767..dbb9181545 100644
--- a/notmuch-indicator.el
+++ b/notmuch-indicator.el
@@ -224,11 +224,12 @@ example that uses the `tab-bar-mode'."
"Run shell command for `notmuch-count(1)' with TERMS."
(replace-regexp-in-string
"\n" ""
- (shell-command-to-string
- (format "%s --config=%S count %s"
- notmuch-indicator-notmuch-binary
- notmuch-indicator-notmuch-config-file
- terms))))
+ (let ((default-directory "~"))
+ (shell-command-to-string
+ (format "%s --config=%S count %s"
+ notmuch-indicator-notmuch-binary
+ notmuch-indicator-notmuch-config-file
+ terms)))))
(declare-function
notmuch-search "notmuch"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/notmuch-indicator 72abc677a0: Bind call to notmuch birary to user's ~ directory,
ELPA Syncer <=