From: Bastien <bzg@altern.org>
To: Daniel Clemente <n142857@gmail.com>
Cc: org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: org-contacts: match name without formatting
Date: Wed, 04 Jan 2012 17:43:00 +0100 [thread overview]
Message-ID: <87r4zf8lm3.fsf@gnu.org> (raw)
In-Reply-To: <8739bxdf5p.wl%n142857@gmail.com> (Daniel Clemente's message of "Mon, 02 Jan 2012 21:26:42 +0100")
Hi Daniel,
thanks for the patch.
Daniel Clemente <n142857@gmail.com> writes:
> +(defun org-contacts-format-name (name)
> + "Remove some formatting marks from contact name"
> + (replace-regexp-in-string org-radio-target-regexp "\\1" name)
> + ; TODO also remove emphasis (org-emphasis-alist)
> +)
(I'd suggest ̀org-contacts-cleanup-name' instead of
`org-contacts-format-name'.)
Also, let's carefully check that such cleanups don't
slow down things -- I'm not using org-contacts (yet)
but I remember speed can be a problem with big database.
Thanks,
--
Bastien
prev parent reply other threads:[~2012-01-04 16:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-02 20:26 org-contacts: match name without formatting Daniel Clemente
2012-01-04 16:43 ` Bastien [this message]
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://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r4zf8lm3.fsf@gnu.org \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=n142857@gmail.com \
/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://git.savannah.gnu.org/cgit/emacs/org-mode.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).