From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#44783: 28.0.50; wish for eww: include gopher and gemini links Date: Tue, 24 Nov 2020 12:10:22 +0300 Message-ID: References: <87pn438bgm.fsf@gnus.org> <87zh372kix.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35319"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: 44783@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 24 10:11:22 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khUM6-00096X-Cy for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Nov 2020 10:11:22 +0100 Original-Received: from localhost ([::1]:46692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khUM5-00011a-ER for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Nov 2020 04:11:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khULm-0000oK-U3 for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2020 04:11:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khULm-0001CW-MH for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2020 04:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khULm-0007jf-Hp for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2020 04:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Nov 2020 09:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44783 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 44783-submit@debbugs.gnu.org id=B44783.160620904129701 (code B ref 44783); Tue, 24 Nov 2020 09:11:02 +0000 Original-Received: (at 44783) by debbugs.gnu.org; 24 Nov 2020 09:10:41 +0000 Original-Received: from localhost ([127.0.0.1]:57642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khULQ-0007iz-Vi for submit@debbugs.gnu.org; Tue, 24 Nov 2020 04:10:41 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:56627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khULP-0007ia-7f for 44783@debbugs.gnu.org; Tue, 24 Nov 2020 04:10:39 -0500 Original-Received: from localhost ([::ffff:41.202.241.56]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C1AEA.000000005FBCCE07.00006D06; Tue, 24 Nov 2020 09:10:31 +0000 Content-Disposition: inline In-Reply-To: <87zh372kix.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194057 Archived-At: * Lars Ingebrigtsen [2020-11-24 12:05]: > Jean Louis 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 ) 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 , 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?