[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38257: Acknowledgement (27.0.50; ERC does not match or highlight nic
bug#38257: Acknowledgement (27.0.50; ERC does not match or highlight nick surrounded by parens)
Thu, 09 Jan 2020 13:41:46 -0500
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Emanuel Berg <address@hidden> writes:
> It is just amazing how this has been handled,
> to care so much for the IRC client and also to
> be able to strengthen the reasons for the
> policy by finding one RFC!
:-) Thanks, Emanuel.
> Here I wonder why does the erc-button has this?
> Don't Gnus, Emacs-w3m, man mode, virtually every
> mode that is about communicating have
> a tendency to come across hyperlinks?
Historical reasons, I’d imagine?
Doing a git-blame, it seems that ‘browse-url-button-regexp’ was
introduced in a32e1feb438e793a8378671c7124d226b58f65f0 , where Lars
refactored ‘gnus-button-url-regexp’ out from “lisp/gnus/gnus-art.el”
over to ‘browse-url-button-regexp’ in “lisp/net/browse-url.el”,
presumably for the very reason of other packages being able to use it
for controlling what’s considered a button.
Description: PGP signature