notmuch-bookmarks now in melpa

2020-02-02 Thread Jörg Volbers

Hi everybody,

the emacs package notmuch-bookmarks just got merged into melpa. It 
allows to bookmark notmuch query buffers, thus providing an 
alternative to notmuch-jump-search. To ease the handling of these 
bookmarks, some additional functionality is provided, i.e., 
restrict the bookmark menu to the notmuch buffers only, or edit 
the query or the name of the notmuch bookmark interactively. Any 
feedback and suggestions are welcome.


If you are audacious, you might actually also try "notmuch-alerts" 
which is in the same github repository, but not in melpa yet. It 
adds alerts on top of the bookmarks, so that you can eassily see 
which bookmarked query has received new mails. In fact, adding 
alerts turns the bookmark feature into a complete alternative to 
the notmuch hello screen. I use the package on a daily basis.


Jörg

--
http://www.joergvolbers.de
https://fu-berlin.academia.edu/jvolbers


signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


[alot] announcing v0.9

2020-02-02 Thread Patrick Totzke
Hi everyone!

I have just tagged alot v0.9; You can get a tarball here [0].

Again there were mostly under-the-hood fixes and refactoring.
The most significant new feature set is the ability to send HTML emails,
which works quite nicely in combination with pandoc [1] as documented here [2].

Usage updates since v0.8:
* feature: interpret ANSI escape codes (e.g.for colours) when displaying 
messages
* config: configure message-id domains for each account
* feature: new envelope commands txt2html, html2txt, removehtml
* info: updated signature of hooks 'reply_prefix' and 'forward_prefix', now 
include a named parameter for the message being replied/forwarded

As usual, a quick hall of fame of recent contributors:
$ git shortlog -s -n 0.7...
90  Patrick Totzke
13  Lucas Hoffmann
 8  Dylan Baker
 5  Michael J Gruber
 5  pacien
 4  Pol Van Aubel
 2  Will Dietz
 1  Andres MRM
 1  Andrés Martano
 1  Caio Prado
 1  Daniel M. Capella
 1  Felix Yan
 1  Guillaume Seren
 1  Jordan Justen
 1  Matthieu Coudron
 1  Nick Hu
 1  Ruben Pollan
 1  brady
 1  sgelb


New bug reports, feature or pull requests via the projects github page [3]
are always welcome.

Cheers,
P

[0]: https://github.com/pazz/alot/tarball/0.9
[1]: https://pandoc.org
[2]: https://github.com/pazz/alot/wiki/HTML-mails
[3]: https://github.com/pazz/alot
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Searching for an Exact Email Address

2020-02-02 Thread David Bremner
Kevin Foley  writes:

> David Bremner  writes:
>
>> Also useful is setting NOTMUCH_DEBUG_QUERY in the environment. This will
>> show the parsed Xapian query. In my case this shows both
>> 'to:"exam...@email.com"' and to:"exam...@email.com" end up parsed the
>> same way, so I guess the problem is elsewhere.
>
> I should have mentioned that I tried using NOTMUCH_DEBUG_QUERY with many
> different quoting variations and kept getting the same final query:
>
> Query((Tmail AND (XTOexample@1 PHRASE 3 XTOemail@2 PHRASE 3 XTOcom@3)))
>
> It looks like the punctuation is being stripped; I get the same final
> query for `notmuch search 'to:"example email com"'`.  Is this the
> expected behavior?

Yes, that's how phrases work.

> I tried this as well but per notmuch-search-terms(7) it looks like regex
> isn't supported for the "to" field.

Ah right. it's really an implimentation quirk that that From: addresses
are stored in the form needed for regex searching.

> Also as a side note, I don't think the quoting is necessary as per the
> "searching" documentation [0], "... e-mail addresses are also treated as
> phrases.".

Quoting is certainly necessary for phrases containing spaces, but yes,
as documented phrases can also be built with punctuation.
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Searching for an Exact Email Address

2020-02-02 Thread Kevin Foley


David Bremner  writes:

> Also useful is setting NOTMUCH_DEBUG_QUERY in the environment. This will
> show the parsed Xapian query. In my case this shows both
> 'to:"exam...@email.com"' and to:"exam...@email.com" end up parsed the
> same way, so I guess the problem is elsewhere.

I should have mentioned that I tried using NOTMUCH_DEBUG_QUERY with many
different quoting variations and kept getting the same final query:

Query((Tmail AND (XTOexample@1 PHRASE 3 XTOemail@2 PHRASE 3 XTOcom@3)))

It looks like the punctuation is being stripped; I get the same final
query for `notmuch search 'to:"example email com"'`.  Is this the
expected behavior?

David Bremner  writes:

>  You can also do regex searches, although they are are measurably
>  slower. The syntax is also discussed in notmuch-search-terms(7).

I tried this as well but per notmuch-search-terms(7) it looks like regex
isn't supported for the "to" field.

Also as a side note, I don't think the quoting is necessary as per the
"searching" documentation [0], "... e-mail addresses are also treated as
phrases.".

Kevin

[0] https://notmuchmail.org/searching/
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Searching for an Exact Email Address

2020-02-02 Thread David Bremner
Teemu Likonen  writes:

> The shell built-in "set" is useful for testing parameters:
>
> $ set -- to:"exam...@email.com" to:\"exam...@email.com\"
> $ printf '%s\n' "$@"
> to:exam...@email.com
> to:"exam...@email.com"


Also useful is setting NOTMUCH_DEBUG_QUERY in the environment. This will
show the parsed Xapian query. In my case this shows both
'to:"exam...@email.com"' and to:"exam...@email.com" end up parsed the
same way, so I guess the problem is elsewhere.  Maybe you can try it
with your actual query.

d
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch