From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#14950: 24.3.50; gnus: Fontification of URLs is not satisfactory Date: Thu, 25 Jul 2013 15:11:59 +0200 Message-ID: <877ggewzq8.fsf@igel.home> References: <87y58vgd8y.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374757993 28225 80.91.229.3 (25 Jul 2013 13:13:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jul 2013 13:13:13 +0000 (UTC) Cc: 14950@debbugs.gnu.org, Jambunathan K To: Katsumi Yamaoka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 25 15:13:14 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V2LM1-0004Up-Q8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jul 2013 15:13:13 +0200 Original-Received: from localhost ([::1]:44969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2LM1-00021j-3g for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jul 2013 09:13:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2LLv-0001wW-On for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 09:13:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2LLq-0007pV-TT for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 09:13:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2LLq-0007pM-Pk for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 09:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V2LLq-0005yP-0e for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 09:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2013 13:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14950 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14950-submit@debbugs.gnu.org id=B14950.137475792922830 (code B ref 14950); Thu, 25 Jul 2013 13:13:01 +0000 Original-Received: (at 14950) by debbugs.gnu.org; 25 Jul 2013 13:12:09 +0000 Original-Received: from localhost ([127.0.0.1]:48908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2LKy-0005w9-Ev for submit@debbugs.gnu.org; Thu, 25 Jul 2013 09:12:08 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:43530) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2LKv-0005vz-QU for 14950@debbugs.gnu.org; Thu, 25 Jul 2013 09:12:06 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3c1DNN1QBQz3hhk0; Thu, 25 Jul 2013 15:12:03 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3c1DNM4nlgzbbs4; Thu, 25 Jul 2013 15:12:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 8EsZnwyBqyVx; Thu, 25 Jul 2013 15:11:59 +0200 (CEST) X-Auth-Info: n9R4jCIpk+qOaWKA4ruFriGgO/xhvxeS3or7rjdbg1I= Original-Received: from igel.home (ppp-88-217-102-64.dynamic.mnet-online.de [88.217.102.64]) by mail.mnet-online.de (Postfix) with ESMTPA; Thu, 25 Jul 2013 15:11:59 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 4526DE695F; Thu, 25 Jul 2013 15:11:59 +0200 (CEST) X-Yow: Do I hear th' SPINNING of various WHIRRING, ROUND, and WARM WHIRLOMATICS?! In-Reply-To: (Katsumi Yamaoka's message of "Thu, 25 Jul 2013 20:29:13 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76649 Archived-At: Katsumi Yamaoka 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."