Sorting and attachments
On Sat, 26 Mar 2011 21:53:49 -0700, mueen at nawaz.org wrote: > 1. Can notmuch return results sorted by size? As far as I know, there is currently no way to do that (but see below). > 2. Can I tell notmuch to limit the items it returns (e.g. show me > first ten messages matching ... ) Are you looking for this in the emacs UI? The following works for me on the command line: notmuch search '*' | head -10 > 3. Any plans for searching via attachment size or type? Say I want all > emails with attachments bigger than 1 MB. You can currently search through attachments with the 'attachment:' search term. See "notmuch help search-terms" for more info. This works for searching for mime types. I don't know of a way to search by size, though. > Essentially, I have a tendency to prune off large attachments so that > my mail directory doesn't blow up... You might just try using find, which is very useful for this kind of thing: find $MAILDIR -printf '%b %p\n' | sort -n hth. 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/20110326/e8621979/attachment.pgp>
[PATCH] use custom-face-edit value-type in notmuch-search-line-faces
On Sat, 26 Mar 2011 22:16:32 -0700, Jameson Graef Rollins wrote: > This enables the proper face customization UI for > notmuch-search-line-faces. Hey, folks. amdragon was the one who figured out that custom-face-edit was the correct value-type to use to get the face customization ui for the notmuch-search-line-faces list. However, he seems to think this might not be the right solution. Austin: care to comment? 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/20110326/ded8143a/attachment.pgp>
[PATCH] use custom-face-edit value-type in notmuch-search-line-faces
This enables the proper face customization UI for notmuch-search-line-faces. --- emacs/notmuch.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 92a86cf..a23d0c2 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -612,7 +612,7 @@ The attributes defined for matching tags are merged, with later attributes overriding earlier. A message having both \"delete\" and \"unread\" tags with the above settings would have a green foreground and blue background." - :type '(alist :key-type (string) :value-type (list)) + :type '(alist :key-type (string) :value-type (custom-face-edit)) :group 'notmuch) (defun notmuch-search-color-line (start end line-tag-list) -- 1.7.4.1
Sorting and attachments
Hi, 1. Can notmuch return results sorted by size? 2. Can I tell notmuch to limit the items it returns (e.g. show me first ten messages matching ... ) 3. Any plans for searching via attachment size or type? Say I want all emails with attachments bigger than 1 MB. Essentially, I have a tendency to prune off large attachments so that my mail directory doesn't blow up... Thanks.
Re: Notmuch on os x?
On Mar 25, 2011 at 10:32 AM +0100, Sebastian Spaeth wrote: Hi, I have done the python bindings so far. But, I won't be able to help with that. I have barely any experience with interfacing libs from python and definitely none doing so on Mac OSX. I just happen to love Python :) I gathered you loved Python judging by your activity on the offlineimap group :) I figured it was a long shot asking about it here since it seems like it's probably an issue specific to OS X (and maybe only on my system). For what it's worth, other library bindings work fine with their respective bindings, and from what I can tell, it's not a problem with the notmuch Python bindings themselves, but something to do with how libnotmuch.1.dylib has been compiled on my system... I don't think it's an i386/x86_64 issue, since Iibnotmuch is x86_64 and I've tested it with two 64 bit versions of Python, 2.6.1 (included with OS X 10.6) and 2.7.1 from python.org. pgpxStY9IcbX0.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Sorting and attachments
Hi, 1. Can notmuch return results sorted by size? 2. Can I tell notmuch to limit the items it returns (e.g. show me first ten messages matching ... ) 3. Any plans for searching via attachment size or type? Say I want all emails with attachments bigger than 1 MB. Essentially, I have a tendency to prune off large attachments so that my mail directory doesn't blow up... Thanks. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
[PATCH] use custom-face-edit value-type in notmuch-search-line-faces
This enables the proper face customization UI for notmuch-search-line-faces. --- emacs/notmuch.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 92a86cf..a23d0c2 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -612,7 +612,7 @@ The attributes defined for matching tags are merged, with later attributes overriding earlier. A message having both \delete\ and \unread\ tags with the above settings would have a green foreground and blue background. - :type '(alist :key-type (string) :value-type (list)) + :type '(alist :key-type (string) :value-type (custom-face-edit)) :group 'notmuch) (defun notmuch-search-color-line (start end line-tag-list) -- 1.7.4.1 ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Re: [PATCH] use custom-face-edit value-type in notmuch-search-line-faces
On Sat, 26 Mar 2011 22:16:32 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: This enables the proper face customization UI for notmuch-search-line-faces. Hey, folks. amdragon was the one who figured out that custom-face-edit was the correct value-type to use to get the face customization ui for the notmuch-search-line-faces list. However, he seems to think this might not be the right solution. Austin: care to comment? jamie. pgpWvD5DAPR1G.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Re: Sorting and attachments
On Sat, 26 Mar 2011 21:53:49 -0700, mu...@nawaz.org wrote: 1. Can notmuch return results sorted by size? As far as I know, there is currently no way to do that (but see below). 2. Can I tell notmuch to limit the items it returns (e.g. show me first ten messages matching ... ) Are you looking for this in the emacs UI? The following works for me on the command line: notmuch search '*' | head -10 3. Any plans for searching via attachment size or type? Say I want all emails with attachments bigger than 1 MB. You can currently search through attachments with the 'attachment:' search term. See notmuch help search-terms for more info. This works for searching for mime types. I don't know of a way to search by size, though. Essentially, I have a tendency to prune off large attachments so that my mail directory doesn't blow up... You might just try using find, which is very useful for this kind of thing: find $MAILDIR -printf '%b %p\n' | sort -n hth. jamie. pgppIQrnKueMv.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch