Re: [PATCH 5/5] lib: Add lastmod: queries for filtering by last modification
David Bremner writes on August 20, 2015 8:22: David Bremner da...@tethera.net writes: From: Austin Clements amdra...@mit.edu The implementation is essentially the same as the date range search prior to Jani's fancy date parser. pushed the series. Those of you running master be prepared for a database update next time you run notmuch new. This particular update is relatively fast, it took about a minute for my 380k messages (on SSD). Great! -g ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
folder: search-term problems
Hello, I've been having trouble getting the folder: search-term to work correctly. I can successfully do a query of the count for INBOX, but nothing else. Here are some examples from running notmuch on the command line. $ pwd /Users/cceleri/Maildir $ ls Archive INBOX NotJunk Trash DraftsJunk Sent Messages $ notmuch count folder:INBOX 19517 $ notmuch count folder:Junk 0 Am I using the folder: search-term incorrectly? Best, Charles ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
notmuch-mode very slow in emacs-mac-port (railwaycat)
I run Emacs on Mac OSX, and I'm trying to switch from Emacs for Mac OSX http://emacsformacosx.com/ to Emacs Mac Port https://github.com/railwaycat/emacs-mac-port. I use (notmuch)[http://notmuchmail.org/emacstips/] for email. It works perfectly on Emacs for Mac OSX http://emacsformacosx.com/. But on Emacs Mac Port, it's prohibitively slow. Also, the message list is messed up, double spaced and with strange boxes: [image: display irregularities] I'm using the exact same configuration as I do with Emacs for Mac OSX. Does anyone know what's causing these problems, and how to fix them? Thank you so much in advance. BTW, I also posted this on StackExchange: http://emacs.stackexchange.com/questions/14875/notmuch-mode-very-slow-in-emacs-mac-port-railwaycat ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Re: folder: search-term problems
Charles Celerier ccel...@cs.stanford.edu writes: $ notmuch count folder:INBOX 19517 $ notmuch count folder:Junk 0 Am I using the folder: search-term incorrectly? Are there messages in the folder Junk with exclude_tags? Excluded tags will not show up in the default search. You can try $ notmuch count --exclude=false folder:Junk br \= odi ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Re: [PATCH 5/5] lib: Add lastmod: queries for filtering by last modification
David Bremner da...@tethera.net writes: From: Austin Clements amdra...@mit.edu The implementation is essentially the same as the date range search prior to Jani's fancy date parser. pushed the series. Those of you running master be prepared for a database update next time you run notmuch new. This particular update is relatively fast, it took about a minute for my 380k messages (on SSD). d ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
using the fringe to indicate good signatures
After listening to bremner, dkg et al. from Heidelberg, I threw together a quick patch to see how we might indicate signature validity in the fringe. The intention is to prompt more discussion - this code is not ready to ship. The patch is attached. The result looks something like: http://dme.org/data/images/notmuch-signed-fringe.png Thoughts? diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 4dee34b..3d447af 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -646,25 +646,46 @@ will return nil if the CID is unknown or cannot be retrieved. (indent-rigidly start (point) 1))) t) -(defun notmuch-show-insert-part-multipart/signed (msg part content-type nth depth button) - (button-put button 'face 'notmuch-crypto-part-header) - ;; add signature status button if sigstatus provided - (if (plist-member part :sigstatus) - (let* ((from (notmuch-show-get-header :From msg)) - (sigstatus (car (plist-get part :sigstatus - (notmuch-crypto-insert-sigstatus-button sigstatus from)) -;; if we're not adding sigstatus, tell the user how they can get it -(button-put button 'help-echo Set notmuch-crypto-process-mime to process cryptographic MIME parts.)) +;; None of the existing fringe bitmaps are empty. +(define-fringe-bitmap 'notmuch-show--fringe-empty '[]) - (let ((inner-parts (plist-get part :content)) - (start (point))) -;; Show all of the parts. -(mapc (lambda (inner-part) - (notmuch-show-insert-bodypart msg inner-part depth)) - inner-parts) +(defun notmuch-show--sigstatus-to-fringe-string (status) + (let ((good-bad-ugly (plist-get status :status))) +(cond + ((string= good-bad-ugly good) + (propertize dummy 'display + '(left-fringe notmuch-show--fringe-empty notmuch-crypto-signature-good))) + ;; XXX dme: insert more here. + (t nil -(when notmuch-show-indent-multipart - (indent-rigidly start (point) 1))) +(defun notmuch-show-insert-part-multipart/signed (msg part content-type nth depth button) + (let ((start-of-signed (point))) +(button-put button 'face 'notmuch-crypto-part-header) + +(let ((sigstatus (car (plist-get part :sigstatus))) + (from (notmuch-show-get-header :From msg))) + ;; Add signature status button if status is provided. + (if sigstatus + (notmuch-crypto-insert-sigstatus-button sigstatus from) + ;; If we're not adding the status, tell the user how they can + ;; get it. + (button-put button 'help-echo Set notmuch-crypto-process-mime to process cryptographic MIME parts.)) + + (let ((inner-parts (plist-get part :content)) + (start (point)) + (fringe-string (notmuch-show--sigstatus-to-fringe-string sigstatus))) + ;; Show all of the parts. + (mapc (lambda (inner-part) + (notmuch-show-insert-bodypart msg inner-part depth)) + inner-parts) + + (when notmuch-show-indent-multipart + (indent-rigidly start (point) 1)) + + (when fringe-string + (replace-regexp ^ fringe-string nil start-of-signed (point + ) +) t) (defun notmuch-show-insert-part-multipart/encrypted (msg part content-type nth depth button) signature.asc Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
Re: folder: search-term problems
Doh! I just realized that everything in my Junk folder is tagged junk which is one of my configured search.exclude_tags. Nevermind, all is well. Thank you to all the kind folks who continue to maintain notmuch! -charles Charles Celerier ccel...@cs.stanford.edu writes: Hello, I've been having trouble getting the folder: search-term to work correctly. I can successfully do a query of the count for INBOX, but nothing else. Here are some examples from running notmuch on the command line. $ pwd /Users/cceleri/Maildir $ ls Archive INBOX NotJunk Trash DraftsJunk Sent Messages $ notmuch count folder:INBOX 19517 $ notmuch count folder:Junk 0 Am I using the folder: search-term incorrectly? Best, Charles signature.asc Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch