GNU bug report logs -
#44783
28.0.50; wish for eww: include gopher and gemini links
Previous Next
Reported by: Jean Louis <bugs <at> gnu.support>
Date: Sat, 21 Nov 2020 19:43:01 UTC
Severity: wishlist
Tags: fixed
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* Lars Ingebrigtsen <larsi <at> gnus.org> [2020-11-24 12:05]:
> Jean Louis <bugs <at> gnu.support> writes:
>
> > Do you think I could then also use goto-address-mode where hyperlinks
> > appear and that I can customize it to open up any kinds of URI
> > hyperlinks?
>
> If goto-address-mode calls browse-url, yes.
C-c RET (translated from C-c <return>) runs the command
goto-address-at-point (found in goto-address-highlight-keymap), which
is an autoloaded interactive compiled Lisp function in ‘goto-addr.el’.
It is bound to <mouse-2>, C-c RET.
(goto-address-at-point &optional EVENT)
Send to the e-mail address or load the URL at point.
Send mail to address at point. See documentation for
‘goto-address-find-address-at-point’. If no address is found
there, then load the URL at or before point.
Then I see:
;;;###autoload
(defun goto-address-at-point (&optional event)
"Send to the e-mail address or load the URL at point.
Send mail to address at point. See documentation for
`goto-address-find-address-at-point'. If no address is found
there, then load the URL at or before point."
(interactive (list last-input-event))
(save-excursion
(if event (posn-set-point (event-end event)))
(let ((address (save-excursion (goto-address-find-address-at-point))))
(if (and address
(save-excursion
(goto-char (previous-single-char-property-change
(point) 'goto-address nil
(line-beginning-position)))
(not (looking-at goto-address-url-regexp))))
(compose-mail address)
(let ((url (browse-url-url-at-point)))
(if url
(browse-url url)
(error "No e-mail address or URL found")))))))
Do you think that this above need not be changed and that I can still
update to follow any type of hyperlink with the new change?
This bug report was last modified 4 years and 162 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.