[PATCH 0/3] Fix gnus-inhibit-images bug in Emacs 24

2012-09-29 Thread Tomi Ollila
On Sat, Sep 29 2012, Austin Clements wrote: > This series adds a test for the gnus-inhibit-images bug and then > provides one possile work-around. > > Another possible approach is to advise mm-shr to load gnus-art. That > might be a better approach, given that mm-shr is the only function > outsi

[ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-09-29 Thread Tim Stoakes
Hello fellow notmuch-ers, What is notmuchfs? -- Notmuchfs implements a virtual file system which creates maildirs from notmuch mail query results. This is useful for using notmuch with tools which are not aware of notmuch, only maildirs - such as mutt. Basically you 'mkdir' your q

[PATCH] emacs: simplify point placement in notmuch-hello refresh

2012-09-29 Thread Austin Clements
LGTM. I wasn't aware notmuch-hello even attempted to maintain point, since I'd never seen it work. This patch could go a step further and remove found-target-pos from notmuch-hello-insert-saved-searches, target-pos from notmuch-hello-insert-searches, and found-target-pos from notmuch-hello-insert

Re: [PATCH] emacs: simplify point placement in notmuch-hello refresh

2012-09-29 Thread Austin Clements
LGTM. I wasn't aware notmuch-hello even attempted to maintain point, since I'd never seen it work. This patch could go a step further and remove found-target-pos from notmuch-hello-insert-saved-searches, target-pos from notmuch-hello-insert-searches, and found-target-pos from notmuch-hello-insert

[PATCH] emacs: simplify point placement in notmuch-hello refresh

2012-09-29 Thread Jani Nikula
notmuch-hello (called also through notmuch-hello-update, bound to '=' by default) tries to find the widget under or following point before refresh, and put the point back to the widget afterwards. The code has grown quite complicated, and has at least the following issues: 1) All the individual se

Searching from a folder

2012-09-29 Thread Damien Cassou
On Sat, Sep 29, 2012 at 12:58 PM, Jani Nikula wrote: > So you have folders named like that in your maildir? It *should* of > course work with proper escapes and/or quoting it works exactly like that with my main gmail account, with exactly the same folder name. -- Damien Cassou http://damiencas

[PATCH] emacs: Work around gnus-inhibit-images bug in mm-shr

2012-09-29 Thread Austin Clements
Emacs 24's mm-shr HTML email renderer fails to load gnus-art before referencing gnus-inhibit-images, resulting in a void-variable error when notmuch attempts to render an HTML email with inline images. This works around this bug by advising mm-shr to load gnus-art. mm-shr is the only function outs

Searching from a folder

2012-09-29 Thread Jani Nikula
On Sat, 29 Sep 2012, Damien Cassou wrote: > I can't make notmuch search return the list of mails in [Gmail] > folders for a particular mailbox: > > ~ $ notmuch search folder:"[Gmail].All Mail" > ~ $ notmuch search folder:[Gmail].Important So you have folders named like that in your maildir? It *s

[PATCH 3/3] emacs: Work around gnus-inhibit-images bug in mm-shr

2012-09-29 Thread Austin Clements
Emacs 24's mm-shr HTML email renderer fails to load gnus-art before referencing gnus-inhibit-images, resulting in a void-variable error when notmuch attempts to render an HTML email with inline images. This works around this bug by providing a definition for gnus-inhibit-images. This fixes the "Re

[PATCH 2/3] test: Add a test for HTML email with inline images

2012-09-29 Thread Austin Clements
Currently this test passes in Emacs 23 but fails in Emacs 24 (at least on some Linux distributions). --- test/emacs | 34 ++ 1 file changed, 34 insertions(+) diff --git a/test/emacs b/test/emacs index 174a9ac..1f84b91 100755 --- a/test/emacs +++ b/test/emacs @@ -

[PATCH 1/3] test: Clear test-ouput output file before running Emacs tests

2012-09-29 Thread Austin Clements
Most Emacs tests end with a call to (test-output), which saves the buffer to a filed called OUTPUT. Previously, if the test code failed with an exception before this call, the test framework would then compare against the OUTPUT file from the last Emacs test, resulting in confusing diffs. This re

[PATCH 0/3] Fix gnus-inhibit-images bug in Emacs 24

2012-09-29 Thread Austin Clements
This series adds a test for the gnus-inhibit-images bug and then provides one possile work-around. Another possible approach is to advise mm-shr to load gnus-art. That might be a better approach, given that mm-shr is the only function outside of gnus-art itself that references gnus-inhibit-images

Re: [PATCH 0/3] Fix gnus-inhibit-images bug in Emacs 24

2012-09-29 Thread Tomi Ollila
On Sat, Sep 29 2012, Austin Clements wrote: > This series adds a test for the gnus-inhibit-images bug and then > provides one possile work-around. > > Another possible approach is to advise mm-shr to load gnus-art. That > might be a better approach, given that mm-shr is the only function > outsi

Searching from a folder

2012-09-29 Thread Austin Clements
Quoth Damien Cassou on Sep 29 at 10:57 am: > Hi, > > I can't make notmuch search return the list of mails in [Gmail] > folders for a particular mailbox: > > ~ $ notmuch search folder:"[Gmail].All Mail" > ~ $ notmuch search folder:[Gmail].Important You need to properly escape these, both for the

[PATCH] emacs: Work around gnus-inhibit-images bug in mm-shr

2012-09-29 Thread Austin Clements
Emacs 24's mm-shr HTML email renderer fails to load gnus-art before referencing gnus-inhibit-images, resulting in a void-variable error when notmuch attempts to render an HTML email with inline images. This works around this bug by advising mm-shr to load gnus-art. mm-shr is the only function outs

Searching from a folder

2012-09-29 Thread Damien Cassou
Hi, I can't make notmuch search return the list of mails in [Gmail] folders for a particular mailbox: ~ $ notmuch search folder:"[Gmail].All Mail" ~ $ notmuch search folder:[Gmail].Important but these folders actually contain emails. This works well for another gmail mailbox I have. You can repr

[PATCH 1/3] test: Clear test-ouput output file before running Emacs tests

2012-09-29 Thread Austin Clements
Most Emacs tests end with a call to (test-output), which saves the buffer to a filed called OUTPUT. Previously, if the test code failed with an exception before this call, the test framework would then compare against the OUTPUT file from the last Emacs test, resulting in confusing diffs. This re

[PATCH 3/3] emacs: Work around gnus-inhibit-images bug in mm-shr

2012-09-29 Thread Austin Clements
Emacs 24's mm-shr HTML email renderer fails to load gnus-art before referencing gnus-inhibit-images, resulting in a void-variable error when notmuch attempts to render an HTML email with inline images. This works around this bug by providing a definition for gnus-inhibit-images. This fixes the "Re

[PATCH 2/3] test: Add a test for HTML email with inline images

2012-09-29 Thread Austin Clements
Currently this test passes in Emacs 23 but fails in Emacs 24 (at least on some Linux distributions). --- test/emacs | 34 ++ 1 file changed, 34 insertions(+) diff --git a/test/emacs b/test/emacs index 174a9ac..1f84b91 100755 --- a/test/emacs +++ b/test/emacs @@ -

[PATCH 0/3] Fix gnus-inhibit-images bug in Emacs 24

2012-09-29 Thread Austin Clements
This series adds a test for the gnus-inhibit-images bug and then provides one possile work-around. Another possible approach is to advise mm-shr to load gnus-art. That might be a better approach, given that mm-shr is the only function outside of gnus-art itself that references gnus-inhibit-images

Re: Searching from a folder

2012-09-29 Thread Austin Clements
Quoth Damien Cassou on Sep 29 at 10:57 am: > Hi, > > I can't make notmuch search return the list of mails in [Gmail] > folders for a particular mailbox: > > ~ $ notmuch search folder:"[Gmail].All Mail" > ~ $ notmuch search folder:[Gmail].Important You need to properly escape these, both for the

Re: Searching from a folder

2012-09-29 Thread Damien Cassou
On Sat, Sep 29, 2012 at 12:58 PM, Jani Nikula wrote: > So you have folders named like that in your maildir? It *should* of > course work with proper escapes and/or quoting it works exactly like that with my main gmail account, with exactly the same folder name. -- Damien Cassou http://damiencas

[ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-09-29 Thread Tim Stoakes
Hello fellow notmuch-ers, What is notmuchfs? -- Notmuchfs implements a virtual file system which creates maildirs from notmuch mail query results. This is useful for using notmuch with tools which are not aware of notmuch, only maildirs - such as mutt. Basically you 'mkdir' your q

Re: Searching from a folder

2012-09-29 Thread Jani Nikula
On Sat, 29 Sep 2012, Damien Cassou wrote: > I can't make notmuch search return the list of mails in [Gmail] > folders for a particular mailbox: > > ~ $ notmuch search folder:"[Gmail].All Mail" > ~ $ notmuch search folder:[Gmail].Important So you have folders named like that in your maildir? It *s

Searching from a folder

2012-09-29 Thread Damien Cassou
Hi, I can't make notmuch search return the list of mails in [Gmail] folders for a particular mailbox: ~ $ notmuch search folder:"[Gmail].All Mail" ~ $ notmuch search folder:[Gmail].Important but these folders actually contain emails. This works well for another gmail mailbox I have. You can repr