Re: [notmuch] [PATCH] Return unpropertized strings for filename and message-id

2009-11-26 Thread Carl Worth
On Mon, 23 Nov 2009 17:57:31 +0100, Tassilo Horn tass...@member.fsf.org wrote: Hi! Here's my first patch. It changes that notmuch-show-get-filename and notmuch-show-get-message-id return simple strings and not propertited strings. Thanks, Tassilo! It's great to have a contribution from

Re: [notmuch] _notmuch_message_create_for_message_id makes extra call to notmuch_database_find_message

2009-11-27 Thread Carl Worth
On Mon, 23 Nov 2009 12:29:44 -0800, Keith Packard kei...@keithp.com wrote: Looking at _notmuch_message_create_for_message_id, the first thing it does is call notmuch_database_find_message, but the returned 'message' is never used. I haven't tried, but I suspect this call could just be

Re: [notmuch] [PATCH] notmuch-new: Eliminate tallocs whilst construct filenames.

2009-11-27 Thread Carl Worth
On Sun, 22 Nov 2009 00:57:10 +, Chris Wilson ch...@chris-wilson.co.uk wrote: The majority of filenames will fit within PATH_MAX [4096] (because that's a hard limit imposed by the filesystems) so we can avoid an allocation per lookup and thereby eliminate a large proportion of the overhead

Re: [notmuch] [PATCH 1/2] New function notmuch-search-operate-all: operate on all messages in the current query.

2009-11-27 Thread Carl Worth
On Thu, 26 Nov 2009 22:36:49 +0100, Jed Brown j...@59a2.org wrote: It is often convenient to change tags on several messages at once. This function applies any number of tag whitespace-delimited tag modifications to all messages matching the current query. Thanks Jed, I've applied both this

Re: [notmuch] Notmuch-side support for git send-email --notmuch id:MESSAGE-ID

2009-11-27 Thread Carl Worth
On Wed, 25 Nov 2009 02:35:12 +0100, Jed Brown j...@59a2.org wrote: These two patches provide support for features like the one in the subject line. Along with these two patches, I have one for git format-patch (which I will submit upstream soon) that uses the output from notmuch reply

Re: [notmuch] vim interface pull request

2009-11-27 Thread Carl Worth
On Wed, 25 Nov 2009 00:54:22 -0500, Bart Trojanowski b...@jukie.net wrote: as you already know, I've spent some time working on a vim-based interface to notmuch. I currently only depend on the 'march:[01]' patches that we talked about briefly on irc. Everything else is isolated to the 'vim'

Re: [notmuch] [PATCH] notmuch-new: Test if directory looks like Maildir before skipping tmp.

2009-11-27 Thread Carl Worth
On Wed, 25 Nov 2009 22:11:45 +0100, Jan Janak j...@ryngle.com wrote: Files and subdirectories with the name tmp that do not look like Maildir will still be processed by 'notmuch new'. This is a nice improvement. I realize we neglected to document the original tmp skipping. This should

Re: [notmuch] [PATCH] notmuch.el: Require message mode to avoid undefined function in replies.

2009-11-27 Thread Carl Worth
On Wed, 25 Nov 2009 14:14:20 -0800, Eric Anholt e...@anholt.net wrote: Otherwise, those without keithp's .emacs would end up with reply mode not being entered. Suggested by keithp. Thanks, Eric. The fact that replies were only sometimes in message-mode was really annoying me. Should be nice to

Re: [notmuch] [PATCH] add missing comma in debugging code

2009-11-27 Thread Carl Worth
On Thu, 26 Nov 2009 11:32:35 -0400, David Bremner brem...@unb.ca wrote: - INTERNAL_ERROR (Message %s has duplicate In-Reply-To IDs: %s and %s\n + INTERNAL_ERROR (Message %s has duplicate In-Reply-To IDs: %s and %s\n, Thanks. This is pushed. -Carl

Re: [notmuch] [PATCH] Return unpropertized strings for filename and message-id

2009-11-27 Thread Carl Worth
to explanatory files like HACKING. And eventually I'll fix the website so that other people can contribute to it as well. Thanks again for all your help, -Carl --8---cut here---start-8--- From: Tassilo Horn tass...@member.fsf.org To: Carl Worth cwo...@cworth.org

Re: [notmuch] OpenPGP support

2009-11-27 Thread Carl Worth
On Thu, 26 Nov 2009 15:01:38 -0800, Keith Packard kei...@keithp.com wrote: On Thu, 26 Nov 2009 10:41:36 -0800, Carl Worth cwo...@cworth.org wrote: I'm not sure how to make sure that I also get that when doing a reply within notmuch. Keith, I think you worked this out, right? What did you

Re: [notmuch] [PATCH 1/9] Explicitly require the message library

2009-11-27 Thread Carl Worth
On Fri, 27 Nov 2009 05:30:07 -0800, cama...@picnicpark.org wrote: From: Keith Amidon ke...@nicira.com Functions provided by the message library were being used without ensuring it was loaded. Thanks. This one at least we did just fix recently. -Carl pgpYNGNqkPj0V.pgp Description: PGP

Re: [notmuch] [PATCH 2/9] Adjust autoload comments

2009-11-27 Thread Carl Worth
On Fri, 27 Nov 2009 05:30:08 -0800, cama...@picnicpark.org wrote: From: Keith Amidon ke...@nicira.com The previous location of autoload comments didn't seem to correspond with the functions most likely to be the entry points for using notmuch. This change adjusts them to match those likely

Re: [notmuch] [PATCH 4/9] Factor out message buffer mgmt from notmuch-show-view-all-mime-parts

2009-11-27 Thread Carl Worth
On Fri, 27 Nov 2009 05:30:10 -0800, cama...@picnicpark.org wrote: From: Keith Amidon ke...@nicira.com The ability to temporarily create a buffer containing only the contents of the currently selected message in notmuch show mode is generally useful. This commit factors the majority of the

Re: [notmuch] [PATCH 9/9] Key binding rearrangement for save attachments in show mode

2009-11-27 Thread Carl Worth
On Fri, 27 Nov 2009 05:30:15 -0800, cama...@picnicpark.org wrote: The most obvious bindings for save attachments are already taken. The existing 'w' binding was bound to view the raw message. This commit moves it to 'V' which still seems somewhat mnemonic and uses 'w' for save (write)

Re: [notmuch] [PATCH] notmuch-new: Eliminate tallocs whilst construct filenames.

2009-11-27 Thread Carl Worth
On Fri, 27 Nov 2009 14:17:02 +, Chris Wilson ch...@chris-wilson.co.uk wrote: I *know* I composed a reply to this message earlier, but apparently you're right that it never went out. (*sigh*---if only I had a reliable mail client[*]). I hear there's one called sup... ;-) Heh. But

Re: [notmuch] [PATCH 1/2] New function notmuch-search-operate-all: operate on all messages in the current query.

2009-11-27 Thread Carl Worth
On Fri, 27 Nov 2009 15:32:44 +0100, Jed Brown j...@59a2.org wrote: On Fri, 27 Nov 2009 06:02:45 -0800, Carl Worth cwo...@cworth.org wrote: Since this operates via a single call to notmuch tag you might mention here that all tag removals occur before any tag additions. I was unaware

Re: [notmuch] Duplicate In-reply-to line 326 lib/message.cc

2009-11-28 Thread Carl Worth
to introduce a new notmuch search --for=terms or so to have a much more useful debugging tool. Anyway, I hope that was informative. Thanks for reporting the bug! -Carl commit 64c8d6227a90ea6c37ea112ee20b14f16b9b46e7 Author: Carl Worth cwo...@cworth.org Date: Sat Nov 28 10:01:22 2009 -0800

Re: [notmuch] [patch] Trivial fix for non-root install

2009-12-01 Thread Carl Worth
targets, (maybe a message at the end of make install that greps and seds these out of Makefile.local?). -Carl commit 7c2c26bc4ec5fdab5c6fa72ea325d846b46929e3 Author: Carl Worth cwo...@cworth.org Date: Tue Dec 1 10:14:00 2009 -0800 Makefile: Add new install-bash target for bash completion

Re: [notmuch] [PATCH 1/3] Use default face for the button types so that the underlines go away

2009-12-03 Thread Carl Worth
On Tue, 1 Dec 2009 21:45:47 +0530, aneesh.ku...@gmail.com wrote: From: Alexander Botero-Lowry alex.boterolo...@gmail.com Since we know what these buttons do it seems like the underlines are unnecessary. This also backs out the attempt at fixing the button alignment on the message row, which

Re: [notmuch] Notmuch's search view sucks

2009-12-03 Thread Carl Worth
On Thu, 03 Dec 2009 14:33:51 +0100, Gregor Hoffleit gre...@hoffleit.de wrote: first a short introduction: I was a mutt user for ages. When I read about Sup, I was intrigued. After a short evaluation period, I switched to Sup, which I'm now using since six months. Hi Gregor, welcome to

Re: [notmuch] [PATCH (rebased)] Handle message renames in mail spool

2009-12-03 Thread Carl Worth
On Thu, 3 Dec 2009 03:15:26 +0600, Mikhail Gusarov dotted...@dottedmag.net wrote: In order to handle message renames the following changes were deemed necessary: Hi Mikhail, Thanks for contributing this patch (twice!). I think if I had gotten to it sooner, I probably would have committed it.

Re: [notmuch] [PATCH] notmuch-reply: Display reply message part using UTF-8.

2009-12-03 Thread Carl Worth
On Sat, 28 Nov 2009 19:58:29 +0800, Kan-Ru Chen ka...@kanru.info wrote: Pass the message through the charset filter so that we can view messages wrote in different charset encoding. ... Same problem as notmuch-show before. Noticed this when I intend to reply a Chinese mail... Thanks Kanru,

Re: [notmuch] [PATCH] Add some text to configure on how to install dependencies with yum.

2009-12-03 Thread Carl Worth
On Sat, 28 Nov 2009 08:20:08 -0600, Jeffrey C. Ollie j...@ocjtech.us wrote: Add some text on how to install dependencies with yum for Fedora or other systems that use yum for package management. Since the named of the required packages on Fedora are slightly different from Debian this will

Re: [notmuch] [PATCH 2/9] Adjust autoload comments

2009-12-03 Thread Carl Worth
On Mon, 30 Nov 2009 20:38:00 +, James Rowe jnr...@gmail.com wrote: I have to admit I played with elisp-make-autoload-file in my ebuild initially, but came to the conclusion there wasn't a great deal of purpose to exposing more than the main notmuch function. Mostly because it muddies my

Re: [notmuch] [PATCH 2/9] Adjust autoload comments

2009-12-03 Thread Carl Worth
On Mon, 30 Nov 2009 20:38:00 +, James Rowe jnr...@gmail.com wrote: I had planned on posting a patch for inclusion in packaging/Gentoo per Carl's mail[2], but the whole GPL 2 vs 3 thing made me put it on the backburner and I haven't looked again. Might still be useful to people unless

Re: [notmuch] Recent (and forthcoming) improvements to the emacs interface

2009-12-04 Thread Carl Worth
On Fri, 04 Dec 2009 03:06:32 +0100, Marten Veldthuis mar...@veldthuis.com wrote: Not sure what happened, but: Subject: [notmuch] [PATCH 4/9] Factor out message buffer mgmt from notmuch-show-view-all-mime-parts From: cama...@picnicpark.org ... now collapses into: Subject:

Re: [notmuch] [PATCH (rebased)] Handle message renames in mail spool

2009-12-04 Thread Carl Worth
On Fri, 04 Dec 2009 09:55:45 -0400, da...@tethera.net wrote: P.S. do people want to be CC'd on this list, or not? We don't require subscription to the list, so I recommend CC, yes. Plus, notmuch already handles duplicate mail just fine, (in that the user only sees one copy at least). And I tag

Re: [notmuch] [PATCH (rebased)] Handle message renames in mail spool

2009-12-04 Thread Carl Worth
On Sat, 05 Dec 2009 00:07:36 +0600, Mikhail Gusarov dotted...@dottedmag.net wrote: The only problem with Cc is that Mailman suppresses duplicate messages and hence there is no List-Id: on message. Hey, well notmuch doesn't even index the List-Id: header anyway. [*] ;-) But the above sounds

Re: [notmuch] [PATCH] Make search filters handle disjunctive queries.

2009-12-04 Thread Carl Worth
On Wed, 2 Dec 2009 12:00:35 +0100, Jed Brown j...@59a2.org wrote: notmuch-search-filter now accepts an arbitrary query and will group if necessary so that we get tag:inbox AND (gravy OR biscuits) instead of the former tag:inbox AND gravy OR biscuits Perfect. A nice clean patch for

Re: [notmuch] [PATCH 1/3] fix configure script to handle --prefix= and properly create Makefile.config

2009-12-04 Thread Carl Worth
On Sat, 28 Nov 2009 18:57:35 -0500, Jameson Graef Rollins jroll...@finestructure.net wrote: This also removes the Makefile.config from the repository, since it shouldn't be kept in the repository and should be created by the configure script. Hi Jamie, Handling --prefix will be a nice

Re: [notmuch] [PATCH] notmuch.el: Add face support to message summary and subject lines.

2009-12-04 Thread Carl Worth
On Mon, 30 Nov 2009 22:50:39 +0800, Kan-Ru Chen ka...@kanru.info wrote: Remove the underline of both message summary and subject lines. Message summary still defaults to reverse-video, use customize to change it to whatever you like. Thanks for submitting this patch. I recently fixed the ugly

Re: [notmuch] [PATCH] Fix typos in documentation strings

2009-12-04 Thread Carl Worth
On Tue, 01 Dec 2009 08:45:17 -0200, Fernando Carrijo fcarr...@yahoo.com.br wrote: One more party, one more joiner, one more patch! :) Welcome to the party, Fernando! - Forward a the current message. + Forward the current message. .. - Preficate testing whether current message is unread.

Re: [notmuch] [PATCH (rebased)] Handle message renames in mail spool

2009-12-04 Thread Carl Worth
On Fri, 4 Dec 2009 14:09:46 -0500, Michael Alan Dorman mdor...@ironicdesign.com wrote: Now, if you have an MTA that does duplicate suppression based on message-id, you probably won't see the copy of a message that went to the list if you're cc:'d on it because the direct copy (sans list-id

Re: [notmuch] [PATCH (rebased)] Handle message renames in mail spool

2009-12-04 Thread Carl Worth
On Fri, 4 Dec 2009 14:09:46 -0500, Michael Alan Dorman mdor...@ironicdesign.com wrote: Besides, in notmuch, what's the difference going to be? It'll still be threaded the same, etc., but you'd be able to tell that this one came to you rather than through the list, no? There's one other point

Re: [notmuch] [PATCH 1/3] fix configure script to handle --prefix= and properly create Makefile.config

2009-12-04 Thread Carl Worth
On Fri, 4 Dec 2009 19:20:50 -0500, Jameson Graef Rollins jroll...@finestructure.net wrote: Your commit message has that flag word of also in it, and as it turns out, the removal of Makefile.config from the repository has actually happened already. But that was easy enough to fix. I was

Re: [notmuch] [PATCH (rebased)] Handle message renames in mail spool

2009-12-05 Thread Carl Worth
On Sat, 05 Dec 2009 09:51:58 +0100, Marten Veldthuis mar...@veldthuis.com wrote: On Fri, 04 Dec 2009 16:39:50 -0800, Carl Worth cwo...@cworth.org wrote: But when viewing an actual message, I'm still planning on having notmuch just return an arbitrary filename from the list of filenames

[notmuch] emacs: Revert of rudimentary HTML support

2009-12-07 Thread Carl Worth
It was really nice to have the basic conversion of HTML to text, but I'm unwilling to accept the performance impacts of the current implementation. I'm seeing emacs stop and pause for seconds when I ask it to display a thread with even a small number of messages (say, 30 or so). Performance bugs

Re: [notmuch] Quick thoughts on a notmuch daemon

2009-12-07 Thread Carl Worth
On Mon, 07 Dec 2009 18:51:58 -0500, micah anderson mi...@riseup.net wrote: I've switched mail clients enough over the past few years to know that switching itself is a major pain. Absolutely. One concept in notmuch (compared to sup) is to (eventually) avoid people having to go through that

Re: [notmuch] [PATCH] notmuch-restore.c: only update tags for messages that differ from dump file.

2009-12-08 Thread Carl Worth
On Mon, 7 Dec 2009 23:14:48 -0400, da...@tethera.net wrote: The main feature of this patch is that it compares the list of current tags on a message with those read by restore. Only if the two lists differ is the tag list in the message replaced. In my experiments this leads to a large

Re: [notmuch] [Orgmode] Notmuch: An emacs interface for fast global search and tagging of email

2009-12-09 Thread Carl Worth
On Wed, 9 Dec 2009 10:01:27 +0100, Manuel Hermenegildo he...@fi.upm.es wrote: (seems like a variable is not defined well in the makefile). Taking the last libtalloc.dylib.2 out it seems to compile Maybe I hit that myself as well. Shame on me for now reporting it upstream to the talloc folks if

Re: [notmuch] [PATCH] Added regress option to tags iterator

2009-12-09 Thread Carl Worth
On Wed, 9 Dec 2009 14:24:46 +0100, Ruben Pollan mes...@sindominio.net wrote: Do you like to call them regress? Should I change that? I don't love the name, (since it's so close to the word regression which has a totally different meaning in software context). But I also don't have an immediate

Re: [notmuch] [PATCH] Added regress option to tags iterator

2009-12-09 Thread Carl Worth
On Wed, 9 Dec 2009 14:21:04 -0700, Mark Anderson markr.ander...@amd.com wrote: I think that changing has_more is going to be a requirement to come up with a consistent set of names. What? You don't want to pair it with has_less ? -Carl pgpPqJcgqhMLA.pgp Description: PGP signature

Re: [notmuch] Threading

2009-12-10 Thread Carl Worth
On Wed, 9 Dec 2009 16:21:34 -0700, Mark Anderson markr.ander...@amd.com wrote: I was wondering if there's a way in notmuch to group un-associated threads into a single thread. There's certainly nothing like that in notmuch currently. Sup had user-level functionality in the interface for

[notmuch] Fix viewing of thread after accidentally archiving.

2009-12-10 Thread Carl Worth
On Thu, 10 Dec 2009 11:14:35 -0400, da...@tethera.net wrote: From: David Bremner brem...@unb.ca This fixes the annoying bug of archiving a thread, and then going back to open it and getting an error. It needs the notmuch-show API changing patch of

Re: [notmuch] [PATCH 1/2] Expand scope of items considered when saving attachments

2009-12-10 Thread Carl Worth
On Sat, 5 Dec 2009 14:53:59 -0800, Keith Amidon ke...@nicira.com wrote: Previously only mime parts that indicated specified a disposition of attachment were saved. However there are time when it is important to be able to save inline content as well. After this commit any mime part that

Re: [notmuch] [PATCH 2/2] Save all attachments to a directory

2009-12-10 Thread Carl Worth
On Sat, 5 Dec 2009 14:54:00 -0800, Keith Amidon ke...@nicira.com wrote: Prompt for a directory and write all attachments of the current message to that directory, prompting for a filename for each with a default value of the filename specified in the attachment. I really like the idea of this

Re: [notmuch] Patch for xapian defect #250

2009-12-10 Thread Carl Worth
On Thu, 10 Dec 2009 15:00:42 +0800, Kan-Ru Chen ka...@kanru.info wrote: The termlist is already sorted, so this is the patch trying to minimize the modification of database as suggested in the comment and Carl's TODO file. Fantastic, Kan-Ru! My poor profiling shows not much, but some

Re: [notmuch] emacs mode performance issue

2009-12-11 Thread Carl Worth
On Thu, 10 Dec 2009 22:10:13 -0800, Dirk Hohndel hohn...@infradead.org wrote: I'm in the search results window in Emacs, on an LKML thread with 140+ messages. I hit return to view this thread - Emacs consumes 100% CPU but even after waiting 3 minutes it doesn't display the result (this is on a

Re: [notmuch] emacs mode performance issue

2009-12-11 Thread Carl Worth
On Fri, 11 Dec 2009 08:24:02 -0800, Carl Worth cwo...@cworth.org wrote: In the meantime, if I could get my hands on a message that triggers this bug, that would be useful. (Here's a case where it would be nice to have the notmuch search --output=maildir command I had talked about so that we

Re: [notmuch] reading with multiple MUAs from MailDir

2009-12-11 Thread Carl Worth
On Fri, 11 Dec 2009 12:59:59 -0800, Dirk Hohndel hohn...@infradead.org wrote: With all due respect... Seriously? That doesn't even qualify as a crazy hack... this process takes something like 15 minutes for me. Carl, any idea how when an actual solution to this problem will arrive? Hard to

Re: [notmuch] emacs mode performance issue

2009-12-11 Thread Carl Worth
On Fri, 11 Dec 2009 09:40:23 -0800, Carl Worth cwo...@cworth.org wrote: Which should let you tar these up and you can send them to me privately and I'll try to replicate and fix the bug. Thanks for passing on the messages, Dirk. If anyone's curious the message that triggered the bug is a public

Re: [notmuch] [PATCH] emacs: Don't eat last newline character of citations

2009-12-13 Thread Carl Worth
On Mon, 14 Dec 2009 00:06:53 +0800, Kan-Ru Chen ka...@kanru.info wrote: In case of a citation following immediately new contents. When the citation was collapsed: [1-line citation. Click/Enter to show.] Lorem ipsum dolor sit amet, consectetur adipisicin That's definitely a bug we want

Re: [notmuch] [PATCH 2/2] Save all attachments to a directory

2009-12-13 Thread Carl Worth
On Fri, 11 Dec 2009 17:32:51 -0800, Keith Amidon cama...@picnicpark.org wrote: {-- Thu, 10 Dec 2009 16:57:01 -0800: Carl cwo...@cworth.org wrote: --} What do you see as the write one behavior for a message with multiple attachments? I was imagining a direct-manipulation approach by clicking on

Re: [notmuch] [PATCH] Support for deletion by the emacs client

2009-12-14 Thread Carl Worth
On Sun, 13 Dec 2009 12:52:56 +0100, Matthieu Lemerre ra...@free.fr wrote: I tried notmuch and I really like it. I like having an emacs email client, but was proficient with none of them (neither with non-emacs clients, btw). Notmuch really seems the way to go. Hi Matthieu, welcome to notmuch!

Re: [notmuch] RFC: output json from notmuch?

2009-12-14 Thread Carl Worth
On Sun, 13 Dec 2009 19:21:02 -0400, David Bremner da...@tethera.net wrote: It would be nice to have more structured output from notmuch-show. I decided to investigate sexp (i.e. lisp) and json output. Thanks, David! Then I found that json parsing is provided by the library json.el shipped

Re: [notmuch] RFC: output json from notmuch?

2009-12-14 Thread Carl Worth
On Sun, 13 Dec 2009 16:05:07 -0800, Scott Robinson sc...@quadhome.com wrote: I have a patch for a --output=(text|json) for both notmuch-show and notmuch-search. I mentioned it earlier on the list, and no one seemed to have any interest. Hi Scott, I remember you mentioning this earlier, but I

Re: [notmuch] RFC: output json from notmuch?

2009-12-14 Thread Carl Worth
On Sun, 13 Dec 2009 20:42:07 -0400, David Bremner brem...@unb.ca wrote: On a different topic (and in response to Carl and your earlier discussion), as a counter-weight to the desire to avoid dependencies (which I agree with), I also think we should be careful about how many embedded copies of

Re: [notmuch] Rework of attachment saving

2009-12-14 Thread Carl Worth
On Mon, 14 Dec 2009 10:13:57 -0800, cama...@picnicpark.org wrote: I think I've reworked the attachment savings to behave as we've been discussing. I don't know anything about the button handling so I haven't attempted to implement the direct manipulation approach of of saving using the

Re: [notmuch] wish: syncable/immutable threads

2009-12-16 Thread Carl Worth
On Tue, 15 Dec 2009 17:23:59 -0400, David Bremner brem...@unb.ca wrote: I then try to visit these threads on a different machine, but of course that thread id doesn't exist there, since the database was reindexed and tags reimported. Ah, good point. I've wanted reproducible thread IDs also

Re: [notmuch] [PATCH 2/9] Adjust autoload comments

2009-12-17 Thread Carl Worth
On Thu, 17 Dec 2009 17:17:12 +, James Rowe jnr...@gmail.com wrote: [Sorry, I'm flipping back and forth between mail clients at the moment and I appear to have inadvertently marked a lot of mail as read that wasn't.] No worries. I don't even have the excuse of flipping back and forth, and

Re: [notmuch] [PATCH] JSON output for notmuch-search and notmuch-show.

2009-12-18 Thread Carl Worth
On Thu, 17 Dec 2009 21:33:54 -0800, Scott Robinson sc...@quadhome.com wrote: I took an earlier suggestion and didn't use cJSON, instead writing custom code for emitting the new format. Nice! I have a few comments below. Added an --output=(json|text|) command-line option to both

Re: [notmuch] [PATCH] Add an --output=(json|text|) command-line option to both notmuch-search and notmuch-show.

2009-12-18 Thread Carl Worth
On Fri, 18 Dec 2009 08:59:55 -0400, da...@tethera.net wrote: It took me a little work to apply Scott's patch, so rather than asking him to resend it from git-send-email, I am just sending. I hope no-one is offended (much). I think that's great! Collaboration is what this is all about. I'm

Re: [notmuch] Rather simple optimization for notmuch tag

2009-12-18 Thread Carl Worth
On Fri, 18 Dec 2009 00:49:00 -0700, Mark Anderson markr.ander...@amd.com wrote: I was updating my poll script that tags messages, and a common idiom is to put tag +mytag search_terms and not tag:mytag I don't know anything about efficiency, but for the simple single-tag case, couldn't we

Re: [notmuch] Missing messages breaking threads

2009-12-18 Thread Carl Worth
On Fri, 18 Dec 2009 19:53:13 +, James Westby jw+deb...@jameswestby.net wrote: Or do we not index whatever dummy text we add? Or do we not even put it in? Or not even show it at all? I was just thinking of having Missing messages... showing up as the start of the thread, but maybe it's no

Re: [notmuch] [PATCH] Store the size of the file for each message

2009-12-18 Thread Carl Worth
On Fri, 18 Dec 2009 21:21:03 +, James Westby jw+deb...@jameswestby.net wrote: Here's the first part, storing the filesize. I'm using add_value so that we can make it sortable, is that valid for retrieving it as well? Yes, a value makes sense here and should make the value easy to

Re: [notmuch] [PATCH] Store the size of the file for each message

2009-12-19 Thread Carl Worth
On Sat, 19 Dec 2009 09:02:11 +0100, Marten Veldthuis mar...@veldthuis.com wrote: Anyone have a solution here? Something like git help add just opens the manpage for git-add. Can't we do the same here? The granularity is different, though. I like that notmuch help show shows just the

Re: [notmuch] keeping a copy of sent mail locally

2009-12-19 Thread Carl Worth
On Sun, 20 Dec 2009 11:24:52 +1100, Alex Ghitza aghi...@gmail.com wrote: However, if I'm using notmuch in emacs and press 'm' to compose a new message, then the Bcc header is not added automatically and I guess it's not surprising that the rest doesn't work as expected. Yeah, sorry about that.

Re: [notmuch] [PATCH] notmuch-query.el: new file to support access to the notmuch database.

2009-12-21 Thread Carl Worth
On Sun, 20 Dec 2009 16:31:21 -0400, da...@tethera.net wrote: I didn't know if you (Carl) want to do copyright assignment, or just the GPL license headers are enough. I don't mind pretty much any variation. Please feel free to retain your own copyright. I certainly don't deserve anything being

Re: [notmuch] keeping a copy of sent mail locally

2009-12-21 Thread Carl Worth
On Sun, 20 Dec 2009 15:29:15 +1100, Alex Ghitza aghi...@gmail.com wrote: It looks like we need a way to get the primary email address from the config file. Yes, we definitely need that. Actually, while we're at it, we can consider making this more flexible and adding a new option to the

Re: [notmuch] [PATCH] Reindex larger files that duplicate ids we have

2009-12-21 Thread Carl Worth
Hi James, I just got to a point in my outstanding rework where I thought it would make sense to pull this patch series in, (I'm adding support for storing multiple filenames in a single mail document). I took a closer look at this series, and I think it's still independent, so I'll finish up

Re: [notmuch] [PATCH] Store documents for message-ids we haven't seen

2009-12-21 Thread Carl Worth
On Sun, 20 Dec 2009 20:27:32 +, James Westby jw+deb...@jameswestby.net wrote: One case that isn't handled is when we don't find the thread id of the parent, but then find the message itself. I believe this case shouldn't happen, but you never know. It really shouldn't happen since

Re: [notmuch] Missing messages breaking threads

2009-12-22 Thread Carl Worth
On Tue, 22 Dec 2009 22:48:25 + (UTC), Olly Betts o...@survex.com wrote: This is just the sort of thing which Xapian's user metadata is there for. It's essentially a key/value store which is versioned along with the rest of the Xapian database. So to set it:

Re: [notmuch] [PATCH] Added regress option to tags iterator

2010-01-05 Thread Carl Worth
On Tue, 5 Jan 2010 16:33:32 +0100, Ruben Pollan mes...@sindominio.net wrote: Not sure if I understand that. Let's see if I understand well. move_to_first (or move_to_last) will put the iterator in the first (or last) valid item. move_to_next (and move_to_previous) will be able to reach an

Re: [notmuch] Idea for storing tags

2010-01-13 Thread Carl Worth
On Wed, 13 Jan 2010 00:39:14 -0500, Scott Morrison sm...@indev.ca wrote: Maybe a better approach would be content addressing (see below). Content hashing -- good Idea ( not something that has hit me before) -- better than Message-Id as I believe there are still some MUA /MTAs that allow

Re: [notmuch] Idea for storing tags

2010-01-14 Thread Carl Worth
On Thu, 14 Jan 2010 21:04:21 +1300, martin f krafft madd...@madduck.net wrote: You might have marked a message 'read' on one machine and if the two get out of sync on another machine, you might have the same message unread there. That's a different issue though. With two databases there's

Re: [notmuch] indexing mail?

2010-01-14 Thread Carl Worth
On Thu, 14 Jan 2010 18:38:54 +0100, Adrian Perez de Castro ape...@igalia.com wrote: the offending commit is 2c4555f1a56602ff1dd55a63699810522ba4d91e from readdir (3): Currently, only some file systems (among them: Btrfs, ext2, ext3, and ext4) have full support returning

Re: [notmuch] Notmuch performance problems on OSX

2010-01-14 Thread Carl Worth
Hi Oliver, welcome to notmuch! On Thu, 14 Jan 2010 15:30:48 +, Oliver Charles oliver.g.char...@googlemail.com wrote: I've installed the latest notmuch from Git at this time of writing, along with Xapian from SVN head. However, just tagging a single thread with only one message seems to

Re: [notmuch] indexing mail?

2010-01-15 Thread Carl Worth
On Fri, 15 Jan 2010 21:57:32 +0200, Dirk-Jan C. Binnema djcb.b...@gmail.com wrote: Olly Underscore prefixed identifiers are reserved by ISO C at file-scope; Olly using them yourself is undefined behaviour... Ah, thanks for reminding, I thought it was __ and _C (capital), but you are

Re: [notmuch] Thoughts on notmuch and Lua

2010-01-15 Thread Carl Worth
On Fri, 15 Jan 2010 13:16:00 +1300, martin f krafft madd...@madduck.net wrote: Lua for hooks has the advantage that the hooks can be executed in the context of manipulateable objects. On the other hand, hooks in the style of run-parts directories are more flexible and accessible, and could

Re: [notmuch] Thoughts on notmuch and Lua

2010-01-15 Thread Carl Worth
On Fri, 15 Jan 2010 23:09:34 +0200, Ali Polatel a...@exherbo.org wrote: Carl Worth yazmış: What do you think, Ali? Would an approach like that satisfy the things you had in mind for hooks? It might, here are some thoughts and questions to help you elaborate: - How will these scripts

Re: [notmuch] inbox/unread tags for new messages [was: Re: Thoughts on notmuch and Lua]

2010-01-16 Thread Carl Worth
On Sat, 16 Jan 2010 18:38:40 -0500, Jameson Rollins jroll...@finestructure.net wrote: Is it really a scheme change that would require delicate handling? Yes. I would think that the change would be fairly straightforward: - if notmuch sees that a message in the maildir has moved from new to

Re: [notmuch] SWIG (and particularly Python) bindings

2010-01-20 Thread Carl Worth
On Tue, 29 Dec 2009 04:16:43 -0500, Ben Gamari bgam...@gmail.com wrote: I've been looking at switching away from sup recently to something with a slightly little less everything-and-the-kitchen-sink philosophy. Hi Ben, Welcome to Notmuch! Notmuch looks excellent, although it appears that its

Re: [notmuch] [PATCH] libtoolize notmuch.

2010-01-20 Thread Carl Worth
On Fri, 15 Jan 2010 23:28:55 -0500, Ben Gamari bgamari.f...@gmail.com wrote: Here is a patch based on quad's libtool branch rebased on current master. It has been tested and verified to work on my machine How about something similar that simply creates a .so with ld? I'd be interested in

Re: [notmuch] Git feature branch

2010-01-22 Thread Carl Worth
On Fri, 22 Jan 2010 09:50:51 +0100, Sebastian Spaeth sebast...@sspaeth.de wrote: My feature-branch is still located here: http://github.com/spaetz/notmuch-all-feature So far things work fine for me. It would be cool if Carl would merge (parts of?) it. Very much appreciated! Thanks for

[notmuch] New wiki instance on the notmuchmail.org website

2010-02-02 Thread Carl Worth
So Keith tells me he's entirely unimpressed with my website-design skills as evidenced by http://notmuchmail.org . In an effort to fix this, I've switched from the single, static HTML page that was there previously, to now using ikiwiki to generate a remarkably similar-looking, single, static web

Re: [notmuch] New wiki instance on the notmuchmail.org website

2010-02-03 Thread Carl Worth
On Wed, 03 Feb 2010 15:40:51 +0100, Marten Veldthuis mar...@veldthuis.com wrote: Carl, I'm getting To git://notmuchmail.org/git/notmuch-wiki ! [remote rejected] master - master (pre-receive hook declined) Oh, I'm very glad to hear that! (Though sorry that you are having difficulties.)

Re: [notmuch] Git feature branch

2010-02-03 Thread Carl Worth
On Tue, 26 Jan 2010 10:32:31 +1300, martin f krafft madd...@madduck.net wrote: I discussed this with Carl at LCA a bit and ideally we should come up with a way to relieve Carl of the bottleneck burden (obviously without stealing away his dictator hat ;) Sounds great! Let's keep working

Re: [notmuch] notmuch new: Memory problem (with uuencoded content)

2010-02-06 Thread Carl Worth
On Sat, 6 Feb 2010 11:40:18 +0100, Michal Sojka sojk...@fel.cvut.cz wrote: I've just looked at your notmuch-test commits. Did you noticed my patches which port Git's test framework for use with notmuch? Hi Michal, Ah, my mistake! That's what I get for working through my backlog

[notmuch] [PATCH] Switch from random to sequential thread identifiers.

2010-02-08 Thread Carl Worth
The sequential identifiers have the advantage of being guaranteed to be unique (until we overflow a 64-bit unsigned integer), and also take up slightly less space in the notmuch search output (20 columns rather than 32). This change also has the side effect of fixing a bug where notmuch could

Re: [notmuch] [PATCH] Switch from random to sequential thread identifiers.

2010-02-08 Thread Carl Worth
The sequential identifiers have the advantage of being guaranteed to be unique (until we overflow a 64-bit unsigned integer), and also take up half as much space in the notmuch search output (16 columns rather than 32). This change also has the side effect of fixing a bug where notmuch could

Re: [notmuch] Update Patch Series. Only collapse part of citations.

2010-02-08 Thread Carl Worth
On Fri, 25 Dec 2009 16:09:06 -0400, da...@tethera.net wrote: On Fri, 25 Dec 2009 09:47:02 +0800, Kan-Ru Chen ka...@kanru.info wrote: I like this idea, but this patch hides all citations larger than the threshold. I'd like to see limited lines of citations been displayed. Since you

Re: [notmuch] [PATCH 4/4] emacs: Use font-lock-comment-face to highlight citation button

2010-02-08 Thread Carl Worth
On Mon, 14 Dec 2009 13:41:35 +0800, Kan-Ru Chen ka...@kanru.info wrote: [... no detailed commit message ...] I've pushed this change now. It looked to me like the previous changes in this series were made obsolete by the patches from David that I just pushed. Let me know if I'm wrong about that

Re: [notmuch] [PATCH 3/3] Allow folders with no messages to be elided from list.

2010-02-08 Thread Carl Worth
On Sat, 26 Dec 2009 16:34:18 -0800, Keith Packard kei...@keithp.com wrote: This makes it easier to see folders with messages. Eliding empty folders is togged with the 'e' binding. Signed-off-by: Keith Packard kei...@keithp.com Thanks for the patches, Keith! These are all very useful, and

Re: [notmuch] [PATCH] Goto-Address mode hides the body toggle button on messages of zero depth.

2010-02-08 Thread Carl Worth
On Wed, 30 Dec 2009 13:47:45 +0100, Pablo Oliveira pa...@sifflez.org wrote: Hello all, Olá Pablo! Bem-vindo a notmuch! I heard about notmuch some weeks ago and I'm already liking it a lot. At first I was a little disapointed by the slow tagging, but that was fixed by Kan-Ru's great patch

Re: [notmuch] notmuch.el and searching within citations

2010-02-08 Thread Carl Worth
On Sat, 9 Jan 2010 06:18:10 +1100, Bart Bunting b...@ursys.com.au wrote: Hi all, Hi Bart, welcome to notmuch! If however the word 'grandfather' appears in a citation then an incremental search through the buffer won't find it. If the citation is expanded then things work as expected. I

Re: [notmuch] viewing text/html (inline or otherwise)

2010-02-09 Thread Carl Worth
On Tue, 09 Feb 2010 21:28:25 +1100, Alex Ghitza aghi...@gmail.com wrote: Ideally, I'd like to be able to see what's hidden behind the Non-text part: text/html, and if it could happen inline that would be great. I would also entertain the idea of opening an external browser window, if that's

Re: [notmuch] Problems with Maildir and files moving from new/ to cur/

2010-02-09 Thread Carl Worth
On Tue, 9 Feb 2010 10:38:04 -0500, Brett Viren brett.vi...@gmail.com wrote: The problem I have is that this race condition means that sometimes notmuch will index a message as being under the Maildir/.topic/new/ subdirectory, I then read it and it is moved to Maildir/.topic/cur/ (I think that

Re: [notmuch] [PATCH] Reintroduce HTML inlining, with a much needed optimization

2010-02-09 Thread Carl Worth
On Tue, 9 Feb 2010 17:55:21 -0800, Alexander Botero-Lowry alex.boterolo...@gmail.com wrote: Now instead of requiring every single message be parsed, we now check the Content-type in the parsed headers and only do HTML inlining if it's text/html Excellent! I've pushed this out now. Greatly

Re: [notmuch] Icon

2010-02-10 Thread Carl Worth
On Wed, 10 Feb 2010 13:46:11 +0100, Sebastian Spaeth sebast...@sspaeth.de wrote: As much as I hate replying to myself and spamming this list, some might actually prefer a black-and-white version of a notmuch icon based on the scales of justice :-). Sorry, I won't post about this anymore. No

  1   2   3   4   5   6   7   8   9   10   >