Address completion in Emacs

2014-12-12 Thread Lele Gaifax
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 (defun esk-notmuch-address-selection-function

New notmuch address command

2014-12-12 Thread Lele Gaifax
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 new notmuch address introduced in version 0.19. An (almost)

Re: New notmuch address command

2014-12-12 Thread Michal Sojka
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 new

Re: New notmuch address command

2014-12-12 Thread Lele Gaifax
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 (i.e., assuming I have a message I sent

Re: Address completion in Emacs

2014-12-12 Thread David Edmondson
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: Address completion in Emacs

2014-12-12 Thread Lele Gaifax
David Edmondson d...@dme.org writes: On Fri, Dec 12 2014, Lele Gaifax wrote: Wouldn't it be more correct to pass the unchanged `options' list and the real `orig' text as `initial-input' to the customizable function instead? Would I then have to press TAB twice to get the first result? No,

Re: Address completion in Emacs

2014-12-12 Thread David Edmondson
On Fri, Dec 12 2014, Lele Gaifax wrote: David Edmondson d...@dme.org writes: On Fri, Dec 12 2014, Lele Gaifax wrote: Wouldn't it be more correct to pass the unchanged `options' list and the real `orig' text as `initial-input' to the customizable function instead? Would I then have to press

Address completion in Emacs

2014-12-12 Thread Lele Gaifax
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 (defun esk-notmuch-address-selection-function

New "notmuch address" command

2014-12-12 Thread Lele Gaifax
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 new "notmuch address" introduced in version 0.19. An

New "notmuch address" command

2014-12-12 Thread Michal Sojka
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

New "notmuch address" command

2014-12-12 Thread Lele Gaifax
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" content (i.e., assuming I have a message I sent to

Address completion in Emacs

2014-12-12 Thread David Edmondson
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

Address completion in Emacs

2014-12-12 Thread Lele Gaifax
David Edmondson writes: > On Fri, Dec 12 2014, Lele Gaifax wrote: >> Wouldn't it be more "correct" to pass the unchanged `options' list and >> the "real" `orig' text as `initial-input' to the customizable function >> instead? > > Would I then have to press TAB twice to get the first result? No,

Address completion in Emacs

2014-12-12 Thread David Edmondson
On Fri, Dec 12 2014, Lele Gaifax wrote: > David Edmondson writes: > >> On Fri, Dec 12 2014, Lele Gaifax wrote: >>> Wouldn't it be more "correct" to pass the unchanged `options' list and >>> the "real" `orig' text as `initial-input' to the customizable function >>> instead? >> >> Would I then have

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

2014-12-12 Thread Ɓukasz Stelmach
`mail-user-agent' is defined with defcustom and may be customised by users. It should not be set to arbitrary values in modules. To make use of that configuration value call `compose-mail' which starts user's preferred mail composition package as selected with the variable `mail-user-agent'