From b544fef2ac730e5fc8c072b33584d9b48d25f6fa Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 2 Jul 2012 22:16:11 -0400 Subject: [PATCH] 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). --- lisp/ChangeLog | 5 +++++ lisp/progmodes/bug-reference.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 () -- 2.39.2