On Wed, 1 Feb 2012 17:22:49 +0200, Tomi Ollila wrote:
> Some formatting in NEWS file has been changed so that it could
> be given to markdown processing almost verbatim.
> More effort has been put into formatting of version 0.11 (and 0.12)
> of notmuch NEWS than previous versions but everything
On Sat, 04 Feb 2012 12:31:57 +, Mark Walters
wrote:
>
> I hadn't realised before but this also goes wrong if you use the prefix
> argument to mail (eg ctrl-u m). The current code seems to mess up the
> mini-buffer and even closing the buffer does not get out of it.
>
> Changing
---
test/reply | 69
1 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/test/reply b/test/reply
index 00f4bea..0bb22bb 100755
--- a/test/reply
+++ b/test/reply
@@ -138,4 +138,73 @@ References: <${gen_msg_id}>
On Tue, 05
This patch uses the new --from option to notmuch reply to allow it to
prompt the user for the From: address in cases when the cli does not
know the "correct" from address. If the cli does not it either uses
the users default address or, if notmuch-always-prompt-for-sender
is set, prompts the user.
---
man/man1/notmuch-reply.1 | 27 +++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/man/man1/notmuch-reply.1 b/man/man1/notmuch-reply.1
index 5160ece..101ed47 100644
--- a/man/man1/notmuch-reply.1
+++ b/man/man1/notmuch-reply.1
@@ -62,6 +62,33 @@
Add an option --from= to notmuch-reply.c to restrict guessing of the
From: header. The existing logic looks as the main headers, then at
the delivery headers, and finally defaults to the config file address.
This patch allows the user to restrict which of these guesses are
made. Currently the
This is version 2 of the patch set first posted in
id:"1328375350-10352-1-git-send-email-markwalters1009 at gmail.com"
This fixes the bug Jani pointed out as well as the more minor
criticisms. It also has some tests and the man pages are updated.
Best wishes
Mark
On Sat, 04 Feb 2012 22:14:25 +0200, Tomi Ollila wrote:
> On Sat, 04 Feb 2012 12:31:57 +, Mark Walters gmail.com> wrote:
> >
> > I hadn't realised before but this also goes wrong if you use the prefix
> > argument to mail (eg ctrl-u m). The current code seems to mess up the
> > mini-buffer
On Sat, 4 Feb 2012 17:09:10 +, Mark Walters
wrote:
> This patch uses the new --from option to notmuch reply to allow it to
> prompt the user for the From: address in cases when the cli does not
> know the "correct" from address. If the cli does not it either uses
> the users default address
On Sat, 4 Feb 2012 17:09:09 +, Mark Walters
wrote:
> Add an option --from= to notmuch-reply.c to restrict guessing of the
> From: header. The existing logic looks as the main headers, then at
> the delivery headers, and finally defaults to the config file address.
>
> This patch allows the
On Sat, 04 Feb 2012 20:03:13 +0200, Jani Nikula wrote:
> On Sat, 4 Feb 2012 17:09:10 +, Mark Walters gmail.com> wrote:
> > This patch uses the new --from option to notmuch reply to allow it to
> > prompt the user for the From: address in cases when the cli does not
> > know the "correct"
On Sat, 04 Feb 2012 19:59:58 +0200, Jani Nikula wrote:
> On Sat, 4 Feb 2012 17:09:09 +, Mark Walters gmail.com> wrote:
> > Add an option --from= to notmuch-reply.c to restrict guessing of the
> > From: header. The existing logic looks as the main headers, then at
> > the delivery headers,
This patch uses the new --from option to notmuch reply to allow it to
prompt the user for the From: address in cases when the cli does not
know the "correct" from address. If the cli does not it either uses
the users default address or, if notmuch-always-prompt-for-sender
is set, prompts the user.
Add an option --from= to notmuch-reply.c to restrict guessing of the
From: header. The existing logic looks as the main headers, then at
the delivery headers, and finally defaults to the config file address.
This patch allows the user to restrict which of these guesses are
made. Currently the
Hello
This patch sets is intended to allow the user more control over the
From: address when replying to emails.
In notmuch-reply.c the current logic for the From: address looks as
the main headers, then at the delivery headers, and finally defaults
to the config file address. This means that
This makes the text formatter take advantage of the new code
structure. The previously duplicated header logic is now unified,
several things that we used to compute repeatedly across different
callbacks are now computed once, and the code is simpler overall and
32% shorter.
Unifying the header
This is all code movement and a smidgen of glue. This moves the
existing text formatter code into one self-recursive function, but
doesn't change any of the logic. The next patch will actually take
advantage of what the new structure has to offer.
Note that this patch retains
v2
* Remove unnecessary braces (id:87lioooj7m.fsf at gmail.com)
* Trivial rebase against master
Quoth Dmitry Kurochkin on Jan 31 at 3:26 am:
> On Thu, 26 Jan 2012 01:55:25 -0500, Austin Clements
> wrote:
> > This is all code movement and a smidgen of glue. This moves the
> > existing text formatter code into one self-recursive function, but
> > doesn't change any of the logic. The next
On Tue, 31 Jan 2012 19:29:06 +0200, Jani Nikula wrote:
> Modify the show view key bindings as follows to make them more
> consistent:
Last chance for objections...
d
On Sat, 04 Feb 2012 09:15:16 +, David Edmondson wrote:
> On Sat, 4 Feb 2012 03:39:23 -0500, don warner saklad gmail.com> wrote:
> > a) For gmail how do you setup notmuch mail ?...
> >
> > b) Any workarounds?
> >
> > c) Any kludges?
I'll describe my own setup for using notmuch with gmail.
On Mon, 30 Jan 2012 10:21:38 +, Mark Walters
wrote:
> On Mon, 30 Jan 2012 09:39:32 +, David Edmondson wrote:
> > On Sun, 29 Jan 2012 23:17:55 +, Mark Walters > gmail.com> wrote:
> > > I have been experimenting with notmuch-always-prompt-for-sender on my
> > > debian stable setup
`Notmuch-wash-region-to-button' is the function that creates hidden
regions with buttons for signatures, citations and original messages.
Before the change, it did not work correctly if the to-be-hidden
region started at the beginning of a message: the visibility toggle
button was hidden as well.
The test is currently broken and will be fixed by a subsequent patch.
The patch adds a new file for tests of Emacs notmuch-show view.
Based on patch by David Edmondson [1].
[1] id:"1327562380-12894-4-git-send-email-dme at dme.org"
---
test/emacs-show | 28
Changes since v1:
* rebase on the current master, just one trivial conflict so no need
for another round of review
Regards,
Dmitry
On Sat, 04 Feb 2012 00:00:00 +, Mark Walters
wrote:
>
> On Sat, 4 Feb 2012 00:41:08 +0200, Jani Nikula wrote:
> > Use the new notmuch argument parser to handle arguments in "notmuch
> > show". There are two corner case functional changes:
> >
> > 1) Also set params.raw = 1 when
On Fri, 03 Feb 2012 18:04:05 +0400, Dmitry Kurochkin wrote:
> On Thu, 02 Feb 2012 10:00:59 -0800, Jameson Graef Rollins finestructure.net> wrote:
> > Hey, Dmitry. I'm so sorry I sent my last email on your original patch
> > before I saw this new series. I do now like your original proposal
> >
On Fri, 3 Feb 2012 23:01:23 -0700, Adam Wolfe Gordon
wrote:
> Oh, and I just noticed that Dmitry has already fixed this, probably in
> a better way [1] (though I maintain that there still may be a problem
> with the approach in general). I clearly haven't been following
On Fri, Feb 3, 2012 at 23:10, Dmitry Kurochkin
wrote:
> Yep, creating buttons for regions at the beginning of message is fixed.
> But I like the idea of not hiding the message if there is no text.
> Though, I think we should create the button, just not hide the text
> initially.
>
> This change
mail via Gmail, or have Emacs
do the same directly using the smtpmail.el package.
-- 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/at
On Mon, 30 Jan 2012 16:52:20 +, David Edmondson wrote:
> The blank line doesn't really change position, but is now considered
> to be part of the body rather than part of the headers. This means
> that it is visible when the body is visible rather than when the
> headers are visible.
pushed.
On Mon, 30 Jan 2012 14:59:54 +, David Edmondson wrote:
> Remove outer single-quotes from the mailbox part. Allow for multiple
> sets of nested single and double quotes.
pushed,
d
On Mon, 30 Jan 2012 10:15:59 +, David Edmondson wrote:
> Address the comments from Mark and Austin:
> - Don't assume that `subject' is a string,
> - Show [No Subject] in search output
pushed,
d
On Sun, 29 Jan 2012 00:50:10 -0500, Austin Clements wrote:
> Previously, we manually "free"d various pointers in
> notmuch_database_open. Use a local talloc context instead to simplify
> cleanup and eliminate various NULL pointer initializations and
> conditionals.
pushed all 3.
d
On Sat, 28 Jan 2012 12:02:33 +0400, Dmitry Kurochkin wrote:
> Argc and argv arguments are used in notmuch_tag_command() function.
> So unused attribute is not appropriate for them.
pushed,
d
On Sat, 28 Jan 2012 08:47:39 +0400, Dmitry Kurochkin wrote:
> All test files, except for the recently added Emacs tests, do not have
> ".sh" extension. So remove it from the new test files for consistency.
pushed
d
On Fri, 3 Feb 2012 13:12:25 +0100, Pieter Praet wrote:
> As of commit b3caef1f, we're using g_array_unref() in 'lib/query.cc',
> which was only introduced in glib 2.22, so update the dependency.
pushed
d
On Sat, 4 Feb 2012 11:36:35 +0400, Dmitry Kurochkin wrote:
> Changes since v1:
>
> * rebase on the current master, just one trivial conflict so no need
> for another round of review
>
pushed,
d
a) For gmail how do you setup notmuch mail ?...
b) Any workarounds?
c) Any kludges?
The last lines of notmuch_show_command() function were
unreachable. Fix it by using a variable for return value.
Signed-off-by: Jani Nikula
---
notmuch-show.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/notmuch-show.c b/notmuch-show.c
index f93e121..b18e279
Use the new notmuch argument parser to handle arguments in "notmuch
show". There are two corner case functional changes:
1) Also set params.raw = 1 when defaulting to raw format when part is
requested but format is not specified.
2) Do not set params.decrypt if crypto context creation fails.
org/pipermail/notmuch/attachments/20120204/07e8e0ff/attachment.pgp>
On Sat, 4 Feb 2012 00:41:08 +0200, Jani Nikula wrote:
> Use the new notmuch argument parser to handle arguments in "notmuch
> show". There are two corner case functional changes:
>
> 1) Also set params.raw = 1 when defaulting to raw format when part is
>requested but format is not
a) For gmail how do you setup notmuch mail ?...
b) Any workarounds?
c) Any kludges?
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch
On Sat, 04 Feb 2012 00:00:00 +, Mark Walters markwalters1...@gmail.com
wrote:
On Sat, 4 Feb 2012 00:41:08 +0200, Jani Nikula j...@nikula.org wrote:
Use the new notmuch argument parser to handle arguments in notmuch
show. There are two corner case functional changes:
1) Also set
On Sat, 4 Feb 2012 03:39:23 -0500, don warner saklad don.sak...@gmail.com
wrote:
a) For gmail how do you setup notmuch mail ?...
b) Any workarounds?
c) Any kludges?
notmuch wants to be able to access your mail as individual files in the
filesystem. That means you need a way to get the
On Mon, 30 Jan 2012 10:21:38 +, Mark Walters markwalters1...@gmail.com
wrote:
On Mon, 30 Jan 2012 09:39:32 +, David Edmondson d...@dme.org wrote:
On Sun, 29 Jan 2012 23:17:55 +, Mark Walters
markwalters1...@gmail.com wrote:
I have been experimenting with
On Sat, 04 Feb 2012 09:15:16 +, David Edmondson d...@dme.org wrote:
On Sat, 4 Feb 2012 03:39:23 -0500, don warner saklad don.sak...@gmail.com
wrote:
a) For gmail how do you setup notmuch mail ?...
b) Any workarounds?
c) Any kludges?
I'll describe my own setup for using notmuch
On Sat, 4 Feb 2012 11:36:35 +0400, Dmitry Kurochkin
dmitry.kuroch...@gmail.com wrote:
Changes since v1:
* rebase on the current master, just one trivial conflict so no need
for another round of review
pushed,
d
___
notmuch mailing list
On Sat, 28 Jan 2012 08:47:39 +0400, Dmitry Kurochkin
dmitry.kuroch...@gmail.com wrote:
All test files, except for the recently added Emacs tests, do not have
.sh extension. So remove it from the new test files for consistency.
pushed
d
___
notmuch
On Sat, 28 Jan 2012 12:02:33 +0400, Dmitry Kurochkin
dmitry.kuroch...@gmail.com wrote:
Argc and argv arguments are used in notmuch_tag_command() function.
So unused attribute is not appropriate for them.
pushed,
d
___
notmuch mailing list
On Sun, 29 Jan 2012 00:50:10 -0500, Austin Clements amdra...@mit.edu wrote:
Previously, we manually freed various pointers in
notmuch_database_open. Use a local talloc context instead to simplify
cleanup and eliminate various NULL pointer initializations and
conditionals.
pushed all 3.
d
On Mon, 30 Jan 2012 10:15:59 +, David Edmondson d...@dme.org wrote:
Address the comments from Mark and Austin:
- Don't assume that `subject' is a string,
- Show [No Subject] in search output
pushed,
d
___
notmuch mailing list
On Mon, 30 Jan 2012 14:59:54 +, David Edmondson d...@dme.org wrote:
Remove outer single-quotes from the mailbox part. Allow for multiple
sets of nested single and double quotes.
pushed,
d
___
notmuch mailing list
notmuch@notmuchmail.org
On Mon, 30 Jan 2012 16:52:20 +, David Edmondson d...@dme.org wrote:
The blank line doesn't really change position, but is now considered
to be part of the body rather than part of the headers. This means
that it is visible when the body is visible rather than when the
headers are visible.
On Fri, Feb 3, 2012 at 23:10, Dmitry Kurochkin
dmitry.kuroch...@gmail.com wrote:
Yep, creating buttons for regions at the beginning of message is fixed.
But I like the idea of not hiding the message if there is no text.
Though, I think we should create the button, just not hide the text
Add an option --from= to notmuch-reply.c to restrict guessing of the
From: header. The existing logic looks as the main headers, then at
the delivery headers, and finally defaults to the config file address.
This patch allows the user to restrict which of these guesses are
made. Currently the
On Sat, 4 Feb 2012 17:09:10 +, Mark Walters markwalters1...@gmail.com
wrote:
This patch uses the new --from option to notmuch reply to allow it to
prompt the user for the From: address in cases when the cli does not
know the correct from address. If the cli does not it either uses
the
On Fri, 3 Feb 2012 11:24:09 +0100, Pieter Praet pie...@praet.org wrote:
---
emacs/notmuch-mua.el |2 +-
test/emacs |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
split into two commits and pushed,
d
___
notmuch mailing
On Sat, 04 Feb 2012 19:59:58 +0200, Jani Nikula j...@nikula.org wrote:
On Sat, 4 Feb 2012 17:09:09 +, Mark Walters markwalters1...@gmail.com
wrote:
Add an option --from= to notmuch-reply.c to restrict guessing of the
From: header. The existing logic looks as the main headers, then at
On Sat, 04 Feb 2012 20:03:13 +0200, Jani Nikula j...@nikula.org wrote:
On Sat, 4 Feb 2012 17:09:10 +, Mark Walters markwalters1...@gmail.com
wrote:
This patch uses the new --from option to notmuch reply to allow it to
prompt the user for the From: address in cases when the cli does
On Tue, 31 Jan 2012 19:29:06 +0200, Jani Nikula j...@nikula.org wrote:
Modify the show view key bindings as follows to make them more
consistent:
Last chance for objections...
d
___
notmuch mailing list
notmuch@notmuchmail.org
On Sat, 04 Feb 2012 12:31:57 +, Mark Walters markwalters1...@gmail.com
wrote:
I hadn't realised before but this also goes wrong if you use the prefix
argument to mail (eg ctrl-u m). The current code seems to mess up the
mini-buffer and even closing the buffer does not get out of it.
On Sat, 04 Feb 2012 22:14:25 +0200, Tomi Ollila tomi.oll...@iki.fi wrote:
On Sat, 04 Feb 2012 12:31:57 +, Mark Walters markwalters1...@gmail.com
wrote:
I hadn't realised before but this also goes wrong if you use the prefix
argument to mail (eg ctrl-u m). The current code seems to
This is version 2 of the patch set first posted in
id:1328375350-10352-1-git-send-email-markwalters1...@gmail.com
This fixes the bug Jani pointed out as well as the more minor
criticisms. It also has some tests and the man pages are updated.
Best wishes
Mark
Add an option --from= to notmuch-reply.c to restrict guessing of the
From: header. The existing logic looks as the main headers, then at
the delivery headers, and finally defaults to the config file address.
This patch allows the user to restrict which of these guesses are
made. Currently the
---
man/man1/notmuch-reply.1 | 27 +++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/man/man1/notmuch-reply.1 b/man/man1/notmuch-reply.1
index 5160ece..101ed47 100644
--- a/man/man1/notmuch-reply.1
+++ b/man/man1/notmuch-reply.1
@@ -62,6 +62,33 @@
This patch uses the new --from option to notmuch reply to allow it to
prompt the user for the From: address in cases when the cli does not
know the correct from address. If the cli does not it either uses
the users default address or, if notmuch-always-prompt-for-sender
is set, prompts the user.
---
test/reply | 69
1 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/test/reply b/test/reply
index 00f4bea..0bb22bb 100755
--- a/test/reply
+++ b/test/reply
@@ -138,4 +138,73 @@ References: ${gen_msg_id}
On Tue, 05
Quoth Dmitry Kurochkin on Jan 31 at 3:26 am:
On Thu, 26 Jan 2012 01:55:25 -0500, Austin Clements amdra...@mit.edu wrote:
This is all code movement and a smidgen of glue. This moves the
existing text formatter code into one self-recursive function, but
doesn't change any of the logic. The
On Sat, 4 Feb 2012 20:45:14 +, Mark Walters markwalters1...@gmail.com
wrote:
Add an option --from= to notmuch-reply.c to restrict guessing of the
From: header. The existing logic looks as the main headers, then at
the delivery headers, and finally defaults to the config file address.
On Wed, 1 Feb 2012 17:22:49 +0200, Tomi Ollila tomi.oll...@iki.fi wrote:
Some formatting in NEWS file has been changed so that it could
be given to markdown processing almost verbatim.
More effort has been put into formatting of version 0.11 (and 0.12)
of notmuch NEWS than previous versions
On Sat, 14 Jan 2012 21:40:23 -0400, David Bremner da...@tethera.net wrote:
From: David Bremner brem...@debian.org
This binary creates a torture test dump file for the new dump
format.
---
test/Makefile.local |4 ++
test/basic |2 +-
test/random-dump.c | 144
Hi Mark.
I am not sure I like this solution. My concerns are:
* New option looks too complex, too specific.
* There are more aspects of notmuch reply behavior which users would
like to change (e.g. which part to quote). If we add an option for
each, we complicate both nomtuch show UI and
Hi David.
I think this is a pretty simple change. And there is one +1 for it. So
I am going to remove the needs-review tag, please add it back if you
disagree.
Regards,
Dmitry
___
notmuch mailing list
notmuch@notmuchmail.org
Changes:
v4:
* rebased on master, no conflicts so no need for another review
v4:
* rebased on master after Jameson's archiving changes
v3:
* merged 3 `notmuch-show-tag-all'-related patches into one
* add patch to clean up tagging function argument names
* fix other comments from Austin's
Before the change, tag format validation was done in
`notmuch-search-operate-all' function only. The patch moves it down
to `notmuch-tag', so that all users of that function get input
validation.
---
emacs/notmuch.el | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff
Before the change, + and - tagging operations in notmuch-show view
accepted only a single tag. The patch makes them use the recently
added `notmuch-read-tag-changes' function, which allows to enter
multiple tags with + and - prefixes. So after the change, + and
- bindings in notmuch-show view
Before the change, + and - tagging operations in notmuch-search
view accepted only a single tag. The patch makes them use the
recently added `notmuch-read-tag-changes' function (renamed
`notmuch-select-tags-with-completion'), which allows to enter multiple
tags with + and - prefixes. So after
After the recent tagging operations changes, functions bound to +
and - in notmuch-search and notmuch-show views always read input
from the minibuffer. Use kbd macros instead of calling them directly.
---
test/emacs | 20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)
`Notmuch-search-tag-all' is more clear and consistent with other
tagging function names.
---
emacs/notmuch.el |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 1b472dd..1f351a5 100644
--- a/emacs/notmuch.el
+++
Some tag-related operations accept a single tag without prefix
(`notmuch-select-tag-with-completion'), others accept multiple tags
prefixed with '+' or '-' (`notmuch-read-tag-changes'). Before the
change, both functions used a single default minibuffer history. This
is inconvenient because you
The tag syntax check in `notmuch-tag' function was too strict and did
not allow nmbug tags with ::. Since the check is done for all
tagging operations in Emacs UI, this basically means that no nmbug
tags can be changed. The patch relaxes the tag syntax check to allow
any tag names that do not
Since `notmuch-tag' is a non-interactive function and hence is meant
to be invoked programmatically, it should accept zero tags. Also, the
tagging operations (bound to *, +, -) would accept empty input
without an error.
---
emacs/notmuch.el | 10 +-
1 files changed, 5 insertions(+), 5
This makes the argument names more consistent and clear. The
following functions changed: `notmuch-tag',
`notmuch-search-tag-thread', `notmuch-search-tag-region' and
`notmuch-search-tag-all'.
---
emacs/notmuch.el | 33 +
1 files changed, 17 insertions(+), 16
---
NEWS | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/NEWS b/NEWS
index 5c5b645..f449fba 100644
--- a/NEWS
+++ b/NEWS
@@ -39,6 +39,24 @@ Reply to sender
and search modes, 'r' has been bound to reply to sender, replacing
reply to all, which now
86 matches
Mail list logo