unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: servilio <servilio@gmail.com>
To: notmuch <notmuch@notmuchmail.org>
Subject: [RFC] Enhancements to address completion
Date: Mon, 14 Mar 2011 02:29:14 -0400	[thread overview]
Message-ID: <AANLkTimp+DFDVABwpRvHks3OOFHppSQ9pEviJBD7knXd@mail.gmail.com> (raw)

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

             reply	other threads:[~2011-03-14  6:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14  6:29 servilio [this message]
2011-03-14  9:26 ` [RFC] Enhancements to address completion Kristoffer Ström
2011-03-14 13:55   ` servilio
2011-03-14 21:05   ` Xavier Maillard
2011-03-14 21:06     ` Kristoffer Ström
2011-03-19 17:35       ` Xavier Maillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimp+DFDVABwpRvHks3OOFHppSQ9pEviJBD7knXd@mail.gmail.com \
    --to=servilio@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).