GNU bug report logs -
#14950
24.3.50; gnus: Fontification of URLs is not satisfactory
Previous Next
Reported by: Jambunathan K <kjambunathan <at> gmail.com>
Date: Thu, 25 Jul 2013 10:11:02 UTC
Severity: minor
Found in version 24.3.50
Done: Katsumi Yamaoka <yamaoka <at> jpl.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#14950: 24.3.50; gnus: Fontification of URLs is not satisfactory
which was filed against the emacs,gnus package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 14950 <at> debbugs.gnu.org.
--
14950: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14950
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Andreas Schwab wrote:
> Katsumi Yamaoka <yamaoka <at> 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 <at> gmail.com
> - "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)" "["
> chars "]*"
> + "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)"
> + "\\(?:" "[" chars punct "]+" "[" chars "]" "\\)?"
> "\\|"
> "[" chars punct "]+" "[" chars "]"
> "\\)"))
Great! I understood what what you changed meant. Thanks.
The original one only matches the last part of a url like:
http://.../abc.def(ghi)jklmno
But yours matches:
http://.../abc.def(ghi)jkl.mno
Maybe making it match the one like
http://.../abc.def(ghi)jkl.mno/pqr(stu)vwx
is not necessary. I've installed your patch.
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Gnus is from Emacs repo.
Within Gnus,
[Chicago Export filters for Org-mode]
http://repo.or.cz/w/JabRefChicagoForOrgmode.git/blob_plain/HEAD:/net.sf.jabref.export.Chicago.ODF(English)-1.2.jar
How does the above URL below. Is it partly in bold and partly in default
font. (See attached screenshot) Specifically, the URL is fontified only
till "1" (but doesn't include trailing ".2.jar" part).
,---- How "1" is fontified
| Character code properties: customize what to show
| name: DIGIT ONE
| general-category: Nd (Number, Decimal Digit)
| decomposition: (49) ('1')
|
| This is an active area of a link (widget)Top.
|
|
| There are 2 overlays here:
| From 4589 to 4697
| face gnus-button
| From 4589 to 4697
| button link (widget)Top
| evaporate t
| face widget-button
| follow-link mouse-face
| help-echo "Follow the link"
| keymap [Show]
| mouse-face (highlight)
| pointer hand
|
|
| There are text properties here:
| gnus-callback gnus-button-push
| gnus-data [Show]
| gnus-string [Show]
| mouse-face highlight
`----
,---- How "2" is fontified
| Character code properties: customize what to show
| name: DIGIT TWO
| general-category: Nd (Number, Decimal Digit)
| decomposition: (50) ('2')
`----
In GNU Emacs 24.3.50.23 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
of 2013-07-25 on debian-6.05
Bzr revision: 113532 eliz <at> gnu.org-20130724173642-f1rke7jwa9330n3t
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
value of $LANG: en_IN
locale-coding-system: iso-latin-1-unix
default enable-multibyte-characters: t
Major mode: Article
[gnus-url-fontification-is-bad.png (image/png, attachment)]
This bug report was last modified 11 years and 299 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.