[PATCH 2/2] emacs: Improve the regexp used to match id:'s in messages
Sascha Silbe
sascha-ml-reply-to-2012-4 at silbe.org
Thu Nov 1 07:01:10 PDT 2012
Austin Clements <amdragon at 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20121101/f7a28231/attachment.pgp>
More information about the notmuch
mailing list