From: Sascha Silbe <sascha-ml-reply-to-2012-4@silbe.org>
To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org
Subject: Re: [PATCH 2/2] emacs: Improve the regexp used to match id:'s in messages
Date: Thu, 01 Nov 2012 15:01:10 +0100 [thread overview]
Message-ID: <toetxt9bexl.fsf@twin.sascha.silbe.org> (raw)
In-Reply-To: <1351650561-7331-3-git-send-email-amdragon@mit.edu>
[-- Attachment #1: Type: text/plain, Size: 559 bytes --]
Austin Clements <amdragon@MIT.EDU> writes:
> +(defvar notmuch-id-regexp
> + (concat
> + ;; Match the id: prefix only if it begins a word (to disallow, for
> + ;; example, matching cid:).
> + "\\<id:\\("
[...]
Since you're already at it, please extend it to accept RFC2392 [1]
syntax for message URLs:
mid-url = "mid" ":" message-id [ "/" content-id ]
The id: syntax is non-standard (i.e. specific to notmuch).
Sascha
[1] http://www.ietf.org/rfc/rfc2392.txt
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]
next prev parent reply other threads:[~2012-11-01 14:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-31 2:29 [PATCH 0/2] Better id: link buttonization Austin Clements
2012-10-31 2:29 ` [PATCH 1/2] test: Test buttonization of id: links Austin Clements
2012-10-31 2:29 ` [PATCH 2/2] emacs: Improve the regexp used to match id:'s in messages Austin Clements
2012-10-31 10:00 ` Jani Nikula
2012-11-01 14:01 ` Sascha Silbe [this message]
2012-11-02 19:27 ` Jameson Graef Rollins
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=toetxt9bexl.fsf@twin.sascha.silbe.org \
--to=sascha-ml-reply-to-2012-4@silbe.org \
--cc=amdragon@MIT.EDU \
--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).