Org-mode support
Hi Matthieu! On Mon, 07 Feb 2011 22:22:17 +0100, Matthieu Lemerre wrote: > I have written the org-mode support for notmuch a while ago. It allows > to open links to notmuch from org-mode and create org-mode link from > notmuch buffers. > > The current maintainer of the package is looking for feedback for > inclusion of the package in the org-mode trunk, so if anyone is using > org-mode, I think it would be a good idea to say so on the orgmode > mailing list! Thanks so much for sending this, its very interesting! I've just started trying it and have managed to use M-x org-store-link on your email to add an org-mode todo item to try out org-mode support for notmuch :) I have one question, how do you add multiple query arguments? For example, in my org file I tried 'notmuch-search:tag:notmuch' - this worked great, but if I did 'notmuch-search:tag:notmuch and subject:Org' the link only works up until the first space. I also noticed that David Bremner has done something similar[0] and I wonder if you have looked at his code[1], or if David has looked at yours. Perhaps the start of a collaboration? Micah 0. id:1259979997-31544-1-git-send-email-david at tethera.net 1. http://pivot.cs.unb.ca/git/?p=org-mode.git;a=shortlog;h=refs/heads/notmuch-link -- 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/20110315/5094de71/attachment.pgp>
Re: Org-mode support
Hi Matthieu! On Mon, 07 Feb 2011 22:22:17 +0100, Matthieu Lemerre wrote: > I have written the org-mode support for notmuch a while ago. It allows > to open links to notmuch from org-mode and create org-mode link from > notmuch buffers. > > The current maintainer of the package is looking for feedback for > inclusion of the package in the org-mode trunk, so if anyone is using > org-mode, I think it would be a good idea to say so on the orgmode > mailing list! Thanks so much for sending this, its very interesting! I've just started trying it and have managed to use M-x org-store-link on your email to add an org-mode todo item to try out org-mode support for notmuch :) I have one question, how do you add multiple query arguments? For example, in my org file I tried 'notmuch-search:tag:notmuch' - this worked great, but if I did 'notmuch-search:tag:notmuch and subject:Org' the link only works up until the first space. I also noticed that David Bremner has done something similar[0] and I wonder if you have looked at his code[1], or if David has looked at yours. Perhaps the start of a collaboration? Micah 0. id:1259979997-31544-1-git-send-email-da...@tethera.net 1. http://pivot.cs.unb.ca/git/?p=org-mode.git;a=shortlog;h=refs/heads/notmuch-link pgp5pm81Wouw1.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
python documentation
On Mon, 14 Mar 2011 23:26:29 -0700, Jameson Rollins wrote: > I just discovered this: > > http://packages.python.org/notmuch/ > > I don't know who did this, but THANK YOU!! I want to buy you a beer. I prefer the stronger type of beer. But I'll even take Budweiser :-). Please ship in August to San Antonio, Texas when I'll be there for a conference ;). Seriously, you are welcome. I am lagging a bit behind changes in notmuch (the get_filenames iterator comes to my mind). But I do like to deliver my stuff with complete docs... Sebastian -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110315/2075b8a4/attachment.pgp>
python documentation
On Tue, 15 Mar 2011 11:33:19 -0700, Jameson Rollins wrote: > On Tue, 15 Mar 2011 14:22:55 -0400, James Vasile > wrote: > > notmuch dump includes '# TODO: implement "dump "' but it > > appears to work already. What's missing? > > Hey, James. Is this related to the python documentation somehow? If > so, I'm not sure how. > > If you're just referencing a completed TODO, you could definitely submit > a patch to remove it from the TODO. > Yep, just a completed TODO. Patch below. diff --git a/bindings/python/notmuch.py b/bindings/python/notmuch.py index 8572612..8d11859 100755 --- a/bindings/python/notmuch.py +++ b/bindings/python/notmuch.py @@ -486,7 +486,6 @@ def main(): print "\n".join([t for t in msgs.collect_tags()]) #- elif sys.argv[1] == 'dump': -# TODO: implement "dump " if len(sys.argv) == 2: f = sys.stdout else:
python documentation
notmuch dump includes '# TODO: implement "dump "' but it appears to work already. What's missing? Thanks, James
Re: python documentation
On Tue, 15 Mar 2011 11:33:19 -0700, Jameson Rollins wrote: > On Tue, 15 Mar 2011 14:22:55 -0400, James Vasile > wrote: > > notmuch dump includes '# TODO: implement "dump "' but it > > appears to work already. What's missing? > > Hey, James. Is this related to the python documentation somehow? If > so, I'm not sure how. > > If you're just referencing a completed TODO, you could definitely submit > a patch to remove it from the TODO. > Yep, just a completed TODO. Patch below. diff --git a/bindings/python/notmuch.py b/bindings/python/notmuch.py index 8572612..8d11859 100755 --- a/bindings/python/notmuch.py +++ b/bindings/python/notmuch.py @@ -486,7 +486,6 @@ def main(): print "\n".join([t for t in msgs.collect_tags()]) #- elif sys.argv[1] == 'dump': -# TODO: implement "dump " if len(sys.argv) == 2: f = sys.stdout else: ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Re: python documentation
On Tue, 15 Mar 2011 14:22:55 -0400, James Vasile wrote: > notmuch dump includes '# TODO: implement "dump "' but it > appears to work already. What's missing? Hey, James. Is this related to the python documentation somehow? If so, I'm not sure how. If you're just referencing a completed TODO, you could definitely submit a patch to remove it from the TODO. jamie. pgpQ2PG6wG8NB.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
python documentation
On Tue, 15 Mar 2011 14:22:55 -0400, James Vasile wrote: > notmuch dump includes '# TODO: implement "dump "' but it > appears to work already. What's missing? Hey, James. Is this related to the python documentation somehow? If so, I'm not sure how. If you're just referencing a completed TODO, you could definitely submit a patch to remove it from the TODO. 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/20110315/cce0ccd6/attachment-0001.pgp>
problem with folder: search in python bindings
Hey, folks. I'm seeing something peculiar with the python bindings. It seems that I am not able to get any results when doing "folder:" searches with the python bindings. I'm using a version of notmuch that includes the folder index patch. Attached is a script that demonstrates the problem. It generates a test repository, then does a couple of searches over it. When running the script, I get the following output: 0$ ./python-folder-search-test Found 2 total files (that's not much mail). Note: Ignoring non-mail file: /home/jrollins/tmp/tmp.1dMO5vnweJ/config Processed 2 total files in almost no time. Added 1 new message to the database. == notmuch search '*': thread:0001 Yest. 23:26 [1/1] Jameson Rollins; python documentation (inbox signed unread) == notmuch search 'folder:sent': thread:0001 Yest. 23:26 [1/1] Jameson Rollins; python documentation (inbox signed unread) == python search '*': Jameson Rollins (2011-03-14) (inbox signed unread) (-1) replies == python search 'folder:sent': 0$ You can see that cli notmuch returns search results when searching for "folder:sent". The python bindings, on the other hand, return nothing. Anyone have any idea what could be going on here? I'm not familiar with how the python bindings work, unfortunately. jamie. python-folder-search Description: script to test python folder: search pgpfQvk27pnlH.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
problem with folder: search in python bindings
Hey, folks. I'm seeing something peculiar with the python bindings. It seems that I am not able to get any results when doing "folder:" searches with the python bindings. I'm using a version of notmuch that includes the folder index patch. Attached is a script that demonstrates the problem. It generates a test repository, then does a couple of searches over it. When running the script, I get the following output: 0$ ./python-folder-search-test Found 2 total files (that's not much mail). Note: Ignoring non-mail file: /home/jrollins/tmp/tmp.1dMO5vnweJ/config Processed 2 total files in almost no time. Added 1 new message to the database. == notmuch search '*': thread:0001 Yest. 23:26 [1/1] Jameson Rollins; python documentation (inbox signed unread) == notmuch search 'folder:sent': thread:0001 Yest. 23:26 [1/1] Jameson Rollins; python documentation (inbox signed unread) == python search '*': Jameson Rollins (2011-03-14) (inbox signed unread) (-1) replies == python search 'folder:sent': 0$ You can see that cli notmuch returns search results when searching for "folder:sent". The python bindings, on the other hand, return nothing. Anyone have any idea what could be going on here? I'm not familiar with how the python bindings work, unfortunately. jamie. -- next part -- A non-text attachment was scrubbed... Name: python-folder-search Type: application/octet-stream Size: 741 bytes Desc: script to test python folder: search URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110315/55674a0b/attachment.obj> -- 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/20110315/55674a0b/attachment.pgp>
Re: python documentation
notmuch dump includes '# TODO: implement "dump "' but it appears to work already. What's missing? Thanks, James ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Re: python documentation
On Mon, 14 Mar 2011 23:26:29 -0700, Jameson Rollins wrote: > I just discovered this: > > http://packages.python.org/notmuch/ > > I don't know who did this, but THANK YOU!! I want to buy you a beer. I prefer the stronger type of beer. But I'll even take Budweiser :-). Please ship in August to San Antonio, Texas when I'll be there for a conference ;). Seriously, you are welcome. I am lagging a bit behind changes in notmuch (the get_filenames iterator comes to my mind). But I do like to deliver my stuff with complete docs... Sebastian pgpMxgHC3VAGZ.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
python documentation
I just discovered this: http://packages.python.org/notmuch/ I don't know who did this, but THANK YOU!! I want to buy you a beer. jamie. pgpig71Wo3F0x.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Re: [RFC] Enhancements to address completion
On Mon, 14 Mar 2011 22:05:00 +0100, Xavier Maillard wrote: > Hey Kristoffer > > On Mon, 14 Mar 2011 10:26:20 +0100, Kristoffer Ström > wrote: > > > I use it for completing through a modified version of eudc-select. > > Would you mind posting this 'modified version of eudc-select' here ? > > /Xavier Not at all fancy, only this: https://gist.github.com/869875 ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Re: [RFC] Enhancements to address completion
Hey Kristoffer On Mon, 14 Mar 2011 10:26:20 +0100, Kristoffer Ström wrote: > I use it for completing through a modified version of eudc-select. Would you mind posting this 'modified version of eudc-select' here ? /Xavier ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Re: [RFC] Enhancements to address completion
2011/3/14 Kristoffer Ström : > Have you looked at 'ido-completing-read that comes with ido-mode? [...] > It allows for fuzzy matching on any part of the name. Yes, that's what I use, yes with flex matching. Regards, Servilio ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch