Re: [PATCH] lib: Fix endless upgrade problem

2014-09-01 Thread David Bremner
Austin Clements writes: > 48db8c8 introduced a disagreement between when > notmuch_database_needs_upgrade returned TRUE and when > notmuch_database_upgrade actually performed an upgrade. As a result, > if a database had a version less than 3, but no new features were > required, notmuch new woul

[PATCH] lib: Fix endless upgrade problem

2014-09-01 Thread David Bremner
Austin Clements writes: > 48db8c8 introduced a disagreement between when > notmuch_database_needs_upgrade returned TRUE and when > notmuch_database_upgrade actually performed an upgrade. As a result, > if a database had a version less than 3, but no new features were > required, notmuch new woul

Re: [PATCH] lib: Fix endless upgrade problem

2014-09-01 Thread Mark Walters
On Tue, 02 Sep 2014, Tomi Ollila wrote: > On Tue, Sep 02 2014, Austin Clements wrote: > >> 48db8c8 introduced a disagreement between when >> notmuch_database_needs_upgrade returned TRUE and when >> notmuch_database_upgrade actually performed an upgrade. As a result, >> if a database had a versi

Re: [Vagrant Cascadian] Bug#759646: notmuch-emacs: switching mode= to invalid value sends unencrypted mail

2014-09-01 Thread Daniel Kahn Gillmor
On 08/30/2014 03:37 AM, Jani Nikula wrote: > I'm inclined to think this is a bug in message-mode. I agree it's a bug in message-mode, not in notmuch itself. > As a workaround of sorts, I'd suggest not messing with the #secure tag > manually. Instead, you can use mml-secure-message-sign and > mml

[PATCH] doc: 'rm -f' potential doxygen temporary output file

2014-09-01 Thread Tomi Ollila
Some (older) Doxygen versions do not create such a temporary file. --- I was crafting somewhat larger patch where doxygen outputs to _build/.wip... and then the final would be sed(1)'d to the target. But as that would not be the ultimate solution (i.e. sed(1) to yet another intermediate and mv(1)

Re: [PATCH] lib: Fix endless upgrade problem

2014-09-01 Thread Tomi Ollila
On Tue, Sep 02 2014, Austin Clements wrote: > 48db8c8 introduced a disagreement between when > notmuch_database_needs_upgrade returned TRUE and when > notmuch_database_upgrade actually performed an upgrade. As a result, > if a database had a version less than 3, but no new features were > requir

[PATCH] lib: Fix endless upgrade problem

2014-09-01 Thread Austin Clements
48db8c8 introduced a disagreement between when notmuch_database_needs_upgrade returned TRUE and when notmuch_database_upgrade actually performed an upgrade. As a result, if a database had a version less than 3, but no new features were required, notmuch new would call notmuch_database_upgrade to p

[PATCH] lib: Fix endless upgrade problem

2014-09-01 Thread Austin Clements
48db8c8 introduced a disagreement between when notmuch_database_needs_upgrade returned TRUE and when notmuch_database_upgrade actually performed an upgrade. As a result, if a database had a version less than 3, but no new features were required, notmuch new would call notmuch_database_upgrade to p

[PATCH] doc: 'rm -f' potential doxygen temporary output file

2014-09-01 Thread Tomi Ollila
Some (older) Doxygen versions do not create such a temporary file. --- I was crafting somewhat larger patch where doxygen outputs to _build/.wip... and then the final would be sed(1)'d to the target. But as that would not be the ultimate solution (i.e. sed(1) to yet another intermediate and mv(1)

How to debug 'ignoring non-mail file' issues

2014-09-01 Thread Tomi Ollila
On Mon, Sep 01 2014, Perttu Luukko wrote: > On 2014-08-31 07:41:42, David Bremner wrote: >> Perttu Luukko writes: >> > The vast majority of these ignored mails are not ignored after I >> > transfer them with offlineimap to another computer. I can non-ignore >> > these files probably by copying t

How to debug 'ignoring non-mail file' issues

2014-09-01 Thread Perttu Luukko
On 2014-09-01 09:52:20, Perttu Luukko wrote: > If the files really are ignored because of GMime it also explains why so > much more files are ignored on my mail provider's server than on my > laptop. The server probably has an older version of GMime. I'll upgrade > and see if that makes a differenc

How to debug 'ignoring non-mail file' issues

2014-09-01 Thread Perttu Luukko
On 2014-08-31 07:41:42, David Bremner wrote: > Perttu Luukko writes: > > The vast majority of these ignored mails are not ignored after I > > transfer them with offlineimap to another computer. I can non-ignore > > these files probably by copying the renamed file back to the mail > > server, so th

How to debug 'ignoring non-mail file' issues

2014-09-01 Thread Perttu Luukko
On 2014-08-31 09:46:12, David Bremner wrote: > Perttu Luukko writes: > > > I understand that the list of non-mail files is stored in the > > notmuch database and the files are completely ignored from there on. > > This actually makes it harder to debug these kind of issues since > > the list of i

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

2014-09-01 Thread Tomi Ollila
On Mon, Sep 01 2014, Perttu Luukko wrote: > On 2014-08-31 07:41:42, David Bremner wrote: >> Perttu Luukko writes: >> > The vast majority of these ignored mails are not ignored after I >> > transfer them with offlineimap to another computer. I can non-ignore >> > these files probably by copying t

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

2014-09-01 Thread Perttu Luukko
On 2014-09-01 09:52:20, Perttu Luukko wrote: > If the files really are ignored because of GMime it also explains why so > much more files are ignored on my mail provider's server than on my > laptop. The server probably has an older version of GMime. I'll upgrade > and see if that makes a differenc