---
doc/man1/notmuch-new.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/man1/notmuch-new.rst b/doc/man1/notmuch-new.rst
index 5eeb4926..20a1103b 100644
--- a/doc/man1/notmuch-new.rst
+++ b/doc/man1/notmuch-new.rst
@@ -43,6 +43,10 @@ Supported options for **new** include
``--quiet
Dear Gnus developers,
(CCing notmuch, because their users can be affected too)
When message-interactive is nil, message-send can falsely report
success even when sending fails and there is no way for the user to
learn about the failure, expect from angry peers complaining about not
receiving repl
On Tue, Jan 30 2018, Daniel Kahn Gillmor wrote:
> Hi Michal--
>
> On Tue 2018-01-30 17:17:54 +0100, Michal Sojka wrote:
>> Hi all,
>>
>> I experience annoyingly long delay, when opening some signed emails in
>> Emacs. This is likely related to the following
Hi all,
I experience annoyingly long delay, when opening some signed emails in
Emacs. This is likely related to the following lines appearing in my
log when opening the email:
Jan 30 17:07:46 dirmngr[7526]: no CRL available for issuer id
A401B7A860C859FEA90E1A7EEE2BAF37C7FB918F
Jan 30 17:08:06 d
On Wed, May 18 2016, Mark Walters wrote:
> This commit lets the user customize the address completion. It makes
> two changes.
Thanks Mark, now it LGTM.
I configured my address completion to be based on received emails and
I'm surprised how many variations of my email address is used by
spammers
Hi Mark,
few minor comments bellow.
On Mon, May 16 2016, Mark Walters wrote:
> This commit lets the user customize the address completion.
Add "It makes two changes."
> The first change controls whether to build the address completion list
> based on messages you have sent or you have received
Hi Mark,
On Fri, May 13 2016, Mark Walters wrote:
> This commit lets the user customize the address completion.
>
> The first change controls whether to build the address completion list
> based on messages you have sent or you have received (the latter is
> much faster).
>
> The second change add
On Fri, Apr 29 2016, David Edmondson wrote:
> On Fri, Apr 29 2016, Sebastian Fischmeister wrote:
>> After upgrading to notmuch 0.22, my emacs config seems broken:
>>
>> (setq message-default-mail-headers "Reply-to: m...@example.com\nBcc:
>> m...@example.com")
>>
>> When creating a new mail, it has
Hi Sebastian,
On Sat, Jan 16 2016, Sebastian Fischmeister wrote:
> Hi,
>
> Is there a straightforward way to for mail merge with notmuch? I need to
> send emails with only minor modifications to a number of people. If I
> could send mails from the command line, then that would be perfect.
>
> Any
On Wed, Jan 06 2016, Tomi Ollila wrote:
> devel/try-emacs-mua provides an easy way to try and experiment
> with the notmuch emacs client distributed in emacs subdirectory of
> the notmuch source tree.
LGTM. I tested it with various use cases I have it my mind and it works
as I expect.
-Michal
___
As pointed out by David Bremner, Elisp manual says "A common pitfall
is to use a quoted constant list as a non-last argument to ‘nconc’."
Since this was the case in recently added code, we fix it here.
---
emacs/notmuch-mua.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
On Tue, Jan 05 2016, David Bremner wrote:
> Michal Sojka writes:
>
>> +(when return-action (nconc args '(return-action)))
>> +(apply 'message-setup-1
>> + ;; The following sexp is copied from `message-mail'
>
>> + (nconc
>>
On Thu, Nov 12 2015, Mark Walters wrote:
>> devel/try-emacs-mua.sh provides an easy way to try and experiment with
>> the notmuch emacs client provided in emacs subdirectory of notmuch
>> source tree.
[...]
>
> I like this -- a nice simple way to get to a working but uncustomised
> test environme
Hi Tomi,
this looks almost good. A few minor comments below.
On Mon, Jan 04 2016, Tomi Ollila wrote:
> devel/try-emacs-mua provides an easy way to try and experiment
> with the notmuch emacs client distributed in emacs subdirectory of
> the notmuch source tree.
>
> try-emacs-mua starts a new emac
Hi Tomi,
On Sun, Dec 20 2015, Tomi Ollila wrote:
> devel/try-emacs-mua provides an easy way to try and experiment
> with the notmuch emacs client distributed in emacs subdirectory of
> the notmuch source tree.
>
> try-emacs-mua starts a new emacs process and if initial checks pass
> *scratch* buff
Hi fauno,
On Wed, Dec 30 2015, fauno wrote:
> Michal Sojka writes:
>> can you share more details about how do you use jl-encrypt and which
>> functions do not work? Recently, I posted a few patches that fix some
>> problems related to the replacing message-mode with
&g
On Fri, Jan 01 2016, David Bremner wrote:
> David Bremner writes:
>
>> Michal Sojka writes:
>>
>>> This commit fixes these problems by replacing a call to message-mail
>>> with notmuch-specific code that is (hopefully) equivalent to
>>> mess
This should be more readable.
---
emacs/notmuch-mua.el | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index d4950cb..2d6825d 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -320,24 +320,24
Commit 570c0aeb40bd0c3af8174624a55e968f62c44f09 reworked
notmuch-mua-mail function in a way that worked only under Emacs 24.
The reason was that message-setup-1 took one argument less in Emacs
23.
We fix this by only supplying the return-action argument when it is
actually set by the caller.
---
notmuch-mua-mail ignored the switch-function argument and always used
the function returned by notmuch-mua-get-switch-function instead. In
order to support standard emacs interfaces (compose-mail in this
case), this commit changes notmuch-mua-mail to use the switch-function
argument if it is non-ni
Hi,
the first patch fixes the problem reported in
id:87wprt2r4f.fsf@zancas.localnet. Patch 2/3 is just refactoring.
Patch 3/3 is reaction to id:87y4cc3qse.fsf@zancas.localnet; I'm not
sure whether it addresses exactly what David had in mind, but IMHO it
is an improvement.
Cheers.
-Michal
___
Hi fauno,
On Tue, Dec 29 2015, fauno wrote:
> David Bremner writes:
>
>> I guess the tl;dr is that I can't duplicate this problem. Looking at the
>> traceback Peter provided, it looks like he is using
>> "send-message-without-bullets" to send the message. Since this isn't a
>> notmuch function, i
Current documentation and comments in the code do not correspond to
the actual code and tests in the test suite ("Un-munging Reply-To" in
T230-reply-to-sender.sh). Fix it.
---
doc/man1/notmuch-reply.rst | 6 --
notmuch-reply.c| 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
Hi all,
On Fri, Dec 04 2015, Jani Nikula wrote:
> On Fri, 04 Dec 2015, Damien Cassou wrote:
>> David Bremner writes:
>>
>>> Damien Cassou writes:
>>>
"To" : "r...@inria.fr",
"Reply-To" : "r...@inria.fr",
"From" : "seas...@r
When notmuch sources are at a symlinked path, some tests fail because
one part of the test uses physical path and another uses logical
path (with symlinks). For example the following test output is
produced when the test is started from /home/src/symlink-to-notmuch,
which is a symlink to /home/src/
ALTERNATE_EDITOR causes emacsclient to run an alternate editor if the
emacs server is not ready. This can collide with intended
functionality in test-lib.sh.
If the ALTERNATE_EDITOR is set but empty, emacsclient runs emacs
daemon and tries to connect to it. When this happens the emacs run by
test-
ALTERNATE_EDITOR causes emacsclient to run an alternate editor if the
emacs server is not ready. This can collide with intended
functionality in test-lib.sh.
If the ALTERNATE_EDITOR is set but empty, emacsclient runs emacs
daemon and tries to connect to it. When this happens the emacs run by
test-
Hi Mark,
I tried this patch. When I set the variable to 'received, first
completion candidates are generated incorrectly. The query looked as
"(to:sojk...@fel.cvut.cz) and (to:prefix*)". It should be "...
(from:prefix*)". This "to:" comes from notmuch-address-options or from
notmuch-company so the
Recent addition of notmuch-message-mode introduced several problems:
1. When message-setup-hook is used to set buffer local variables,
these settings are not effective, because all buffer local
variables are immediately erased by notmuch-message-mode
initialization.
2. message-mode-hook
Hi,
this is v2 of id:1446573161-28068-1-git-send-email-sojk...@fel.cvut.cz.
As suggested by David, instead of using advices, it reimplements the
needed pieces of message-mail in notmuch-specific way.
Michal Sojka (1):
emacs: Improve notmuch-message-mode initialization
emacs/notmuch-mua.el
On Mon, Nov 09 2015, David Bremner wrote:
> Michal Sojka writes:
>
>> This commit uses advice mechanism to call notmuch-message-mode instead
>> of message-mode. This way, a call to message-mail initializes directly
>> notmuch-message-mode rather than message-mode whic
Flyspell mode uses a special setting for message-mode to not
spell-check message headers except Subject. Apply this setting also to
notmuch-message-mode.
---
emacs/notmuch-mua.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index fd98ea4..466edd
Recent addition of notmuch-message-mode introduced a few regressions.
I use message-setup-hook to set some buffer local variables and this
stopped working. The reason is that notmuch-message-mode, which cleans
all buffer local variables, is called after calling message-mail,
which calls the message
From: David Bremner
This allows e.g. Gnus users to load this file without changing
message-mode behaviour.
This will disable completion for those that did not customize the
variable but relied on the existence of a file named "notmuch-addresses"
in their path. In the next commit the default beha
1
--- /dev/null
+++ b/emacs/notmuch-company.el
@@ -0,0 +1,86 @@
+;; notmuch-company.el --- Mail address completion for notmuch via company-mode
-*- lexical-binding: t -*-
+
+;; Authors: Trevor Jim
+;; Michal Sojka
+;;
+;; Keywords: mail, completion
+
+;; This program is free software; you can
Currently, notmuch has an address completion mechanism that requires
external command to provide completion candidates. This commit adds a
completion mechanism inspired by https://github.com/tjim/nevermore,
which is implemented in Emacs lisp only.
The preexisting address completion mechanism, acti
heers.
-Michal
David Bremner (1):
emacs: replace use of notmuch-address-message-insinuate
Michal Sojka (2):
Emacs: Add address completion mechanism implemented in elisp
Emacs: Add address completion based on company-mode
emacs/Makefile.local | 1 +
emacs/notmuch-address.el
On Fri, Jan 09 2015, Michal Sojka wrote:
> On Fri, Jan 09 2015, Tomi Ollila wrote:
>> On Fri, Jan 09 2015, Michal Sojka wrote:
>>
>>> Hi,
>>>
>>> sorry for longer response time :)
>>>
>>> On Thu, Jan 01 2015, Tomi Ollila wrote:
>&
On Fri, Jan 09 2015, Tomi Ollila wrote:
> On Fri, Jan 09 2015, Michal Sojka wrote:
>
>> Hi,
>>
>> sorry for longer response time :)
>>
>> On Thu, Jan 01 2015, Tomi Ollila wrote:
>>> On Wed, Dec 31 2014, David Bremner wrote:
>>>
>&
Hi,
sorry for longer response time :)
On Thu, Jan 01 2015, Tomi Ollila wrote:
> On Wed, Dec 31 2014, David Bremner wrote:
>
>> Michal Sojka writes:
>>
>>> This option allows to configure the criterion for duplicate address
>>> filtering. Without this option,
On Fri, Jan 09 2015, Michal Sojka wrote:
> On Fri, Jan 09 2015, Tomi Ollila wrote:
>> On Fri, Jan 09 2015, Michal Sojka wrote:
>>
>>> Hi,
>>>
>>> sorry for longer response time :)
>>>
>>> On Thu, Jan 01 2015, Tomi Ollila wrote:
>&
On Fri, Jan 09 2015, Tomi Ollila wrote:
> On Fri, Jan 09 2015, Michal Sojka wrote:
>
>> Hi,
>>
>> sorry for longer response time :)
>>
>> On Thu, Jan 01 2015, Tomi Ollila wrote:
>>> On Wed, Dec 31 2014, David Bremner wrote:
>>>
>&
Hi,
sorry for longer response time :)
On Thu, Jan 01 2015, Tomi Ollila wrote:
> On Wed, Dec 31 2014, David Bremner wrote:
>
>> Michal Sojka writes:
>>
>>> This option allows to configure the criterion for duplicate address
>>> filtering. Without this option,
On P?, pro 12 2014, Lele Gaifax wrote:
> Michal Sojka writes:
>
>>> An (almost) equivalent of "notmuch-addrlookup foo" could be "notmuch
>>> address to:foo* OR from:foo*", but it has at least one indesiderable
>>> difference: it seems con
On Pá, pro 12 2014, Lele Gaifax wrote:
> Michal Sojka writes:
>
>>> An (almost) equivalent of "notmuch-addrlookup foo" could be "notmuch
>>> address to:foo* OR from:foo*", but it has at least one indesiderable
>>> difference: it seems con
Hi Lele,
On Fri, Dec 12 2014, Lele Gaifax wrote:
> Hi all again,
>
> I'm happily using "notmuch-addrlookup"[1] as "notmuch-address-command", in
> my Emacs configuration.
>
> As explained in my other message, yesterday I spent some time tweaking
> that configuration and tried to replace it with the
Hi Lele,
On Fri, Dec 12 2014, Lele Gaifax wrote:
> Hi all again,
>
> I'm happily using "notmuch-addrlookup"[1] as "notmuch-address-command", in
> my Emacs configuration.
>
> As explained in my other message, yesterday I spent some time tweaking
> that configuration and tried to replace it with the
Hi Trevor,
On ?t, ??j 28 2014, W. Trevor King wrote:
> For folks that want to start versioning a new tag-space, instead of
> cloning one that someone else has already started.
>
> The empty-blob hash-object call avoids errors like:
>
> $ nmbug commit
> error: invalid object 100644 e69de29bb2d1
Hi Trevor,
On Út, říj 28 2014, W. Trevor King wrote:
> For folks that want to start versioning a new tag-space, instead of
> cloning one that someone else has already started.
>
> The empty-blob hash-object call avoids errors like:
>
> $ nmbug commit
> error: invalid object 100644 e69de29bb2d1
- Add notmuch-address to HTML index
- Remove extra '*'
---
doc/index.rst| 1 +
doc/man1/notmuch.rst | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/index.rst b/doc/index.rst
index ba6d5b4..3f0e6e6 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -8,6 +8,7 @@ Cont
---
NEWS | 8
1 file changed, 8 insertions(+)
diff --git a/NEWS b/NEWS
index 8d7ed0a..16cc002 100644
--- a/NEWS
+++ b/NEWS
@@ -35,6 +35,14 @@ Stopped `notmuch dump` failing if someone writes to the
database
limits output of message IDs to messages matching search terms that
have a
- Add notmuch-address to HTML index
- Remove extra '*'
---
doc/index.rst| 1 +
doc/man1/notmuch.rst | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/index.rst b/doc/index.rst
index ba6d5b4..3f0e6e6 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -8,6 +8,7 @@ Cont
---
NEWS | 8
1 file changed, 8 insertions(+)
diff --git a/NEWS b/NEWS
index 8d7ed0a..16cc002 100644
--- a/NEWS
+++ b/NEWS
@@ -35,6 +35,14 @@ Stopped `notmuch dump` failing if someone writes to the
database
limits output of message IDs to messages matching search terms that
have a
On Thu, Nov 06 2014, Tomi Ollila wrote:
> When no --output option were given, change default to display senders
> only. This is faster and provides useful-enough list of addresses.
>
> When only --count option is given, display senders (in contrary to not
> displaying anything).
>
> Document how --
On Thu, Nov 06 2014, Tomi Ollila wrote:
> When no --output option were given, change default to display senders
> only. This is faster and provides useful-enough list of addresses.
>
> When only --count option is given, display senders (in contrary to not
> displaying anything).
>
> Document how --
On Wed, Nov 05 2014, Mark Walters wrote:
> On Tue, 04 Nov 2014, Michal Sojka wrote:
>> On Tue, Nov 04 2014, Mark Walters wrote:
>>> On Mon, 03 Nov 2014, Michal Sojka wrote:
>>>> This moves address-related functionality from search command to the
>>>&g
On Wed, Nov 05 2014, Mark Walters wrote:
> On Tue, 04 Nov 2014, Michal Sojka wrote:
>> On Tue, Nov 04 2014, Mark Walters wrote:
>>> On Mon, 03 Nov 2014, Michal Sojka wrote:
>>>> This moves address-related functionality from search command to the
>>>&g
This option allows to configure the criterion for duplicate address
filtering. Without this option, all unique combinations of name and
address parts are printed. This option allows to filter the output
more, for example to only contain unique address parts.
---
completion/notmuch-completion.bash
This output prints how many times was each address encountered during
search.
---
completion/notmuch-completion.bash | 2 +-
completion/notmuch-completion.zsh | 2 +-
doc/man1/notmuch-address.rst | 11 -
notmuch-search.c | 49 -
This filters out duplicate addresses from address command output.
It also also adds tests for the address command.
The code here is an extended version of a patch from Jani Nikula.
---
doc/man1/notmuch-address.rst | 2 +-
notmuch-search.c | 42 ++-
test/T095-address.
Now, when address related outputs are in a separate command, it makes
no sense to combine multiple --output options in search command line.
Using switch statement to handle different outputs is more readable
than a series of if statements.
---
doc/man1/notmuch-search.rst | 3 ---
notmuch-search.c
This moves address-related functionality from search command to the
new address command. The implementation shares almost all code and
some command line options.
Options --offset and --limit were intentionally not included in the
address command, because they refer to messages numbers, which users
From: Jani Nikula
NOTMUCH_OPT_INHERIT expects a notmuch_opt_desc_t * pointer in
output_var.
The "Unrecognized option" message was moved out of parse_option() to
not be emitted twice or when parsing a non-inherited option.
---
command-line-arguments.c | 16 +---
command-line-argument
In a subsequent commit, these functions will be used to share some
functionality between search and address commands.
---
notmuch-search.c | 155 ++-
1 file changed, 86 insertions(+), 69 deletions(-)
diff --git a/notmuch-search.c b/notmuch-searc
In the next commit, notmuch_search_command will be refactored to
several smaller functions. In order to simplify the next commit to
verbatim move of several lines to new functions with search_context_t*
argument, we convert all references to this structure to pointer
dereferences. To do so we renam
In order to share some command line options between search and address
subcommands we need to add corresponding variables to the context
structure. While we are at it, we also add notmuch_database_t to unify
parameters of all do_search_* functions and to simplify subsequent
commits.
Otherwise, the
In the next commit the options structure will be extended by
non-option variables. Therefore we need a more generic name.
Just text replacement, no other changes.
---
notmuch-search.c | 142 +++
1 file changed, 71 insertions(+), 71 deletions(-)
-sojkam1 at fel.cvut.cz
Jani Nikula (1):
cli: add support for hierarchical command line option arrays
Michal Sojka (9):
cli: search: Rename options to context
cli: search: Move more variables into search_context_t
cli: search: Convert ctx. to ctx->
cli: search: Split notmuch_search_c
On Tue, Nov 04 2014, Mark Walters wrote:
> On Mon, 03 Nov 2014, Michal Sojka wrote:
>> This moves address-related functionality from search command to the
>> new address command. The implementation shares almost all code and
>> some command line options.
>>
>>
On Tue, Nov 04 2014, David Bremner wrote:
> Michal Sojka writes:
>
>> +{
>> +local cur prev words cword split
>> +_init_completion -s || return
>> +
>> +$split &&
>> +case "${prev}" in
>> +--format)
>
This moves address-related functionality from search command to the
new address command. The implementation shares almost all code and
some command line options.
Options --offset and --limit were intentionally not included in the
address command, because they refer to messages numbers, which users
In the next commit the options structure will be extended by
non-option variables. Therefore we need a more generic name.
Just text replacement, no other changes.
---
notmuch-search.c | 142 +++
1 file changed, 71 insertions(+), 71 deletions(-)
This filters out duplicate addresses from address command output.
It also also adds tests for the address command.
The code here is an extended version of a patch from Jani Nikula.
---
doc/man1/notmuch-address.rst | 2 +-
notmuch-search.c | 42 ++-
test/T095-address.
This output prints how many times was each address encountered during
search.
---
completion/notmuch-completion.bash | 2 +-
completion/notmuch-completion.zsh | 2 +-
doc/man1/notmuch-address.rst | 11 -
notmuch-search.c | 49 -
In a subsequent commit, these functions will be used to share some
functionality between search and address commands.
---
notmuch-search.c | 155 ++-
1 file changed, 86 insertions(+), 69 deletions(-)
diff --git a/notmuch-search.c b/notmuch-searc
In order to share some command line options between search and address
subcommands we need to add corresponding variables to the context
structure. While we are at it, we also add notmuch_database_t to unify
parameters of all do_search_* functions and to simplify subsequent
commits.
Otherwise, the
From: Jani Nikula
NOTMUCH_OPT_INHERIT expects a notmuch_opt_desc_t * pointer in
output_var.
The "Unrecognized option" message was moved out of parse_option() to
not be emitted twice or when parsing a non-inherited option.
---
command-line-arguments.c | 16 +---
command-line-argument
This option allows to configure the criterion for duplicate address
filtering. Without this option, all unique combinations of name and
address parts are printed. This option allows to filter the output
more, for example to only contain unique address parts.
---
completion/notmuch-completion.bash
ail-sojk...@fel.cvut.cz
Jani Nikula (1):
cli: add support for hierarchical command line option arrays
Michal Sojka (9):
cli: search: Rename options to context
cli: search: Move more variables into search_context_t
cli: search: Convert ctx. to ctx->
cli: search: Split notmuch_search_c
Now, when address related outputs are in a separate command, it makes
no sense to combine multiple --output options in search command line.
Using switch statement to handle different outputs is more readable
than a series of if statements.
---
doc/man1/notmuch-search.rst | 3 ---
notmuch-search.c
In the next commit, notmuch_search_command will be refactored to
several smaller functions. In order to simplify the next commit to
verbatim move of several lines to new functions with search_context_t*
argument, we convert all references to this structure to pointer
dereferences. To do so we renam
On Tue, Nov 04 2014, Mark Walters wrote:
> On Mon, 03 Nov 2014, Michal Sojka wrote:
>> This moves address-related functionality from search command to the
>> new address command. The implementation shares almost all code and
>> some command line options.
>>
>>
On Tue, Nov 04 2014, David Bremner wrote:
> Michal Sojka writes:
>
>> +{
>> +local cur prev words cword split
>> +_init_completion -s || return
>> +
>> +$split &&
>> +case "${prev}" in
>> +--format)
>
On Tue, Nov 04 2014, David Bremner wrote:
> Michal Sojka writes:
>
>>
>> +/* Returns TRUE iff name and addr is duplicate. */
>
> If you're revising this patch, it would be good to mention the side
> effect of this function.
>
>> -process_
On Tue, Nov 04 2014, David Bremner wrote:
> Michal Sojka writes:
>
>>
>> +/* Returns TRUE iff name and addr is duplicate. */
>
> If you're revising this patch, it would be good to mention the side
> effect of this function.
>
>> -process_
On Tue, Nov 04 2014, Mark Walters wrote:
> Hi
>
> On Mon, 03 Nov 2014, Michal Sojka wrote:
>> Now, when address related outputs are in a separate command, it makes
>> no sense to combine multiple --output options in search command line.
>> Using switch statement to
On Tue, Nov 04 2014, Mark Walters wrote:
> Hi
>
> On Mon, 03 Nov 2014, Michal Sojka wrote:
>> Now, when address related outputs are in a separate command, it makes
>> no sense to combine multiple --output options in search command line.
>> Using switch statement to
This option allows to configure the criterion for duplicate address
filtering. Without this option, all unique combinations of name and
address parts are printed. This option allows to filter the output
more, for example to only contain unique address parts.
---
completion/notmuch-completion.bash
This output prints how many times was each address encountered during
search.
---
completion/notmuch-completion.bash | 2 +-
completion/notmuch-completion.zsh | 2 +-
doc/man1/notmuch-address.rst | 7 ++
notmuch-search.c | 49 --
This filters out duplicate addresses from address command output.
It also also adds tests for the address command.
The code here is an extended version of a patch from Jani Nikula.
---
doc/man1/notmuch-address.rst | 2 +-
notmuch-search.c | 40 -
test/T095-address.
Now, when address related outputs are in a separate command, it makes
no sense to combine multiple --output options in search command line.
Using switch statement to handle different outputs is more readable
than a series of if statements.
---
doc/man1/notmuch-search.rst | 3 ---
notmuch-search.c
This moves address-related functionality from search command to the
new address command. The implementation shares almost all code and
some command line options.
Options --offset and --limit were intentionally not included in the
address command, because they refer to messages numbers, which users
From: Jani Nikula
NOTMUCH_OPT_INHERIT expects a notmuch_opt_desc_t * pointer in
output_var.
The "Unrecognized option" message was moved out of parse_option() to
not be emitted twice or when parsing a non-inherited option.
---
command-line-arguments.c | 16 +---
command-line-argument
In the next commit, these functions will be used to share some
functionality between search and address commands.
---
notmuch-search.c | 155 ++-
1 file changed, 86 insertions(+), 69 deletions(-)
diff --git a/notmuch-search.c b/notmuch-search.c
Mostly text replacement.
---
notmuch-search.c | 81
1 file changed, 41 insertions(+), 40 deletions(-)
diff --git a/notmuch-search.c b/notmuch-search.c
index 3d2012b..6765a16 100644
--- a/notmuch-search.c
+++ b/notmuch-search.c
@@ -474,7 +47
Just refactoring, no functional changes.
---
notmuch-search.c | 49 ++---
1 file changed, 26 insertions(+), 23 deletions(-)
diff --git a/notmuch-search.c b/notmuch-search.c
index 2c47b80..3d2012b 100644
--- a/notmuch-search.c
+++ b/notmuch-search.c
@@ -
Just text replacement, no other changes.
---
notmuch-search.c | 142 +++
1 file changed, 71 insertions(+), 71 deletions(-)
diff --git a/notmuch-search.c b/notmuch-search.c
index 6345fb6..2c47b80 100644
--- a/notmuch-search.c
+++ b/notmuch-search
41-29555-1-git-send-email-sojkam1 at fel.cvut.cz
Jani Nikula (1):
cli: add support for hierarchical command line option arrays
Michal Sojka (9):
cli: search: Rename options to context
cli: search: Move more variables into search_context_t
cli: search: Convert ctx. to ctx->
cli: search
Hi Tomi,
On Mon, Nov 03 2014, Tomi Ollila wrote:
> On Sun, Nov 02 2014, Michal Sojka wrote:
>
>> On 2. listopadu 2014 10:29:28 CET, Mark Walters > gmail.com> wrote:
>>>
>>>Hi
>>>
>>>On Sun, 02 Nov 2014, Michal Sojka wrote:
>>>>
Mostly text replacement.
---
notmuch-search.c | 81
1 file changed, 41 insertions(+), 40 deletions(-)
diff --git a/notmuch-search.c b/notmuch-search.c
index 3d2012b..6765a16 100644
--- a/notmuch-search.c
+++ b/notmuch-search.c
@@ -474,7 +47
1 - 100 of 1037 matches
Mail list logo