From: Glenn Morris Date: Tue, 3 Jul 2012 02:16:11 +0000 (-0400) Subject: Tweak bug-reference-bug-regexp setting X-Git-Tag: emacs-24.2.90~1199^2~252 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b544fef2ac730e5fc8c072b33584d9b48d25f6fa;p=emacs.git Tweak bug-reference-bug-regexp setting * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Allow linking to specific messages in debbugs reports (eg 123#5). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bab4085587e..58cb7e69688 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-07-03 Glenn Morris + + * progmodes/bug-reference.el (bug-reference-bug-regexp): + Allow linking to specific messages in debbugs reports (eg 123#5). + 2012-07-02 Chong Yidong * xml.el: Fix entity and character reference expansion, allowing diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el index 015b9a9ceaf..48ef5da12ae 100644 --- a/lisp/progmodes/bug-reference.el +++ b/lisp/progmodes/bug-reference.el @@ -62,7 +62,7 @@ so that it is considered safe, see `enable-local-variables'.") (get s 'bug-reference-url-format))))) (defconst bug-reference-bug-regexp - "\\([Bb]ug ?#\\|[Pp]atch ?#\\|RFE ?#\\|PR [a-z-+]+/\\)\\([0-9]+\\)" + "\\([Bb]ug ?#\\|[Pp]atch ?#\\|RFE ?#\\|PR [a-z-+]+/\\)\\([0-9]+\\(?:#[0-9]+\\)?\\)" "Regular expression which matches bug references.") (defun bug-reference-set-overlay-properties ()