all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#74792: 29.2.50; goto-address-mode should support RET in special-mode buffers
@ 2024-12-11 16:10 Spencer Baugh via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-12-11 17:09 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Spencer Baugh via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-12-11 16:10 UTC (permalink / raw)
  To: 74792; +Cc: dmitry


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.

This would improve functionality for packages which create special-mode
buffers showing arbitrary text that may contain URLs.

For example, commit messages may contain URLs, and enabling
goto-message-mode in vc-log buffers highlights those URLs, but RET
doesn't work to follow them.  Similarly, magit enables goto-address-mode
in buffers showing a commit message, but it implements separate handling
for RET on URLs since goto-address-mode doesn't provide that as a
binding.

This could be done with an extended-menu-item binding with a filter
which checks (derived-mode-p 'special-mode), but maybe there's a better
way?





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-12-16 17:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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-16 17:54             ` Juri Linkov
2024-12-12 23:20       ` Dmitry Gutov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.