How to debug 'ignoring non-mail file' issues

2014-09-03 Thread Jani Nikula
On Wed, 03 Sep 2014, Perttu Luukko wrote: > What I mean that there would be a separate error for cases "Does not > resemble an email message at all", i.e., some control file your mail > server happens to store in the mailbox, and "Looks like mail but we > can't parse it", i.e., better find out

[PATCH] cli: Be more helpful when .notmuch-config does not exist

2014-09-03 Thread Austin Clements
Previously, if the user ran any subcommand that required a configuration (e.g., notmuch new) but didn't have a configuration, notmuch would give the rather un-friendly and un-actionable message Error reading configuration file .notmuch-config: No such file or directory Since this condition is

sending email using different server for different 'From:' field

2014-09-03 Thread David Belohrad
oukej. this seems to be exactly what I'm looking for. Is there a way how to 'cycle' in notmuch different From: fields? I'd need to setup like 3 addresses, each of them with different signatures and be able to easily switch between them thanks .d. Keith Amidon writes: > On Tue, 2014-09-02

How to debug 'ignoring non-mail file' issues

2014-09-03 Thread Perttu Luukko
On 2014-09-02 23:37:12, Jani Nikula wrote: > On Mon, 01 Sep 2014, Perttu Luukko wrote: > > Yes, upgrading to GMime 2.6.20 caused all the messages on my server > > classified as mail. > > What was the old version? If it was 2.4 we should probably consider > dropping support for that in future

How to debug 'ignoring non-mail file' issues

2014-09-03 Thread Jani Nikula
On Mon, 01 Sep 2014, Perttu Luukko wrote: > Yes, upgrading to GMime 2.6.20 caused all the messages on my server > classified as mail. What was the old version? If it was 2.4 we should probably consider dropping support for that in future notmuch. > Even more reason to give a separate warning

[PATCH v2] emacs: jump: sort-order bugfix

2014-09-03 Thread Jani Nikula
On Tue, 02 Sep 2014, Mark Walters wrote: > default-value needs its argument to be quoted. > > Slightly strangely default-value of 't or nil is 't or nil > respectively so the code > > (default-value notmuch-search-oldest-first) > > just gives the current value of notmuch-search-oldest-first

Re: sending email using different server for different 'From:' field

2014-09-03 Thread David Belohrad
oukej. this seems to be exactly what I'm looking for. Is there a way how to 'cycle' in notmuch different From: fields? I'd need to setup like 3 addresses, each of them with different signatures and be able to easily switch between them thanks .d. Keith Amidon cama...@picnicpark.org writes:

Re: sending email using different server for different 'From:' field

2014-09-03 Thread Mark Walters
Hi On Wed, 03 Sep 2014, David Belohrad da...@belohrad.ch wrote: oukej. this seems to be exactly what I'm looking for. Is there a way how to 'cycle' in notmuch different From: fields? I'd need to setup like 3 addresses, each of them with different signatures and be able to easily switch

[PATCH] cli: Be more helpful when .notmuch-config does not exist

2014-09-03 Thread Austin Clements
Previously, if the user ran any subcommand that required a configuration (e.g., notmuch new) but didn't have a configuration, notmuch would give the rather un-friendly and un-actionable message Error reading configuration file .notmuch-config: No such file or directory Since this condition is

Re: How to debug 'ignoring non-mail file' issues

2014-09-03 Thread Jani Nikula
On Wed, 03 Sep 2014, Perttu Luukko perttu.luu...@iki.fi wrote: What I mean that there would be a separate error for cases Does not resemble an email message at all, i.e., some control file your mail server happens to store in the mailbox, and Looks like mail but we can't parse it, i.e., better

Re: [PATCH] cli: Be more helpful when .notmuch-config does not exist

2014-09-03 Thread Carl Worth
Austin Clements amdra...@mit.edu writes: Since this condition is expected for new users, this patch adds specific handling for the file-not-found case to give a message that is friendly and actionable. ... + fprintf (stderr, Configuration file %s not found.\n +

Re: [PATCH v2] emacs: jump: sort-order bugfix

2014-09-03 Thread Carl Worth
Mark Walters markwalters1...@gmail.com writes: The symptom is that if you are in a search buffer and use notmuch jump to run a saved search which does not have an explicitly set sort order then the sort order of the saved-search is inherited from the current search buffer rather than being the

Re: How to debug 'ignoring non-mail file' issues

2014-09-03 Thread Perttu Luukko
On 2014-09-03 19:03:40, Jani Nikula wrote: On Wed, 03 Sep 2014, Perttu Luukko perttu.luu...@iki.fi wrote: What I mean that there would be a separate error for cases Does not resemble an email message at all, i.e., some control file your mail server happens to store in the mailbox, and Looks