From 8afe3e11a2ad245db4340271cc02c45da10f56db Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Fri, 1 Mar 2024 23:20:07 +0200 Subject: [PATCH] mu4e-view: use for links Only , to be consistent with eww. --- NEWS.org | 3 +++ mu4e/mu4e-view.el | 7 +++---- mu4e/mu4e.texi | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/NEWS.org b/NEWS.org index 552331d8..10695fef 100644 --- a/NEWS.org +++ b/NEWS.org @@ -171,6 +171,9 @@ retrieval command in a buffer =*mu4e-last-update*=, = which can be useful for diagnosis. + - links (in text-mode emails) are now clickable through , to be + consistent with eww. + - support new-mail notifications on MacOS out-of-the-box - allow sorting by tag diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index 001aff4d..f4a980ef 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -431,11 +431,10 @@ list." (defvar mu4e-view-active-urls-keymap (let ((map (make-sparse-keymap))) - (define-key map [down-mouse-1] 'mu4e--view-browse-url-from-binding) - (define-key map [mouse-1] 'mu4e--view-browse-url-from-binding) - (define-key map (kbd "M-") 'mu4e--view-browse-url-from-binding) + (define-key map (kbd "") #'mu4e--view-browse-url-from-binding) + (define-key map (kbd "M-") #'mu4e--view-browse-url-from-binding) map) - "Keymap used for the urls inside the body.") + "Keymap used for the URLs inside the body.") (defvar mu4e--view-beginning-of-url-regexp "https?\\://\\|mailto:" diff --git a/mu4e/mu4e.texi b/mu4e/mu4e.texi index 78cbe3e2..2f021009 100644 --- a/mu4e/mu4e.texi +++ b/mu4e/mu4e.texi @@ -1400,7 +1400,7 @@ E edit (only allowed for draft messages) actions ------- g go to (visit) numbered URL (using `browse-url') -(or: or M-RET with point on url) +(or: or M-RET with point on URL) C-u g visits multiple URLs f fetch (download )the numbered URL. C-u f fetches multiple URLs