mirror of https://github.com/djcb/mu.git
mu4e-view: use <mouse-2> for links
Only <mouse-2>, to be consistent with eww.
This commit is contained in:
parent
bb5c36c658
commit
8afe3e11a2
3
NEWS.org
3
NEWS.org
|
@ -171,6 +171,9 @@
|
||||||
retrieval command in a buffer =*mu4e-last-update*=, = which can be useful
|
retrieval command in a buffer =*mu4e-last-update*=, = which can be useful
|
||||||
for diagnosis.
|
for diagnosis.
|
||||||
|
|
||||||
|
- links (in text-mode emails) are now clickable through <mouse-2>, to be
|
||||||
|
consistent with eww.
|
||||||
|
|
||||||
- support new-mail notifications on MacOS out-of-the-box
|
- support new-mail notifications on MacOS out-of-the-box
|
||||||
|
|
||||||
- allow sorting by tag
|
- allow sorting by tag
|
||||||
|
|
|
@ -431,11 +431,10 @@ list."
|
||||||
|
|
||||||
(defvar mu4e-view-active-urls-keymap
|
(defvar mu4e-view-active-urls-keymap
|
||||||
(let ((map (make-sparse-keymap)))
|
(let ((map (make-sparse-keymap)))
|
||||||
(define-key map [down-mouse-1] 'mu4e--view-browse-url-from-binding)
|
(define-key map (kbd "<mouse-2>") #'mu4e--view-browse-url-from-binding)
|
||||||
(define-key map [mouse-1] 'mu4e--view-browse-url-from-binding)
|
(define-key map (kbd "M-<return>") #'mu4e--view-browse-url-from-binding)
|
||||||
(define-key map (kbd "M-<return>") 'mu4e--view-browse-url-from-binding)
|
|
||||||
map)
|
map)
|
||||||
"Keymap used for the urls inside the body.")
|
"Keymap used for the URLs inside the body.")
|
||||||
|
|
||||||
(defvar mu4e--view-beginning-of-url-regexp
|
(defvar mu4e--view-beginning-of-url-regexp
|
||||||
"https?\\://\\|mailto:"
|
"https?\\://\\|mailto:"
|
||||||
|
|
|
@ -1400,7 +1400,7 @@ E edit (only allowed for draft messages)
|
||||||
actions
|
actions
|
||||||
-------
|
-------
|
||||||
g go to (visit) numbered URL (using `browse-url')
|
g go to (visit) numbered URL (using `browse-url')
|
||||||
(or: <mouse-1> or M-RET with point on url)
|
(or: <mouse-2> or M-RET with point on URL)
|
||||||
C-u g visits multiple URLs
|
C-u g visits multiple URLs
|
||||||
f fetch (download )the numbered URL.
|
f fetch (download )the numbered URL.
|
||||||
C-u f fetches multiple URLs
|
C-u f fetches multiple URLs
|
||||||
|
|
Loading…
Reference in New Issue