Re: correct way to search for only PDF attachments

2015-09-29 Thread Suvayu Ali
On Mon, Sep 28, 2015 at 07:00:13PM -0700, Carl Worth wrote: > On Mon, Sep 28 2015, Xu Wang wrote: > > > To understand more, what does the following search for? > > > > from:jongho attachment:.*pdf > > Uhm, probably only strange things. There are some mechanisms for getting > notmuch to emit some

Re: correct way to search for only PDF attachments

2015-09-29 Thread David Bremner
Suvayu Ali writes: > On Tue, Sep 29, 2015 at 08:00:18AM -0300, David Bremner wrote: >> >> Of course it is getting pretty big, I don't know what to do about >> that. > > How about an overview in notmuch-search-terms with more detailed docs in > an info page?

Re: [PATCH v4 0/5] notmuch-emacs-mua updates

2015-09-29 Thread David Bremner
Jani Nikula writes: > The main goal is to not force --create-frame on users who dislike > it. Split to some hopefully less controversial prep patches. series pushed. d ___ notmuch mailing list notmuch@notmuchmail.org

Re: correct way to search for only PDF attachments

2015-09-29 Thread David Bremner
Carl Worth writes: > On Mon, Sep 28 2015, Xu Wang wrote: >> I would look to look for all emails from a colleague jongho. I tried: >> >> from:jongho attachment:pdf >> >> which seems to do as I wanted. > > Good. That should work. Another option is to use mimetype:pdf man

Re: correct way to search for only PDF attachments

2015-09-29 Thread Suvayu Ali
On Tue, Sep 29, 2015 at 08:00:18AM -0300, David Bremner wrote: > > Of course it is getting pretty big, I don't know what to do about > that. How about an overview in notmuch-search-terms with more detailed docs in an info page? coreutils does this. I don't think this will add any new build

Re: [PATCH] cli: use designated initializer to initialize add_files_state

2015-09-29 Thread David Bremner
Jani Nikula writes: > The side effect is that all of add_files_state will be initialized to > zero, removing any lingering doubt that some of it might not be > initialized. It's not a small struct, and the initialization is > scattered around a bit, so this makes the code more

Re: [PATCH v2] nmbug-status: add support for specifying sort order for each view

2015-09-29 Thread David Bremner
Jani Nikula writes: > Let each view have a "sort" key, typically used with values > "oldest-first" or "newest-first" (although all values in Query.SORT > are accepted), and sort the results accordingly. Oldest first remains > the default. pushed. d

Re: [PATCH v4 5/5] notmuch-emacs-mua: do not create a frame by default with --client

2015-09-29 Thread Tomi Ollila
On Mon, Sep 28 2015, David Bremner wrote: > Tomi Ollila writes: > > >> if [ -n "$AUTO_DAEMON" -a -z "$CREATE_FRAME" ]; then >> echo "$0: --auto-daemon is only applicable with --create-frame." >&2 >> exit 1 >> fi >> >> without this one may

Re: [PATCH v2] nmbug-status: add support for specifying sort order for each view

2015-09-29 Thread Tomi Ollila
On Tue, Sep 29 2015, David Bremner wrote: > Jani Nikula writes: > >> Let each view have a "sort" key, typically used with values >> "oldest-first" or "newest-first" (although all values in Query.SORT >> are accepted), and sort the results accordingly. Oldest