unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Spencer Baugh via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Dmitry Gutov <dmitry@gutov.dev>, 74792@debbugs.gnu.org
Subject: bug#74792: 29.2.50; goto-address-mode should support RET in special-mode buffers
Date: Wed, 11 Dec 2024 12:39:59 -0500	[thread overview]
Message-ID: <CAO=BR8MtXJewQBhrJmvQZTS2T3nxAu6+UCG-=hYnwPTYbdYXtQ@mail.gmail.com> (raw)
In-Reply-To: <86ldwm2lko.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 985 bytes --]

On Wed, Dec 11, 2024, 12:09 PM Eli Zaretskii <eliz@gnu.org> wrote:

> > Cc: dmitry@gutov.dev
> > Date: Wed, 11 Dec 2024 11:10:53 -0500
> > From:  Spencer Baugh via "Bug reports for GNU Emacs,
> >  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> >
> >
> > goto-address-mode binds C-c RET to goto-address-at-point when point is
> > on a URL or email address.  In special-mode buffers (or maybe any
> > read-only buffer?) it should also bind RET while point is on the URL or
> > email address.
>
> I don't think it's a good idea, since many special-mode descendants
> bind RET to useful commands.  For goto-address-at-point to override
> that would be a nuisance, I think.
>

True, but when I've specifically moved point to a URL it is usually because
I want to follow the URL, not do whatever is bound to RET in the mode.

But this sounds like something that may differ between users, so perhaps we
could add this controlled by a defcustom?

>

[-- Attachment #2: Type: text/html, Size: 1776 bytes --]

  reply	other threads:[~2024-12-11 17:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-11 16:10 bug#74792: 29.2.50; goto-address-mode should support RET in special-mode buffers Spencer Baugh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-11 17:09 ` Eli Zaretskii
2024-12-11 17:39   ` Spencer Baugh via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-12-11 18:55     ` Eli Zaretskii
2024-12-12 16:35       ` Juri Linkov
2024-12-12 20:47         ` Spencer Baugh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-13  7:31           ` Juri Linkov
2024-12-12 23:20       ` Dmitry Gutov

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='CAO=BR8MtXJewQBhrJmvQZTS2T3nxAu6+UCG-=hYnwPTYbdYXtQ@mail.gmail.com' \
    --to=bug-gnu-emacs@gnu.org \
    --cc=74792@debbugs.gnu.org \
    --cc=dmitry@gutov.dev \
    --cc=eliz@gnu.org \
    --cc=sbaugh@janestreet.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).