unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: emacsq <laszlomail@protonmail.com>
Cc: Po Lu <luangruo@yahoo.com>, "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 12:12:57 +0200	[thread overview]
Message-ID: <964A4298-8DE3-4C71-99D8-724B0C0BDEAA@gmail.com> (raw)
In-Reply-To: <8tTUu4_oCDfLxXzwCZv-VprEa1Ue-GjoGOyE03tfd5o6V8JtWO4SbZGyFCwRFztmCa8j3hAK8aDzRrGYbx1KOzN5cPe0YLrUEgejXqNpxTc=@protonmail.com>



> Am 17.04.2022 um 11:35 schrieb emacsq <laszlomail@protonmail.com>:
> 
> 
> 
> 
> 
>> 
>>> I have code where there are urls in comments and it's very convenient
>>> to visit those urls with a click or enter.
>> 
>> Why not enable `goto-address-mode' as a file or directory-local variable
>> in those files instead?
> 
> Is there a problem with making urls in comments clickable by default? It's just useful to conveniently visit some documentation url.
> 

It interferes with moving point using the mouse, which might be too intrusive.  Maybe we could enable goto-address-prog-mode by default, but in turn disable mouse-1-click-follows-link, so that the user would need to use mouse-2 instead.


  parent reply	other threads:[~2022-04-17 10:12 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 [this message]
2022-04-17 17:03           ` [External] : " Drew Adams
2022-04-17  9:07   ` emacsq
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=964A4298-8DE3-4C71-99D8-724B0C0BDEAA@gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=laszlomail@protonmail.com \
    --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).