New "notmuch address" command

2014-12-14 Thread Lele Gaifax
Michal Sojka writes: > On P?, pro 12 2014, Lele Gaifax wrote: >> It's not just a matter of filtering, but rather *which* address is >> emitted: trying it out, in the case above the "foo at bar.com" is not even >> mentioned in the output, because it appears only as a CCed recipient. > > Are you

Address completion in Emacs

2014-12-14 Thread Tomi Ollila
On Fri, Dec 12 2014, Lele Gaifax wrote: > Hi all, > > Yesterday I tweaked my Emacs configuration to use "ido-completing-read" > to select the right address in the minibuffer, and noticed what seems a > glitch in the related code. > > To accomplish the goal, I implemented my own selection function

New "notmuch address" command

2014-12-14 Thread Michal Sojka
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 considering the "CC" field, but always emits the >>> "TO"

[PATCH] emacs: do not change users' mail agent configuration

2014-12-14 Thread Jani Nikula
On Sat, 13 Dec 2014, Lukasz Stelmach wrote: > On 13.12.2014 22:04, Jani Nikula wrote: >> On Fri, 12 Dec 2014, ?ukasz Stelmach wrote: >>> `mail-user-agent' is defined with defcustom and may be customised >>> by users. It should not be set to arbitrary values in modules. >> >> Point taken. >>

Re: [PATCH] emacs: do not change users' mail agent configuration

2014-12-14 Thread Jani Nikula
On Sat, 13 Dec 2014, Lukasz Stelmach stl...@poczta.fm wrote: On 13.12.2014 22:04, Jani Nikula wrote: On Fri, 12 Dec 2014, Łukasz Stelmach stl...@poczta.fm wrote: `mail-user-agent' is defined with defcustom and may be customised by users. It should not be set to arbitrary values in modules.

Re: [PATCH] emacs: do not change users' mail agent configuration

2014-12-14 Thread Lukasz Stelmach
On 13.12.2014 22:04, Jani Nikula wrote: On Fri, 12 Dec 2014, Łukasz Stelmach stl...@poczta.fm wrote: `mail-user-agent' is defined with defcustom and may be customised by users. It should not be set to arbitrary values in modules. Point taken. To make use of that configuration value call

Re: New notmuch address command

2014-12-14 Thread Michal Sojka
On Pá, pro 12 2014, Lele Gaifax wrote: Michal Sojka sojk...@fel.cvut.cz 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 considering the CC field, but always emits the TO content

Re: Address completion in Emacs

2014-12-14 Thread Tomi Ollila
On Fri, Dec 12 2014, Lele Gaifax wrote: Hi all, Yesterday I tweaked my Emacs configuration to use ido-completing-read to select the right address in the minibuffer, and noticed what seems a glitch in the related code. To accomplish the goal, I implemented my own selection function

Re: New notmuch address command

2014-12-14 Thread Lele Gaifax
Michal Sojka sojk...@fel.cvut.cz writes: On Pá, pro 12 2014, Lele Gaifax wrote: It's not just a matter of filtering, but rather *which* address is emitted: trying it out, in the case above the f...@bar.com is not even mentioned in the output, because it appears only as a CCed recipient. Are

Re: [PATCH] emacs: do not change users' mail agent configuration

2014-12-14 Thread Lukasz Stelmach
On 14.12.2014 10:46, Jani Nikula wrote: On Sat, 13 Dec 2014, Lukasz Stelmach stl...@poczta.fm wrote: On 13.12.2014 22:04, Jani Nikula wrote: On Fri, 12 Dec 2014, Łukasz Stelmach stl...@poczta.fm wrote: `mail-user-agent' is defined with defcustom and may be customised by users. It should not