notmuch over ssh

2021-02-10 Thread Keegan Carruthers-Smith
Hello. Thought I'd share a hack I've been using recently. I have my notmuch database on another machine. I wanted to access it via my local emacs session. I didn't want to ssh in to the machine or sync the data to another machine. I realised all communication is done via the notmuch binary,

Re: waiting tag

2020-05-03 Thread Keegan Carruthers-Smith
Chris Tennant writes: > I would like to have emails that I am waiting on a response for to have a > special tag that is removed once I get a reply. There are other products > that do this, but I would much rather do it all from NotMuchMail. You can add a "post-new" hook which does this.

[PATCH] emacs: introduce notmuch-search-by-tag

2020-04-13 Thread Keegan Carruthers-Smith
This is like notmuch-search-filter-by-tag, but creates a new search rather than filtering the current search. We add this to notmuch-common-keymap since this can be used by many contexts. We bind to the key "t", which is the same key used by notmuch-search-filter-by-tag in notmuch-search-mode-map.

[PATCH] emacs: use def instead of initial-input for notmuch-show-browse-urls

2020-04-13 Thread Keegan Carruthers-Smith
This is the non-deprecated way to use completing-read. Additionally the old use was broken when using ivy for completing-read. For user's using completing-read-default they won't see the default URL now, but if they hit enter it will be visited. Alternatively they can select it with M-n. >From