[notmuch] [PATCH] To use compose-mail

2010-03-16 Thread Sandra Snan
into that yet. Sandra Signed-off-by: Sandra Snan sandra.s...@handgranat.org --- emacs/notmuch.el | 66 +++-- 1 files changed, 53 insertions(+), 13 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 117a365..68e2d43 100644 --- a/emacs

Re: [notmuch] [PATCH] To use compose-mail

2010-03-17 Thread Sandra Snan
doing that but I figure that I’d send these patches and see if it was something you like at all. Signed-off-by: Sandra Snan sandra.s...@handgranat.org --- emacs/notmuch.el | 61 ++--- 1 files changed, 48 insertions(+), 13 deletions(-) diff --git

Re: [notmuch] Tag search peculiarities

2010-03-18 Thread Sandra Snan
Hey, Ben. Ben Gamari bgamari.f...@gmail.com wrote: notmuch tag -new tag:new and tag:list notmuch tag -new +inbox tag:new Is there a new line between the calls? Like: notmuch tag -new tag:new and tag:list # removes new from list notmuch tag -new +inbox tag:new # replaces those that still are new

[notmuch] [PATCH] Add count command to manual page

2010-03-18 Thread Sandra Snan
Just found out that I’ve been piping things through wc for no reason. Heh. Here’s a quick patch, if you want to add this to the manual page. Signed-off-by: Sandra Snan sandra.s...@handgranat.org --- notmuch.1 | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) diff

[notmuch] Search body?

2010-03-18 Thread Sandra Snan
I’m glad that the default search is free text including headers and body, and that there are ways to search just the subject, or just the sender and so on, but is there a way to search just the body? I currently use a lot of “sandra and not from:sandra” and so on.

Re: [notmuch] Tag search peculiarities

2010-03-20 Thread Sandra Snan
On Sat, 20 Mar 2010 16:09:00 -0700 (PDT), Ben Gamari bgamari.f...@gmail.com wrote: On Thu, 18 Mar 2010 15:27:12 +0100, Sandra Snan sandra.s...@handgranat.org wrote: Hey, Ben. Ben Gamari bgamari.f...@gmail.com wrote: notmuch tag -new tag:new and tag:list notmuch tag -new +inbox tag:new

Re: [notmuch] Using notmuch as an address book for tab-completion

2010-03-21 Thread Sandra Snan
On Sun, 21 Mar 2010 21:18:12 +0100, Sebastian Spaeth sebast...@sspaeth.de wrote: Silly question: How do I byte-compile stuff for emacs? I am a helpless noob when there is no make install-emacs command. :-) Sure, here’s how: M-x byte-compile-file type path to file RET Good luck!

Re: [notmuch] [PATCH] Name thread based on matching msgs instead of first msg.

2010-03-23 Thread Sandra Snan
On Tue, 23 Mar 2010 13:31:09 -0400, James Vasile ja...@hackervisions.org wrote: Just out of curiosity, what are Aw, Sv and Vs used for? Are they just re in different languages? That’s right. http://en.wikipedia.org/wiki/List_of_e-mail_subject_abbreviations Sandra

Re: Initial attempt at a merge window for notmuch

2010-04-10 Thread Sandra Snan
On Sat, 10 Apr 2010 22:24:01 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: In id:4b9d4e24.0f67f10a.31e3.a...@mx.google.com, Sandra asked for something like: notmuch search not threads:( from:me and position:last ) Naw, actually I forgot to follow that up. I was looking for it to work it

[notmuch] Thread-level results vs message-level searching

2010-03-14 Thread Sandra Snan
Hi, Is there a way to, say, find all messages with the tag ?inbox? but that doesn?t have the last mail have me as a sender? Sandra

[notmuch] compose-mail vs message-mail

2010-03-15 Thread Sandra Snan
I took a look at notmuch.el and it uses message-mail hard-coded at a few places. My suggestion is to instead substitute compose-mail, which will honor the variable ?mail-user-agent?. Then, the only problem is the function notmuch-reply, which has a call to message-mode hard-coded. I don?t know

[notmuch] [PATCH] To use compose-mail and mail-citation-hook

2010-03-16 Thread Sandra Snan
compose-mail without the mail-citation-hook, too. These patches are mutually exclusive. I?m not used to git so I hope this is all right. Sandra Signed-off-by: Sandra Snan --- emacs/notmuch.el | 66 +++-- 1 files changed, 53 insertions(+), 13

[notmuch] [PATCH] To use compose-mail

2010-03-16 Thread Sandra Snan
into that yet. Sandra Signed-off-by: Sandra Snan --- emacs/notmuch.el | 66 +++-- 1 files changed, 53 insertions(+), 13 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 117a365..68e2d43 100644 --- a/emacs/notmuch.el +++ b/emacs

[notmuch] [PATCH] To use compose-mail

2010-03-17 Thread Sandra Snan
sp. I started doing that but I figure that I?d send these patches and see if it was something you like at all. Signed-off-by: Sandra Snan --- emacs/notmuch.el | 61 ++--- 1 files changed, 48 insertions(+), 13 deletions(-) diff --git a/emacs

[notmuch] [PATCH] To use compose-mail and mail-citation-hook

2010-03-18 Thread Sandra Snan
Michal Sojka wrote: > it seems that many peaple are not happy with the current notmuch reply. > It would be probably better to ignore notmuch reply completely and > implement replying only in elisp. I?ll give it another look. > > I?ll send another e-mail with the patch for just compose-mail

[notmuch] Tag search peculiarities

2010-03-18 Thread Sandra Snan
Hey, Ben. Ben Gamari wrote: > notmuch tag -new tag:new and tag:list notmuch tag -new +inbox tag:new Is there a new line between the calls? Like: notmuch tag -new tag:new and tag:list # removes new from list notmuch tag -new +inbox tag:new # replaces those that still are new with inbox >

[notmuch] [PATCH] Add count command to manual page

2010-03-18 Thread Sandra Snan
Just found out that I?ve been piping things through wc for no reason. Heh. Here?s a quick patch, if you want to add this to the manual page. Signed-off-by: Sandra Snan --- notmuch.1 | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/notmuch.1 b/notmuch.1

[notmuch] Search body?

2010-03-18 Thread Sandra Snan
I?m glad that the default search is free text including headers and body, and that there are ways to search just the subject, or just the sender and so on, but is there a way to search just the body? I currently use a lot of ?sandra and not from:sandra? and so on.

[notmuch] Search body?

2010-03-19 Thread Sandra Snan
I wrote: > is there a way to search just the body? To answer my own question (in case others have the same question)?no, not currently. I was grepping the sources but it didn?t occur to me to look in lib/. database.cc had the answer. Sandra

[notmuch] Tag search peculiarities

2010-03-21 Thread Sandra Snan
On Sat, 20 Mar 2010 16:09:00 -0700 (PDT), Ben Gamari wrote: > On Thu, 18 Mar 2010 15:27:12 +0100, Sandra Snan handgranat.org> wrote: > > Hey, Ben. > > Ben Gamari wrote: > > > notmuch tag -new tag:new and tag:list notmuch tag -new +inbox tag:new > > > >

[notmuch] Using notmuch as an address book for tab-completion

2010-03-21 Thread Sandra Snan
On Sun, 21 Mar 2010 21:18:12 +0100, "Sebastian Spaeth" wrote: > Silly question: How do I byte-compile stuff for emacs? I am a helpless noob > when there > is no make install-emacs command. :-) Sure, here?s how: M-x byte-compile-file type path to file RET Good luck!

Initial attempt at a "merge window" for notmuch

2010-04-11 Thread Sandra Snan
On Sat, 10 Apr 2010 22:24:01 +0200, Michal Sojka wrote: > In id:4b9d4e24.0f67f10a.31e3.adf7 at mx.google.com, Sandra asked for > something like: notmuch search not threads:( from:me and position:last ) Naw, actually I forgot to follow that up. I was looking for it to work it already worked,

Trying to troubleshoot header index…

2020-07-25 Thread Sandra Snan
Hi, I'm not sure what's tripping me up here. ellen% notmuch --version notmuch 0.29.3 ellen% notmuch config set index.headers.Blahonga MIME-Version ellen% notmuch config list|grep Blahonga index.headers.Blahonga=MIME-Version ellen% notmuch reindex date:-7_days.. ellen% notmuch count

Re: Trying to troubleshoot header index…

2020-07-26 Thread Sandra Snan
er writes: > Sandra Snan writes: > >> Hi, I'm not sure what's tripping me up here. >> >> ellen% notmuch --version >> notmuch 0.29.3 >> ellen% notmuch config set index.headers.Blahonga MIME-Version >> ellen% notmuch config list|grep Blahonga >> inde

Re: Individual tag file lines and removing all tags?

2024-02-14 Thread Sandra Snan
The current tags file system already makes common things simple and efficient, while still keeping unusual things possible. Pretty happy about that ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to

Re: Individual tag file lines and removing all tags?

2024-02-13 Thread Sandra Snan
Ralph Seichter writes: I currently use a custom wrapper script to call notmuch-tag multiple times for this very reason. That is the appropriate solution. ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to

Re: [PATCH] config: allow custom separators in author lists

2023-12-22 Thread Sandra Snan
Lars Kotthoff writes: Python […] I have to split the returned string, which is error-prone with comma separators (e.g. name in email address is of form Lastname, Firstname). email_list = "Diaz, Marco , s...@mewni.com, Marco Diaz , s...@mewni.com" addresses = [] current_address = "" for

Re: [PATCH] config: allow custom separators in author lists

2023-12-22 Thread Sandra Snan
Lars Kotthoff writes: Python […] I have to split the returned string, which is error-prone with comma separators (e.g. name in email address is of form Lastname, Firstname). email_list = "Diaz, Marco , s...@mewni.com, Marco Diaz , s...@mewni.com" addresses = [] current_address = "" for

Re: [PATCH] config: allow custom separators in author lists

2023-12-22 Thread Sandra Snan
Curses, flowed again! I'm just gonna attach the file email_list = "Diaz, Marco , s...@mewni.com, Marco Diaz , s...@mewni.com" addresses = [] current_address = "" for char in email_list: if char == ',' and '@' in current_address: addresses.append(current_address.strip())

Re: [PATCH v5] Add hook inside notmuch-mua-reply

2023-12-12 Thread Sandra Snan
https://lists.sr.ht/~pkal/public-inbox/patches/47695 <- This is what the hook was for. ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org

[PATCH v5] Add hook inside notmuch-mua-reply

2023-12-12 Thread Sandra Snan
This hook is run after `notmuch reply` has been successfully called with the headers from the original message. --- Paredit kills me. I accidentally included the following "defcustom" sexp, someone pointed out the weird indentation, I only unintended it, sent a patch, and someone else pointed out

Re: configure prefix ignored by make install

2023-12-20 Thread Sandra Snan
David Bremner writes: I can't duplicate that on Debian testing with GNU Make. I was using zsh in Emacs shell mode on Debian GNU/Linux 12 (bookworm) with GNU Make 4.3. FWIW, it should not be required to use sudo to install into /tmp (but as far as I know it should work). I used sudo for

configure prefix ignored by make install

2023-12-20 Thread Sandra Snan
I just ran ./configure --prefix=/tmp/notmuch make sudo make install It clobbered /usr/local instead of installing to the prefix. ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org

notmuch show decrypt into mbox format

2023-12-20 Thread Sandra Snan
This didn't decrypt: notmuch show --format=mbox --entire-thread=true --decrypt=true The default text format to notmuch show does decrypt the parts just fine. I wanted the mbox format so I could use it with b4 to extract patches. ___ notmuch mailing

Re: notmuch show decrypt into mbox format

2023-12-21 Thread Sandra Snan
David Bremner writes: By the way, the mailscripts package (elpa-mailscripts on Debian) contains some some add-on functions that might reduce the manual labour in situations like this. That's what I had been using, do they really work when the patches are encrypted? I've been trying to go

Re: configure prefix ignored by make install

2023-12-20 Thread Sandra Snan
David Bremner writes: Fair enough, but can you try without sudo to try to narrow down where the issue is? I found the problem. Sudo wasn't the issue. It was that after ./configure had failed to find some of the build deps and asked me to sudo apt-get install libxapian-dev

Re: notmuch show decrypt into mbox format

2023-12-20 Thread Sandra Snan
David Bremner writes: I guess we could add a second code path that parsed and decrypted the messages before re-serializing them again. Or, as a stop gap measure, a warning when the flags are used together that mbox doesn't support decrypt. I tried decrypting the pgp'd parts of the mbox

Re: notmuch show decrypt into mbox format

2023-12-21 Thread Sandra Snan
David Bremner writes: probably not out of the box, but I guess it might be easier to hack notmuch-extract-* on the emacs side than to extend 'notmuch show --format=mbox' Those elpa-mailscripts also rely on calling notmuch show --format=mbox. The elisp files (similar to what I had been

[PATCH] Add hook inside notmuch-mua-reply

2023-12-10 Thread Sandra Snan
This hook is run after `notmuch reply` has been successfully called with the headers from the original message. --- Can we please get a hook inside notmuch-mua-reply in the Emacs frontend to notmuch? But not a hook for thunks but a hook that has access to the message-id for the message we are

[PATCH v3] Add hook inside notmuch-mua-reply

2023-12-11 Thread Sandra Snan
This hook is run after `notmuch reply` has been successfully called with the headers from the original message. --- emacs/notmuch-mua.el | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index e4b7e9d1..b6c6585d

Re: [PATCH] Add hook inside notmuch-mua-reply

2023-12-11 Thread Sandra Snan
I missed the other notes. I'll do a v3 renaming to notmuch-mua-reply-functions. The reason I need message-id is because I need to call notmuch again to get other headers beyond what's included in the sexp, including autocrypt. But the suggestion to jam the entire sexp is good. I did that

[PATCH v2] Add hook inside notmuch-mua-reply

2023-12-11 Thread Sandra Snan
This hook is run after `notmuch reply` has been successfully called with the headers from the original message. --- emacs/notmuch-mua.el | 7 +++ 1 file changed, 7 insertions(+) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index e4b7e9d1..08d3dd6d 100644 ---

[PATCH v4] Add hook inside notmuch-mua-reply

2023-12-12 Thread Sandra Snan
This hook is run after `notmuch reply` has been successfully called with the headers from the original message. --- emacs/notmuch-mua.el | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index e4b7e9d1..0be045d3 100644 ---

[PATCH v5] Add hook inside notmuch-mua-reply

2023-12-19 Thread Sandra Snan
This hook is run after `notmuch reply` has been successfully called. The functions are called with the same sexp that `notmuch reply` returned. One of the uses for this hook is to make a Notmuch plugin for Autocrypt. --- emacs/notmuch-mua.el | 7 +++ 1 file changed, 7 insertions(+) diff

Re: Address Completion in Emacs

2023-12-08 Thread Sandra Snan
David, I have message-completion-alist set to this value: (("^\\(Resent-\\)?\\(To\\|B?Cc\\|Reply-To\\|From\\|Mail-Followup-To\\|Mail-Copies-To\\):" . notmuch-address-expand-name) ("^\\(Newsgroups\\|Followup-To\\|Posted-To\\|Gcc\\):" . message-expand-group) ("^\\([^

[PATCH 2/2] Add notmuch-search-show-or-unthread

2023-12-07 Thread Sandra Snan
This is a dispatch function from the search view that if a thread is small, it shows it with `notmuch-search-show-thread`, and if it's big, it shows it with `notmuch-search-show-or-unthread`. On my own machine I've bound it to `RET` and to `` in the notmuch-search-mode-map, but that binding isn't

[PATCH 1/2] Add notmuch-search-unthread-thread

2023-12-07 Thread Sandra Snan
I'm in threads with many thousands of emails. So with this new `notmuch-search-unthread-thread`, I can be in my normal daily notmuch-search of tag:inbox and tag:personal and if I put my cursor on at rhead and then run this command, I get a buffer with the messages from that thread in a flat list.

Re: revisiting Autocrypt in notmuch, MVP

2024-02-25 Thread Sandra Snan
Steven Allen writes: There's actually a pretty decent autocrypt package[1] for Emacs, only lacking notmuch integration. But writing that based on the mu4e integration should be pretty trivial. [1]: https://git.sr.ht/~pkal/autocrypt/ I've been working on that actually so check out that

Re: Narrow text body when composing/replying to mails

2024-02-25 Thread Sandra Snan
Jan Detke writes: With that I got an issue where my text body is verry narrow while composing/replying to mails (as you can see). Instead, do this: (add-hook 'message-mode-hook (lambda () (use-hard-newlines 3 t))) ___

Re: Narrow text body when composing/replying to mails

2024-02-25 Thread Sandra Snan
Sandra Snan writes: Instead, do this: (add-hook 'message-mode-hook (lambda () (use-hard-newlines 3 t))) While keeping auto-fill-mode on, I mean. This sets the format flowed header according to RFC 2646 so that your fills reads as if they were softwrapped

Re: Narrow text body when composing/replying to mails

2024-02-25 Thread Sandra Snan
Huh, there is a bug here, apparently, looking at the raw version of what I sent. It doesn't properly insert the RFC 2646 line-ending spaces. Sandra Snan writes: Sandra Snan writes: Instead, do this: (add-hook 'message-mode-hook (lambda () (use-hard