emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is goto-address-mode not enabled by default everywhere?


From: emacsq
Subject: Re: Why is goto-address-mode not enabled by default everywhere?
Date: Sun, 17 Apr 2022 09:07:40 +0000

Because that's not what most people expect in buffers visiting plain
text, or even code. For example, you would certainly not want to click
the "URL" in this:

 sprintf (buf, "https://example.com/colors.php?color=%02x%02x%02x", ...



BTW, I see no great harm in highlighting this. It indicates that it's an url and helps to see the code constructs an url, and if someone browses C code and sees sprintf then he obviously knows what sprintf does, so he'll know the url won't work without parameter substitution anyway.

If the link is clicked then you get a 404 page for a non existent color, so it's just a broken link, nothing tragic.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]