From: Jean Louis <bugs@gnu.support>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 44783@debbugs.gnu.org
Subject: bug#44783: 28.0.50; wish for eww: include gopher and gemini links
Date: Tue, 24 Nov 2020 12:10:22 +0300 [thread overview]
Message-ID: <X7zN/lr4nAY0d1LB@protected.rcdrun.com> (raw)
In-Reply-To: <87zh372kix.fsf@gnus.org>
* Lars Ingebrigtsen <larsi@gnus.org> [2020-11-24 12:05]:
> Jean Louis <bugs@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?
next prev parent reply other threads:[~2020-11-24 9:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-21 19:41 bug#44783: 28.0.50; wish for eww: include gopher and gemini links Jean Louis
2020-11-21 19:52 ` Eli Zaretskii
2020-11-21 19:59 ` Jean Louis
2020-11-24 7:23 ` Lars Ingebrigtsen
2020-11-24 9:03 ` Jean Louis
2020-11-24 9:04 ` Lars Ingebrigtsen
2020-11-24 9:10 ` Jean Louis [this message]
2020-11-24 9:13 ` Lars Ingebrigtsen
[not found] ` <X8LLGThoBscm0dd3@protected.rcdrun.com>
2020-11-29 9:53 ` Lars Ingebrigtsen
[not found] ` <X8PbQsqsgKm/pe/M@protected.rcdrun.com>
2020-11-30 10:25 ` Lars Ingebrigtsen
2020-11-30 10:54 ` Jean Louis
2020-11-30 11:13 ` Lars Ingebrigtsen
2020-11-30 11:17 ` Jean Louis
2020-11-30 12:24 ` Basil L. Contovounesios
2020-12-09 10:20 ` Jean Louis
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=X7zN/lr4nAY0d1LB@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=44783@debbugs.gnu.org \
--cc=larsi@gnus.org \
/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 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.