[RFC] Enhancements to address completion

2011-03-19 Thread Xavier Maillard

On Mon, 14 Mar 2011 22:06:53 +0100, Kristoffer Str?m  wrote:
> > On Mon, 14 Mar 2011 10:26:20 +0100, Kristoffer Str?m  > rymdkoloni.se> wrote:
> > 
> > > I use it for completing through a modified version of eudc-select.
> > 
> > Would you mind posting this 'modified version of eudc-select' here ?

> Not at all fancy, only this:
> 
> https://gist.github.com/869875

Lagging a lot lately, just wanted to thank you.

/Xavier


Re: [RFC] Enhancements to address completion

2011-03-19 Thread Xavier Maillard

On Mon, 14 Mar 2011 22:06:53 +0100, Kristoffer Ström kristof...@rymdkoloni.se 
wrote:
  On Mon, 14 Mar 2011 10:26:20 +0100, Kristoffer Ström 
  kristof...@rymdkoloni.se wrote:
  
   I use it for completing through a modified version of eudc-select.
  
  Would you mind posting this 'modified version of eudc-select' here ?

 Not at all fancy, only this:
 
 https://gist.github.com/869875

Lagging a lot lately, just wanted to thank you.

/Xavier
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [RFC] Enhancements to address completion

2011-03-15 Thread servilio
2011/3/14 Kristoffer Ström kristof...@rymdkoloni.se:
 Have you looked at 'ido-completing-read that comes with ido-mode?
[...]
 It allows for fuzzy matching on any part of the name.

Yes, that's what I use, yes with flex matching.

Regards,

Servilio
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [RFC] Enhancements to address completion

2011-03-15 Thread Xavier Maillard
Hey Kristoffer

On Mon, 14 Mar 2011 10:26:20 +0100, Kristoffer Ström kristof...@rymdkoloni.se 
wrote:

 I use it for completing through a modified version of eudc-select.

Would you mind posting this 'modified version of eudc-select' here ?

/Xavier
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [RFC] Enhancements to address completion

2011-03-15 Thread Kristoffer Ström
On Mon, 14 Mar 2011 22:05:00 +0100, Xavier Maillard xav...@maillard.im wrote:
 Hey Kristoffer
 
 On Mon, 14 Mar 2011 10:26:20 +0100, Kristoffer Ström 
 kristof...@rymdkoloni.se wrote:
 
  I use it for completing through a modified version of eudc-select.
 
 Would you mind posting this 'modified version of eudc-select' here ?
 
 /Xavier

Not at all fancy, only this:

https://gist.github.com/869875
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[RFC] Enhancements to address completion

2011-03-14 Thread Kristoffer Ström
On Mon, 14 Mar 2011 22:05:00 +0100, Xavier Maillard  
wrote:
> Hey Kristoffer
> 
> On Mon, 14 Mar 2011 10:26:20 +0100, Kristoffer Str?m  rymdkoloni.se> wrote:
> 
> > I use it for completing through a modified version of eudc-select.
> 
> Would you mind posting this 'modified version of eudc-select' here ?
> 
> /Xavier

Not at all fancy, only this:

https://gist.github.com/869875


[RFC] Enhancements to address completion

2011-03-14 Thread Xavier Maillard
Hey Kristoffer

On Mon, 14 Mar 2011 10:26:20 +0100, Kristoffer Str?m  wrote:

> I use it for completing through a modified version of eudc-select.

Would you mind posting this 'modified version of eudc-select' here ?

/Xavier


[RFC] Enhancements to address completion

2011-03-14 Thread Kristoffer Ström
On Mon, 14 Mar 2011 02:29:14 -0400, servilio  wrote:
> I have been working in some enhancements to the emacs UI address
> completion, and this weekend I was able to find a way to finish the
> implementation to an acceptable (to me) state.
> 
> The gist of it is allowing the completion in Emacs to match against
> any part of the addresses returned by the notmuch-addrlookup command.
> I could not find a way to have completing-read behave that way, the
> strategy of matching anchored to the beginning of strings is
> in-grained in its design for what I've seen.
> 
> The current implementation uses Ido, included with Emacs at least in
> version 23, and is available at:
> 
> git://git.latertulia.org/servilio/notmuch.git
> 
> In the branch complete-name-and-address-v2. There is a web interface
> if you prefer to see the changes, just use "http" as the protocol in
> your web browser.
> 
> The first few changes in the branch are fixes and small enhancements I
> found while working on this, and I have sent them as separate patches
> for acceptance as they are independent of this work. All of this has
> been in use (in the form of the branch without "-v2") for almost a
> year. I started a message in August but somehow successfully forgot
> completely about it.
> 
> Regards,
> 
> Servilio

Have you looked at 'ido-completing-read that comes with ido-mode?
I use it for completing through a modified version of eudc-select.

It allows for fuzzy matching on any part of the name.


[RFC] Enhancements to address completion

2011-03-14 Thread servilio
2011/3/14 Kristoffer Str?m :
> Have you looked at 'ido-completing-read that comes with ido-mode?
[...]
> It allows for fuzzy matching on any part of the name.

Yes, that's what I use, yes with flex matching.

Regards,

Servilio


[RFC] Enhancements to address completion

2011-03-14 Thread servilio
I have been working in some enhancements to the emacs UI address
completion, and this weekend I was able to find a way to finish the
implementation to an acceptable (to me) state.

The gist of it is allowing the completion in Emacs to match against
any part of the addresses returned by the notmuch-addrlookup command.
I could not find a way to have completing-read behave that way, the
strategy of matching anchored to the beginning of strings is
in-grained in its design for what I've seen.

The current implementation uses Ido, included with Emacs at least in
version 23, and is available at:

git://git.latertulia.org/servilio/notmuch.git

In the branch complete-name-and-address-v2. There is a web interface
if you prefer to see the changes, just use "http" as the protocol in
your web browser.

The first few changes in the branch are fixes and small enhancements I
found while working on this, and I have sent them as separate patches
for acceptance as they are independent of this work. All of this has
been in use (in the form of the branch without "-v2") for almost a
year. I started a message in August but somehow successfully forgot
completely about it.

Regards,

Servilio


[RFC] Enhancements to address completion

2011-03-14 Thread servilio
I have been working in some enhancements to the emacs UI address
completion, and this weekend I was able to find a way to finish the
implementation to an acceptable (to me) state.

The gist of it is allowing the completion in Emacs to match against
any part of the addresses returned by the notmuch-addrlookup command.
I could not find a way to have completing-read behave that way, the
strategy of matching anchored to the beginning of strings is
in-grained in its design for what I've seen.

The current implementation uses Ido, included with Emacs at least in
version 23, and is available at:

git://git.latertulia.org/servilio/notmuch.git

In the branch complete-name-and-address-v2. There is a web interface
if you prefer to see the changes, just use http as the protocol in
your web browser.

The first few changes in the branch are fixes and small enhancements I
found while working on this, and I have sent them as separate patches
for acceptance as they are independent of this work. All of this has
been in use (in the form of the branch without -v2) for almost a
year. I started a message in August but somehow successfully forgot
completely about it.

Regards,

Servilio
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [RFC] Enhancements to address completion

2011-03-14 Thread Kristoffer Ström
On Mon, 14 Mar 2011 02:29:14 -0400, servilio servi...@gmail.com wrote:
 I have been working in some enhancements to the emacs UI address
 completion, and this weekend I was able to find a way to finish the
 implementation to an acceptable (to me) state.
 
 The gist of it is allowing the completion in Emacs to match against
 any part of the addresses returned by the notmuch-addrlookup command.
 I could not find a way to have completing-read behave that way, the
 strategy of matching anchored to the beginning of strings is
 in-grained in its design for what I've seen.
 
 The current implementation uses Ido, included with Emacs at least in
 version 23, and is available at:
 
 git://git.latertulia.org/servilio/notmuch.git
 
 In the branch complete-name-and-address-v2. There is a web interface
 if you prefer to see the changes, just use http as the protocol in
 your web browser.
 
 The first few changes in the branch are fixes and small enhancements I
 found while working on this, and I have sent them as separate patches
 for acceptance as they are independent of this work. All of this has
 been in use (in the form of the branch without -v2) for almost a
 year. I started a message in August but somehow successfully forgot
 completely about it.
 
 Regards,
 
 Servilio

Have you looked at 'ido-completing-read that comes with ido-mode?
I use it for completing through a modified version of eudc-select.

It allows for fuzzy matching on any part of the name.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch