automatically adding tags to mail from gmail spam folder

2017-09-04 Thread Luis Henriquez-Perez
Hi, How can I automatically tag the messages I receive in my spam folder as spam? I see that the _afew_ package does this. However, I had difficulty installing it. Is there another way? Luis ___ notmuch mailing list notmuch@notmuchmail.org ht

Re: [PATCH v2] emacs: Add notmuch-update-search-tags

2017-09-04 Thread Vladimir Panteleev
On 2017-08-29 01:18, David Bremner wrote: Maybe I'm overthinking this, but it seems like we'd need some way to recognize various faces. There is a package called faceup that is targeted at roughly this problem. I know that racket-mode uses it to test highlighting. Perhaps that's an dependancy we

Re: [PATCH 1/3] sorting: add the ability to sort by from and subject

2017-09-04 Thread David Bremner
William Casarin writes: > William Casarin writes: > >> Jani Nikula writes: >> >>> The implementation seems simple enough, but what's the use case, really? >> >> I get all of my rss feeds sent to my inbox, I wanted to be able to group >> similar feeds (mainly by from, sometimes subject). Alterna

Re: [PATCH 7/7] .travis.yml: Test against several Emacs versions

2017-09-04 Thread Vladimir Panteleev
On 2017-09-02 00:41, David Bremner wrote: I take it travis doesn't object to building 4 versions of emacs from scratch? I don't know why they would. There are many open-source projects with much higher computational demands using Travis' free service. There are also many projects doing the ex

Re: [PATCH 1/3] sorting: add the ability to sort by from and subject

2017-09-04 Thread William Casarin
William Casarin writes: > Jani Nikula writes: > >> The implementation seems simple enough, but what's the use case, really? > > I get all of my rss feeds sent to my inbox, I wanted to be able to group > similar feeds (mainly by from, sometimes subject). Alternatively if > there was a way to grou

Re: [PATCH 1/3] sorting: add the ability to sort by from and subject

2017-09-04 Thread Jani Nikula
On Mon, 04 Sep 2017, William Casarin wrote: > * add {from,subject}-{ascending,descending} sort options The implementation seems simple enough, but what's the use case, really? When thinking about the usefulness of the feature, you have to think about what gets indexed for from: and subject: pref

[PATCH 2/3] sorting: update ruby bindings for from and subject

2017-09-04 Thread William Casarin
--- bindings/ruby/init.c | 24 1 file changed, 24 insertions(+) diff --git a/bindings/ruby/init.c b/bindings/ruby/init.c index 5556b43e..ace8f666 100644 --- a/bindings/ruby/init.c +++ b/bindings/ruby/init.c @@ -104,6 +104,30 @@ Init_notmuch (void) */ rb_define_

[PATCH 1/3] sorting: add the ability to sort by from and subject

2017-09-04 Thread William Casarin
* add {from,subject}-{ascending,descending} sort options --- I'm not sure if we want to eventually refactor ascending and descending into a separate option, but I decided to keep it this way for now. lib/notmuch.h| 16 lib/query.cc | 12 notmuch-search.c | 4

[PATCH 3/3] sorting: update man page

2017-09-04 Thread William Casarin
--- doc/man1/notmuch-address.rst | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/man1/notmuch-address.rst b/doc/man1/notmuch-address.rst index cc31cc5a..38ae9a25 100644 --- a/doc/man1/notmuch-address.rst +++ b/doc/man1/notmuch-address.rst @@ -77,7 +77,11 @@ Supported o

Re: notmuch-search: sort by subject or author?

2017-09-04 Thread William Casarin
David Bremner writes: > I think it's not really possible at the moment. If you want this to work > with large searches then it probably needs to be done at the CLI level > (see [1] for work in progress adding sorting by file size). > > Luckily 'From' and 'Subject' are already value slots in the d

Re: notmuch-search: sort by subject or author?

2017-09-04 Thread David Bremner
William Casarin writes: > Hey there, > > Is there a way to sort by subject or author in emacs/notmuch-search? I > find myself wanting to do this a lot. My particular use case is rss > feeds, where I have many different feeds in my rss tag that I would like > to group together. > > If not, I am in

notmuch-search: sort by subject or author?

2017-09-04 Thread William Casarin
Hey there, Is there a way to sort by subject or author in emacs/notmuch-search? I find myself wanting to do this a lot. My particular use case is rss feeds, where I have many different feeds in my rss tag that I would like to group together. If not, I am interested in adding this feature. Thank

Re: [PATCH v1 0/4] Improved citation washing.

2017-09-04 Thread David Bremner
David Edmondson writes: > Improved citation washing. > > - More aggressive citation washing. > - Allow washing during text/plain reply generation. > > -- > > I acknowledge that some of the citation washing can seem aggressive at > times, but it does make my life more pleasant (no more shouting at

Re: [PATCH v1 3/4] emacs: test: Update expected output

2017-09-04 Thread David Bremner
David Edmondson writes: > Update the expected output of the tests to conform with the new > citation tidying. Oh, I see. Could you please do that atomically so that the tests pass after every commit? d ___ notmuch mailing list notmuch@notmuchmail.org

Re: [PATCH v1 1/4] emacs: wash: Wrap long lines after tidying citations

2017-09-04 Thread David Bremner
David Edmondson writes: > Citation tidying might change the length of some lines, making it more > appropriate to perform line wrapping after citation tidying rather > than before. > --- It doesn't look hard to fix, but this change breaks 6 tests. d _

Re: [PATCH] lib&cli: use g_object_new instead of g_object_newv

2017-09-04 Thread David Bremner
David Bremner writes: > 'g_object_newv' is deprecated, and prints annoying warnings. The > warnings suggest using 'g_object_new_with_properties', but that's only > available since glib 2.55 (i.e. a month ago as of this writing). > Since we don't actuall pass any properties, it seems we can just c

Re: [PATCH] test: notmuch_drop_mail_headers() style update

2017-09-04 Thread David Bremner
Tomi Ollila writes: > Changed "" quotes to '' as we're not supposed to dynamically > alter python program (via shell $variable expansion). > > Added space to python program to match general python style. > > Replaced $* with 'idiomatic' "$@" to serve as better example. pushed d