From: emacsq <laszlomail@protonmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: Why is goto-address-mode not enabled by default everywhere?
Date: Sun, 17 Apr 2022 09:07:40 +0000 [thread overview]
Message-ID: <4o6wl2JVs2Y9WqbJZg26kHUS7HLAWR6Fb1NeDo-_wwVEQdjJru1MXTyhMg-xxKz2kYUyLNpKWVZsl0RPhsqBPyC7L8jzWKhif7G23djos7k=@protonmail.com> (raw)
In-Reply-To: <87fsmcnm7h.fsf@yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 642 bytes --]
> 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.
[-- Attachment #2: Type: text/html, Size: 956 bytes --]
next prev parent reply other threads:[~2022-04-17 9:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-17 8:17 Why is goto-address-mode not enabled by default everywhere? emacsq
2022-04-17 8:33 ` Po Lu
2022-04-17 8:41 ` emacsq
2022-04-17 9:28 ` Po Lu
2022-04-17 9:35 ` emacsq
2022-04-17 9:42 ` Andreas Schwab
2022-04-17 10:12 ` Philipp Stephani
2022-04-17 17:03 ` [External] : " Drew Adams
2022-04-17 9:07 ` emacsq [this message]
2022-04-17 9:27 ` Po Lu
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='4o6wl2JVs2Y9WqbJZg26kHUS7HLAWR6Fb1NeDo-_wwVEQdjJru1MXTyhMg-xxKz2kYUyLNpKWVZsl0RPhsqBPyC7L8jzWKhif7G23djos7k=@protonmail.com' \
--to=laszlomail@protonmail.com \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).