Re: [PATCH] emacs: Put notmuch-hello-sections in custom group notmuch-hello

2012-04-16 Thread Jani Nikula
Hi Austin, id:1330811724-30901-1-git-send-email-j...@nikula.org :) Mark had a valid point about ordering within groups, which I didn't follow up on, but this is a necessary intermediate step in the right direction no matter what. I don't care whose patches get merged, but let's merge the change.

Re: [PATCH 1/3] emacs: modify help message for notmuch-search-line-faces to reflect preferred deleted tag name.

2012-04-16 Thread Tomi Ollila
On Mon, Apr 16 2012, Jameson Graef Rollins jroll...@finestructure.net wrote: On Sun, Apr 15 2012, Tomi Ollila tomi.oll...@iki.fi wrote: id:1326826969-23545-1-git-send-email-jroll...@finestructure.net Does just delete - deleted change: the only question I have left is that should that be left

Re: [PATCH] emacs: Put notmuch-hello-sections in custom group notmuch-hello

2012-04-16 Thread Mark Walters
On Mon, 16 Apr 2012, Jani Nikula j...@nikula.org wrote: Hi Austin, id:1330811724-30901-1-git-send-email-j...@nikula.org :) Mark had a valid point about ordering within groups, which I didn't follow up on, but this is a necessary intermediate step in the right direction no matter what. I don't

Re: some stale patches dropped from the review queue

2012-04-16 Thread Justus Winter
Hi Jani, thanks for your efforts. id:1316999137-28257-8-git-send-email-4win...@informatik.uni-hamburg.de That one is obsolete. Justus ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

.. regarding opening the attached files ...

2012-04-16 Thread David Belohrad
Dear Experts, could someone give me a hint: I receive an email with attachment. It says it is a pdf, e.g. like this: [ Ultra_Low_Noise_AC_Beam_Transformer2.pdf: application/pdf ] when I click on it, I would assume, that it opens the file using 'default' application, which is - when looking

Re: .. regarding opening the attached files ...

2012-04-16 Thread Mark Walters
On Mon, 16 Apr 2012, David Belohrad da...@belohrad.ch wrote: Dear Experts, could someone give me a hint: I receive an email with attachment. It says it is a pdf, e.g. like this: [ Ultra_Low_Noise_AC_Beam_Transformer2.pdf: application/pdf ] when I click on it, I would assume, that it

[PATCH] configure: test shell parameter substring processing and possibly exec one

2012-04-16 Thread Tomi Ollila
configure script uses parameter substring extensively. It is Posix shell feature. Original Bourne shell does not have such features. Some systems still ships such shells as /bin/sh (for compatibility reasons -- shell scripts written on those platforms are expected to work in 1990's systems...) To

Re: .. regarding opening the attached files ...

2012-04-16 Thread Jameson Graef Rollins
On Mon, Apr 16 2012, Mark Walters markwalters1...@gmail.com wrote: On Mon, 16 Apr 2012, David Belohrad da...@belohrad.ch wrote: I receive an email with attachment. It says it is a pdf, e.g. like this: [ Ultra_Low_Noise_AC_Beam_Transformer2.pdf: application/pdf ] when I click on it, I would

[PATCH] Add a new.filename_tags option

2012-04-16 Thread Neil Roberts
This option is similar to the existing new.tags option except that it is instead used when a new filename is encountered for an existing message. This can be used to do post-processing based on the filenames that a message has. For example, in my setup I use maildrop to filter the messages in to

Re: [PATCH] emacs: Put notmuch-hello-sections in custom group notmuch-hello

2012-04-16 Thread Austin Clements
Quoth Jani Nikula on Apr 16 at 6:58 am: Hi Austin, id:1330811724-30901-1-git-send-email-j...@nikula.org :) Mark had a valid point about ordering within groups, which I didn't follow up on, but this is a necessary intermediate step in the right direction no matter what. I don't care whose

Re: [PATCH 1/3] new: Consistently treat fatal errors as fatal

2012-04-16 Thread Mark Walters
On Mon, 27 Feb 2012, Austin Clements amdra...@mit.edu wrote: Previously, fatal errors in add_files_recursive were not treated as fatal by its callers (including itself!) and add_files_recursive sometimes returned errors on non-fatal conditions. This makes add_files_recursive errors

Re: [PATCH 2/3] new: Handle fatal errors in remove_filename and _remove_directory

2012-04-16 Thread Mark Walters
On Mon, 27 Feb 2012, Austin Clements amdra...@mit.edu wrote: Previously such errors were simply ignored. Now they cause an immediate cleanup and abort. This one looks fine except for a minor query. --- notmuch-new.c | 24 ++-- 1 files changed, 18 insertions(+), 6

Re: .. regarding opening the attached files ...

2012-04-16 Thread Jeremy Nickurak
On Mon, Apr 16, 2012 at 09:19, Jameson Graef Rollins jroll...@finestructure.net wrote: Also, when the cursor is on the button you can hit 'o' to open with default mailcap app, 's' to save, and 'v' to view with a specified app. Is there any way of just getting it to ignore mailcap, and send

Re: .. regarding opening the attached files ...

2012-04-16 Thread David Belohrad
Does kde use the same database as gnome? Jeremy Nickurak not-m...@trk.nickurak.canapsal/a: On Mon, Apr 16, 2012 at 09:19, Jameson Graef Rollins jroll...@finestructure.net wrote: Also, when the cursor is on the button you can hit 'o' to open with default mailcap app, 's' to save, and 'v' to

Re: .. regarding opening the attached files ...

2012-04-16 Thread Jeremy Nickurak
No idea. I expect they don't use mailcap though... any KDE users here? On Mon, Apr 16, 2012 at 10:54, David Belohrad da...@belohrad.ch wrote: Does kde use the same database as gnome? Jeremy Nickurak not-m...@trk.nickurak.canapsal/a: On Mon, Apr 16, 2012 at 09:19, Jameson Graef Rollins

Re: .. regarding opening the attached files ...

2012-04-16 Thread Jameson Graef Rollins
On Mon, Apr 16 2012, Jeremy Nickurak not-m...@trk.nickurak.ca wrote: On Mon, Apr 16, 2012 at 09:19, Jameson Graef Rollins jroll...@finestructure.net wrote: Also, when the cursor is on the button you can hit 'o' to open with default mailcap app, 's' to save, and 'v' to view with a specified

Re: .. regarding opening the attached files ...

2012-04-16 Thread David Belohrad
Well that's why I'm asking. I'm kde user. kde has its own handling of file associations. I assume that it is different solution than gnome has. Hence one might conclude that there is no standard how to provide associations and thus emacs one is as good as all the others Jeremy Nickurak

Re: [RFC] Split notmuch_database_close into two functions

2012-04-16 Thread Tomi Ollila
On Tue, Apr 17 2012, Justus Winter 4win...@informatik.uni-hamburg.de wrote: Hi everyone, Quoting Patrick Totzke (2012-04-13 10:33:58) Quoting Austin Clements (2012-04-01 04:23:23) Maybe you could describe your use case in more detail? Quoting Austin Clements (2012-04-12 17:57:44) Quoth

some stale patches dropped from the review queue

2012-04-16 Thread Jani Nikula
On Sun, 15 Apr 2012, Jani Nikula wrote: > I have tagged the following patches notmuch::stale, removing them from > the review queue [1], purely based on they not applying to master > anymore (see [2] for tag definitions). Please rebase your patches > against master and resubmit if you think

[PATCH 4/4] Explicitly type void* pointers

2012-04-16 Thread Jani Nikula
I tagged this patch notmuch::obsolete (see [1]) as the template workaround was pushed to master (commit de0557477d908be26615e8fda9f5eb62bed68b65). Jani. [1] http://nmbug.tethera.net/status/ On Mon, 09 Apr 2012, Vladimir.Marek at oracle.com wrote: > From: Vladimir Marek > > > Signed-off-by:

incrontab?

2012-04-16 Thread David Belohrad
Hi Adam, interestingly, your 'G' short-cut hint works out of the box! What happens is, that when one presses 'G', this invokes notmuch-hello-poll-and-update. This function calls 'notmuch-poll', which does exactly what I want. I.e. it runs 'notmuch new' if no polling script is specified. In my

[PATCH 1/3] emacs: modify help message for notmuch-search-line-faces to reflect preferred "deleted" tag name.

2012-04-16 Thread Tomi Ollila
On Sun, Apr 15 2012, Jameson Graef Rollins wrote: > On Sun, Apr 15 2012, Mark Walters wrote: >> This patch is trivially correct regardless of the rest of the >> series. >> >> I think the rest of the series (which provides keybindings for >> adding/removing the delete tag to messages/threads)

[PATCH] emacs: Put notmuch-hello-sections in custom group notmuch-hello

2012-04-16 Thread Jani Nikula
Hi Austin, id:"1330811724-30901-1-git-send-email-jani at nikula.org" :) Mark had a valid point about ordering within groups, which I didn't follow up on, but this is a necessary intermediate step in the right direction no matter what. I don't care whose patches get merged, but let's merge the

[PATCH 1/3] emacs: modify help message for notmuch-search-line-faces to reflect preferred "deleted" tag name.

2012-04-16 Thread Tomi Ollila
On Mon, Apr 16 2012, Jameson Graef Rollins wrote: > On Sun, Apr 15 2012, Tomi Ollila wrote: >> id:"1326826969-23545-1-git-send-email-jrollins at finestructure.net" >> >> Does just "delete" -> "deleted" change: the only question I have left >> is that should that be left as is, this change

[PATCH] emacs: Put notmuch-hello-sections in custom group notmuch-hello

2012-04-16 Thread Mark Walters
On Mon, 16 Apr 2012, Jani Nikula wrote: > Hi Austin, id:"1330811724-30901-1-git-send-email-jani at nikula.org" :) > > Mark had a valid point about ordering within groups, which I didn't > follow up on, but this is a necessary intermediate step in the right > direction no matter what. I don't care

.. regarding opening the attached files ...

2012-04-16 Thread David Belohrad
Dear Experts, could someone give me a hint: I receive an email with attachment. It says it is a pdf, e.g. like this: [ Ultra_Low_Noise_AC_Beam_Transformer2.pdf: application/pdf ] when I click on it, I would assume, that it opens the file using 'default' application, which is - when looking

.. regarding opening the attached files ...

2012-04-16 Thread Mark Walters
On Mon, 16 Apr 2012, David Belohrad wrote: > Dear Experts, > could someone give me a hint: > > I receive an email with attachment. It says it is a pdf, e.g. like this: > > [ Ultra_Low_Noise_AC_Beam_Transformer2.pdf: application/pdf ] > > when I click on it, I would assume, that it opens the

[PATCH] configure: test shell parameter substring processing and possibly exec one

2012-04-16 Thread Tomi Ollila
configure script uses parameter substring extensively. It is Posix shell feature. Original Bourne shell does not have such features. Some systems still ships such shells as /bin/sh (for compatibility reasons -- shell scripts written on those platforms are expected to work in 1990's systems...) To

.. regarding opening the attached files ...

2012-04-16 Thread Jameson Graef Rollins
lable Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120416/03755d38/attachment.pgp>

[PATCH] Add a new.filename_tags option

2012-04-16 Thread Neil Roberts
This option is similar to the existing new.tags option except that it is instead used when a new filename is encountered for an existing message. This can be used to do post-processing based on the filenames that a message has. For example, in my setup I use maildrop to filter the messages in to

[PATCH] emacs: Put notmuch-hello-sections in custom group notmuch-hello

2012-04-16 Thread Austin Clements
Quoth Jani Nikula on Apr 16 at 6:58 am: > Hi Austin, id:"1330811724-30901-1-git-send-email-jani at nikula.org" :) > > Mark had a valid point about ordering within groups, which I didn't > follow up on, but this is a necessary intermediate step in the right > direction no matter what. I don't

[PATCH 1/3] new: Consistently treat fatal errors as fatal

2012-04-16 Thread Mark Walters
On Mon, 27 Feb 2012, Austin Clements wrote: > Previously, fatal errors in add_files_recursive were not treated as > fatal by its callers (including itself!) and add_files_recursive > sometimes returned errors on non-fatal conditions. This makes > add_files_recursive errors consistently fatal

[PATCH 2/3] new: Handle fatal errors in remove_filename and _remove_directory

2012-04-16 Thread Mark Walters
On Mon, 27 Feb 2012, Austin Clements wrote: > Previously such errors were simply ignored. Now they cause an > immediate cleanup and abort. This one looks fine except for a minor query. > --- > notmuch-new.c | 24 ++-- > 1 files changed, 18 insertions(+), 6 deletions(-) >

[PATCH] Add a new.filename_tags option

2012-04-16 Thread Austin Clements
Quoth Neil Roberts on Apr 16 at 4:01 pm: > This option is similar to the existing new.tags option except that it > is instead used when a new filename is encountered for an existing > message. > > This can be used to do post-processing based on the filenames that a > message has. For example, in

.. regarding opening the attached files ...

2012-04-16 Thread Jeremy Nickurak
On Mon, Apr 16, 2012 at 09:19, Jameson Graef Rollins wrote: > Also, when the cursor is on the button you can hit 'o' to open with > default mailcap app, 's' to save, and 'v' to view with a specified app. Is there any way of just getting it to ignore mailcap, and send everything to xdg-open? It's

.. regarding opening the attached files ...

2012-04-16 Thread David Belohrad
Does kde use the same database as gnome? Jeremy Nickurak napsal/a: >On Mon, Apr 16, 2012 at 09:19, Jameson Graef Rollins > wrote: >> Also, when the cursor is on the button you can hit 'o' to open with >> default mailcap app, 's' to save, and 'v' to view with a specified app. > >Is there any way

.. regarding opening the attached files ...

2012-04-16 Thread Jeremy Nickurak
No idea. I expect they don't use mailcap though... any KDE users here? On Mon, Apr 16, 2012 at 10:54, David Belohrad wrote: > Does kde use the same database as gnome? > > Jeremy Nickurak napsal/a: > >>On Mon, Apr 16, 2012 at 09:19, Jameson Graef Rollins >> wrote: >>> Also, when the cursor is on

.. regarding opening the attached files ...

2012-04-16 Thread Jameson Graef Rollins
jamie. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120416/54ccb850/attachment.pgp>

.. regarding opening the attached files ...

2012-04-16 Thread David Belohrad
Well that's why I'm asking. I'm kde user. kde has its own handling of file associations. I assume that it is different solution than gnome has. Hence one might conclude that there is no standard how to provide associations and thus emacs one is as good as all the others Jeremy Nickurak

.. regarding opening the attached files ...

2012-04-16 Thread Justus Winter
Hi David, Quoting David Belohrad (2012-04-16 19:38:03) >[...] Your mail client is not including any in-reply-to or reference headers which is *very* annoying for all notmuch users. You can see your mail thread breaking apart at your replies in the mailing list archive [0]. And please don't TOFU

[PATCH] emacs: correct `notmuch-search-mode's docstring wrt `notmuch-search-tag-all'

2012-04-16 Thread Mark Walters
On Wed, 22 Feb 2012, Pieter Praet wrote: > * emacs/notmuch.el (notmuch-search-mode): > `notmuch-search-tag-all' currently uses the current query string > instead of `notmuch-search-find-thread-id-region-search', which > might cause a race condition. This looks correct and is a significant