From: Andreas Schwab <schwab@linux-m68k.org>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: 14950@debbugs.gnu.org, Jambunathan K <kjambunathan@gmail.com>
Subject: bug#14950: 24.3.50; gnus: Fontification of URLs is not satisfactory
Date: Thu, 25 Jul 2013 15:11:59 +0200 [thread overview]
Message-ID: <877ggewzq8.fsf@igel.home> (raw)
In-Reply-To: <b4ma9lazxme.fsf@jpl.org> (Katsumi Yamaoka's message of "Thu, 25 Jul 2013 20:29:13 +0900")
Katsumi Yamaoka <yamaoka@jpl.org> writes:
> What should be improved is the default value of the user option
> `gnus-button-url-regexp'. But it is too complicated to let me
> encourage to do it without enbugging. Anyone?
How about this?
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 31a108a..2433db2 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -7177,7 +7177,8 @@ groups."
"\\(?:"
;; Match paired parentheses, e.g. in Wikipedia URLs:
;; http://thread.gmane.org/47B4E3B2.3050402@gmail.com
- "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)" "[" chars "]*"
+ "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)"
+ "\\(?:" "[" chars punct "]+" "[" chars "]" "\\)?"
"\\|"
"[" chars punct "]+" "[" chars "]"
"\\)"))
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2013-07-25 13:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 10:11 bug#14950: 24.3.50; gnus: Fontification of URLs is not satisfactory Jambunathan K
2013-07-25 11:29 ` Katsumi Yamaoka
2013-07-25 12:15 ` Jambunathan K
2013-07-25 13:11 ` Andreas Schwab [this message]
2013-07-25 23:40 ` Katsumi Yamaoka
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877ggewzq8.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=14950@debbugs.gnu.org \
--cc=kjambunathan@gmail.com \
--cc=yamaoka@jpl.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.