When replying to mail, notmuch normally inserts the cited email using
'message-cite-original'. That function doesn't apply any citation style
settings from message-cite-style — message-yank-buffer does that before
(eventually) getting down to message-cite-original.
It seems that using
a config option to enable this behaviour,
but I'd really rather not.
Signed-off-by: Keith Packard <kei...@keithp.com>
---
lib/message-file.c | 29 +
1 file changed, 1 insertion(+), 28 deletions(-)
diff --git a/lib/message-file.c b/lib/message-file.c
index ee30520..f
Carl Worth writes:
> This allows for the user to control the order that results are
> returned from saved-searches, (and independently from the order of all
> other searches which is controlled by notmuch-search-oldest-first).
After we lost this from notmuch, I added this to my .emacs, which
Carl Worth cwo...@cworth.org writes:
This allows for the user to control the order that results are
returned from saved-searches, (and independently from the order of all
other searches which is controlled by notmuch-search-oldest-first).
After we lost this from notmuch, I added this to my
On Mon, 18 Jul 2011 08:56:13 -0300, David Bremner wrote:
> I'm curious if you're both solving the same problem.
I would assume so; my patch simply kludges around the problem with a
hack in the emacs code while jrollins is fixing the underlying gmime
interactions.
--
keith.packard at intel.com
I wasn't seeing anything for an inlined message/rfc822 part (as with a
forwarded email message) and discovered that for some reason, the
message structure wasn't as expected. The following patch appears to
help me.
I'm still stuck trying to use the 'v' key to display attachments from
forwarded
On Mon, 18 Jul 2011 08:56:13 -0300, David Bremner da...@tethera.net wrote:
I'm curious if you're both solving the same problem.
I would assume so; my patch simply kludges around the problem with a
hack in the emacs code while jrollins is fixing the underlying gmime
interactions.
--
On Fri, 01 Jul 2011 18:37:27 -0300, David Bremner wrote:
> 1) repeat the whole thing with a new release branch for 0.7 and end up
> with
>
> --.--.--- master
>\ \
> - 0.6 --- 0.7
That's the 'usual' plan followed by
On Wed, 10 Nov 2010 08:32:01 +0100, Sebastian Spaeth
wrote:
> which gives me nice menu entries for previewing my printouts (defaults
> to 'gv' but can easily be set to use 'evince') and which provides the
> M-x pr-ps-buffer-preview command to invoke the print preview directly
> (unfortunately
On Tue, 09 Nov 2010 17:16:48 +0100, Sebastian Spaeth
wrote:
> M-x ps-print buffer doesn't look too bad here and even copes with the
> encoding better than the printout of your mail with muttprint had
> looked.
I like the header formatting. And, using evince provides a 'friendly'
print dialog.
Print is dead. Or so they say
Here's a script I'm using with '|' to get mail printed. As you can see,
it previews the mail on-screen with 'evince', from which you use the
regular 'print' dialog.
#!/bin/sh
tmp=`mktemp`
muttprint -p "TO_FILE:$tmp"
evince $tmp
rm $tmp
Making this more secure
Print is dead. Or so they say
Here's a script I'm using with '|' to get mail printed. As you can see,
it previews the mail on-screen with 'evince', from which you use the
regular 'print' dialog.
#!/bin/sh
tmp=`mktemp`
muttprint -p TO_FILE:$tmp
evince $tmp
rm $tmp
Making this more secure would
On Tue, 09 Nov 2010 17:16:48 +0100, Sebastian Spaeth sebast...@sspaeth.de
wrote:
M-x ps-print buffer doesn't look too bad here and even copes with the
encoding better than the printout of your mail with muttprint had
looked.
I like the header formatting. And, using evince provides a
I use 'saved searches' as a folder mechanism and want them to be shown
oldest first. Otherwise, while searching for messages normally, I want
to see the most recent messages first. This patch makes these two
default search orders separate.
Signed-off-by: Keith Packard
---
emacs/notmuch-hello.el
I use 'saved searches' as a folder mechanism and want them to be shown
oldest first. Otherwise, while searching for messages normally, I want
to see the most recent messages first. This patch makes these two
default search orders separate.
Signed-off-by: Keith Packard kei...@keithp.com
---
emacs
On Tue, 09 Feb 2010 16:22:56 -0800, Carl Worth wrote:
> I know that Keith is using a little script he wrote so that he can hit
> '|' on a message and pipe it to his script. The script then uses a
> utility, (munpack?) to extract all the various MIME parts to a temporary
> directory and then run
On Tue, 09 Feb 2010 16:22:56 -0800, Carl Worth cwo...@cworth.org wrote:
I know that Keith is using a little script he wrote so that he can hit
'|' on a message and pipe it to his script. The script then uses a
utility, (munpack?) to extract all the various MIME parts to a temporary
directory
On Tue, 26 Jan 2010 12:50:41 +0100, "Sebastian Spaeth" wrote:
> On Mon, 25 Jan 2010 22:36:35 -0800, Keith Packard
> wrote:
> > Here's some code which further improves date parsing by allowing lots of
> > date formats, including things like "today", &
On Tue, 26 Jan 2010 12:50:41 +0100, Sebastian Spaeth sebast...@sspaeth.de
wrote:
On Mon, 25 Jan 2010 22:36:35 -0800, Keith Packard kei...@keithp.com wrote:
Here's some code which further improves date parsing by allowing lots of
date formats, including things like today, thisweek, ISO and US
On Fri, 22 Jan 2010 16:26:11 +0100, Sebastian Spaeth
wrote:
> Currently we have to enter mail dates as timestamps. This approach
> does 2 things: it requires the prefix 'date:' and it allows timestamps
> to be specified as , MM or MMDD. So a notmuch show
> date:2005..20060512 will
@@
+/*
+ * Copyright ? 2009 Keith Packard
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version
This makes it easier to see folders with messages.
Eliding empty folders is togged with the 'e' binding.
Signed-off-by: Keith Packard
---
lib/Makefile.local |1 +
lib/notmuch.h | 11 +++
lib/query.cc | 41 +
notmuch-new.c
This allows folder names to contain any non-blank characters
Signed-off-by: Keith Packard
---
notmuch.el |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/notmuch.el b/notmuch.el
index 3dbb64a..c02adc6 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -1469,8 +1469,8
This allows the user to compose new mail from the folder view, and
also to use to show the current folder.
Signed-off-by: Keith Packard
---
notmuch.el |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/notmuch.el b/notmuch.el
index 97914f2..3dbb64a 100644
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
---
lib/Makefile.local |1 +
lib/notmuch.h | 11 +++
lib/query.cc | 41
full-name "Alex Ghitza")
> (setq user-mail-address "aghitza at gmail.com")
You can set everything in the message-mail argument list:
(message-mail nil nil '(("bcc" "keith.packard at intel.com") ("from" "Keith
Packard ")))
Alternat
On Sat, 19 Dec 2009 18:37:12 -0800, Carl Worth wrote:
> So we need to figure out how to configure (or hook) that
> to insert the Bcc, and then we can fix notmuch.el to do this without any
> user configuration.
Just call:
(message-mail nil nil '(("bcc" "keithp at keithp.com")))
instead of
-name Alex Ghitza)
(setq user-mail-address aghi...@gmail.com)
You can set everything in the message-mail argument list:
(message-mail nil nil '((bcc keith.pack...@intel.com) (from Keith
Packard keith.pack...@intel.com)))
Alternatively, we can hack up message mode so that when the From address
On Sat, 28 Nov 2009 20:51:13 +0100, Jed Brown wrote:
> The former one worked in 23.1.50.1 but not in 23.1.1.
>
> Signed-off-by: Jed Brown
Tested-by: Keith Packard
--
keith.packard at intel.com
-- next part --
A non-text attachment was scrubbed...
Name: not
On Fri, 27 Nov 2009 04:46:54 -0800, Carl Worth wrote:
> Did the "if" statement immediately afterwards just look like error
> checking? It's not:
Yes, it did (I think my brain may have auto-inserted a '!' there).
Ok, having read the code a bit more carefully, this does look correct.
I have to
On Fri, 27 Nov 2009 04:46:54 -0800, Carl Worth cwo...@cworth.org wrote:
Did the if statement immediately afterwards just look like error
checking? It's not:
Yes, it did (I think my brain may have auto-inserted a '!' there).
Ok, having read the code a bit more carefully, this does look
On Thu, 26 Nov 2009 10:41:36 -0800, Carl Worth 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
> do?
; sign messages by default
(defun my-notmuch-message-mode-hook()
(if
On Tue, 24 Nov 2009 13:14:07 +0100, Jan Janak wrote:
> I like this. I think this is much cleaner than the "virtual tag"
> approach.
A disadvantage I see is that you would not see this 'virtual tags' in
the list of tags on each message. And, we'd have to put the virtual tags
in the .config file
On Mon, 23 Nov 2009 19:16:54 -0800, Carl Worth wrote:
> So what next for the user? We've got lots of empty space in the folder
> view, so I think what I'd like is to provide some suggestions on search
> strings to try, and then to make it obvious how to associate a name with
> a search string.
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
removed.
--
keith.packard at intel.com
-- next part --
A
On Mon, 23 Nov 2009 19:07:23 +0100, Jed Brown wrote:
> notmuch-search-filter accepts now accepts an arbitrary query and will
> group if necessary so that we get
>
> tag:inbox AND (gravy OR biscuits)
>
> notmuch-search-filter-tag now handles multiple terms. All terms in the
> query except
On Mon, 23 Nov 2009 06:12:09 +0100, Carl Worth wrote:
> So that's totally broken and we should come up with a way to fix it.
Tracking directory mtime instead of just looking at the read-only bit
would let us skip directories that haven't seen any change in content.
Tracking directory contents
On Mon, 23 Nov 2009 07:31:04 +0100, Carl Worth wrote:
> OK. You win. That looks pretty good to me.
So we need to do the 'mark all that have been seen read' change, then we
can do the rest of this switch. Not sure how to make that work, as we
need to know what has been displayed, and you can
On Mon, 23 Nov 2009 07:06:06 +0100, Carl Worth wrote:
> On Fri, 20 Nov 2009 23:35:29 -0800, Keith Packard
> wrote:
> > I posted a patch adding an 'index' mode to notmuch and though I'd
> > explain my idea. Most mail systems provide a 'folder view' mode which
> > dis
On Mon, 23 Nov 2009 04:03:12 +0100, Carl Worth wrote:
> I agree that "normal" should be easier too. So I just need to win you
> over to my notion of "normal", (and teach you of the ways of the magic
> space bar).
As I mentioned, I rarely read mail in a linear fashion; I don't want it
to show me
On Mon, 23 Nov 2009 00:19:29 +0100, Carl Worth wrote:
> I'm starting to come around to this patch, Keith. :-)
I'll keep posting it then :-)
> I think one thing we're going to really need is a better help message
> for presenting the keybindings. The function names are all really
> confusing,
On Sun, 22 Nov 2009 01:11:00 +0100, Stefan Schmidt wrote:
> +const char *
> +notmuch_message_get_flags (notmuch_message_t *message)
This function should interpret the flags that it finds and return a
suitable set of notmuch tags. I'd suggest that 'unread' messages get
both 'unread' and 'inbox'
On Sat, 21 Nov 2009 23:46:44 +0100, Carl Worth wrote:
> So some investigation is needed to see how important that optimization
> is, and if it's important to see whether there's another way to keep the
> performance while being able to support renames. (Or alternately,
> allowing the user to
On Sat, 21 Nov 2009 19:54:25 +, Chris Wilson
wrote:
> +typedef enum {
> +NOTMUCH_DATABASE_MODE_READONLY = 0,
> +NOTMUCH_DATABASE_MODE_WRITABLE
> +} notmuch_database_mode_t;
Wondering if MODE_READWRITE would be more descriptive?
--
keith.packard at intel.com
-- next
contains the name of the folder and the query string
to count.
Signed-off-by: Keith Packard
---
notmuch.el | 81
1 files changed, 81 insertions(+), 0 deletions(-)
diff --git a/notmuch.el b/notmuch.el
index 4f369de..7cab3c1 100644
I posted a patch adding an 'index' mode to notmuch and though I'd
explain my idea. Most mail systems provide a 'folder view' mode which
displays the set of folders and a count of messages in each folder. I
used this myself as the first sort of which messages I want to read.
Notmuch doesn't have
the name of the index and the query string
to count.
This provides a view similar to a folder list in a more traditional
mail client.
Signed-off-by: Keith Packard
---
notmuch.el | 81
1 files changed, 81 insertions(+), 0 deletions
-by: Keith Packard
---
Makefile.local |1 +
lib/notmuch.h|8
lib/query.cc | 52 ++
notmuch-client.h |3 +
notmuch-count.c | 109 ++
notmuch.c| 11 +
6 files changed, 184 insertions
Selecting text in the search view isn't all that useful, so instead,
make mouse-1 clicks actually show the thread you click on. It's almost
like direct manipulation or something.
Signed-off-by: Keith Packard
---
notmuch.el |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git
When you compose a new message, message mode carefully inserts your
mail signature at the bottom of the message; as notmuch constructs the
reply all by itself, this doesn't happen then. Use the message mode
function 'message-insert-signature' to add that to reply buffers.
Signed-off-by: Keith
essage, it takes you back to the search window instead.
Signed-off-by: Keith Packard
---
notmuch.el | 86 ++-
1 files changed, 67 insertions(+), 19 deletions(-)
This adds new functionality without removing any; without this patch,
the 'x'
On Thu, 19 Nov 2009 00:18:50 -0600, "Jeffrey C. Ollie"
wrote:
> 1) Don't hardcode the installation directory, instead use emacs'
>pkg-config module.
>
> 2) Install a byte compiled version of the emacs mode.
yes, both of these seem reasonable
> 3) Install the emacs mode in emacs'
On Thu, 19 Nov 2009 11:40:54 +0530, "Aneesh Kumar K.V" wrote:
> This patch add notmuch-search-hook that gets run when we
> after displaying search results
Looks good.
> Signed-off-by: Aneesh Kumar K.V
Reviewed-by: Keith Packard
--
keith.packard at intel.com
-
On Thu, 19 Nov 2009 10:25:37 +0530, "Aneesh Kumar K.V" wrote:
> This patch add notmuch-search-mode-hook and rename
> notmuch-show-hook to notmuch-show-mode-hook. This
> also runs notmuch-show-mode-hook when we enable
> notmuch-show-mode
I'm not sure we want to run the hooks that early; I can
On Thu, 19 Nov 2009 08:11:12 +0600, Mikhail Gusarov wrote:
>
> Twas brillig at 18:06:09 18.11.2009 UTC-08 when keithp at keithp.com did gyre
> and gimble:
>
> KP> Checking for new files is easy; notmuch already does that, and so
> KP> handling renames doesn't seem all that difficult.
>
>
On Thu, 19 Nov 2009 02:08:15 +0100, Carl Worth wrote:
> I'd love to hear more from you on any experiments/ideas you have in this
> area. It would be a really nice feature to have, (particularly for
> people who are experimenting with notmuch while still using some other
> primary email program
On Thu, 19 Nov 2009 01:25:34 +0100, Carl Worth wrote:
> On Wed, 18 Nov 2009 09:45:01 -0800, Keith Packard
> wrote:
> > On Wed, 18 Nov 2009 02:19:26 -0800, Carl Worth wrote:
> > You can use kill-buffer directly (C-X k); adding a new special binding
> > for that command
In particular, notmuch tag -inbox "" tended to take a long time to
run, happened if you hit 'a' on a blank line in the search view and
probably didn't have the desired effect.
Signed-off-by: Keith Packard
---
notmuch-reply.c | 13 +
notmuch-show.c | 13 +---
On Wed, 18 Nov 2009 13:50:58 -0600, Jeffrey Ollie wrote:
> That resulted in an error for me:
>
> $ notmuch search not tag:inbox
> A Xapian exception occurred: Syntax: NOT
> A Xapian exception occurred: Syntax: NOT
Yeah, NOT isn't a unary operator in xapian; it's a binary operator that
---
.gitignore |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index d277c5a..367caa6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+TAGS
.deps
notmuch
notmuch.1.gz
--
1.6.5.2
Yes, this is a lame default, but it serves my purposes.
Signed-off-by: Keith Packard
---
notmuch.el |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/notmuch.el b/notmuch.el
index 4498200..91ed073 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -945,7 +945,7 @@ This function
Thanks, windows mail clients.
Signed-off-by: Keith Packard
---
gmime-filter-reply.c |7 ---
notmuch-show.c | 21 +++--
2 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/gmime-filter-reply.c b/gmime-filter-reply.c
index 3e298e1..b269db4 100644
> This enables us to search for archived mails later
I think you can just use 'not tag:inbox' as 'archived' really just means
'doesn't have the inbox tag'.
--
keith.packard at intel.com
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type:
On Wed, 18 Nov 2009 02:19:26 -0800, Carl Worth wrote:
> I don't like this---but that's because I use 'x' precisely *because* it
> preserves these tags.
You can use kill-buffer directly (C-X k); adding a new special binding
for that command seems unnecessary to me.
> Otherwise, you might as
This makes things like the goto-address system bring up the right
message composition window.
Signed-off-by: Keith Packard
---
notmuch.el |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/notmuch.el b/notmuch.el
index c95cb43..4498200 100644
--- a/notmuch.el
+++ b
I created the notmuch-show-hook precisely so I could add these two
options, but I suspect most people will want them, so I just made them
the default. If you don't want them, you can use remove-hook to get
rid of this.
Signed-off-by: Keith Packard
---
notmuch.el |8
1 files changed
On Tue, 17 Nov 2009 18:21:38 -0500, Aron Griffis wrote:
> Just subscribed, I'd like to catch up on the previous postings,
> but the archive link seems to be bogus?
Yeah, the archive appears broken and will need to wait until Carl
arrives in Barcelona to get fixed.
--
keith.packard at intel.com
On Wed, 18 Nov 2009 00:20:59 +0100, Adrian Perez de Castro wrote:
> Some time ago I thought
> about doing something like Not Much and in fact I played a bit with the
> Python+Xapian and the Python+Whoosh combinations, because I find relaxing
> to code things in Python when I am not working and
On Tue, 17 Nov 2009 23:57:18 +0100, Israel Herraiz wrote:
> "Not much" sounds interesting, and I wonder whether it could be
> integrated with the views of Sup (inbox, threads, etc). So I have
> subscribed to the list to keep an eye on what's going on here.
We've tried to clone much of the sup
essage, it takes you back to the search window instead.
Signed-off-by: Keith Packard
---
notmuch.el | 86 ++-
1 files changed, 67 insertions(+), 19 deletions(-)
diff --git a/notmuch.el b/notmuch.el
index 638d49d..7b0d72c 100644
--
On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman wrote:
> > See the patch just posted here.
I've also pushed a slightly more complicated (and complete) fix to my
private notmuch repository
git://keithp.com/git/notmuch
> Is the list archived anywhere?
Oops. Looks like Carl's mail
On Tue, 17 Nov 2009 09:13:27 -0800, Carl Worth wrote:
> I didn't apply Keith's fix yet, because I think I'd rather just fix the
> indexer to store the In-Reply-To header in a separate term prefix from
> the term used for the References header[*]. That will then let us lookup
> the in-reply-to
72 matches
Mail list logo