[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Any way to tell Emacs how to open specific URIs?
From: |
Jean Louis |
Subject: |
Any way to tell Emacs how to open specific URIs? |
Date: |
Sun, 22 Nov 2020 20:02:34 +0300 |
I am using goto-browse-mode to highlight URLs and goto-browse-mode
uses in turn thing-at-point-uri-schemes and that is great.
But what I miss is how to define how to activate those URLs, as I
would like to activate those URLs in those buffers where
goto-browse-mode is is activated.
I strongly need a way to define how to open specific URIs as shown
here and to define some of my own. This will expand the program
capabilities I am making.
Is there any current way to define how to open these URIs?
Is there any plan to define those URIs how to open them?
thing-at-point-uri-schemes is a variable defined in ‘thingatpt.el’.
Its value is
("aaa://" "about:" "acap://" "apt:" "bzr://" "bzr+ssh://" "attachment:/"
"chrome://" "cid:" "content://" "crid://" "cvs://" "data:" "dav:" "dict://"
"doi:" "dns:" "dtn:" "feed:" "file:/" "finger://" "fish://" "ftp://" "geo:"
"git://" "go:" "gopher://" "h323:" "http://" "https://" "im:" "imap://" "info:"
"ipp:" "irc://" "irc6://" "ircs://" "iris.beep:" "jar:" "ldap://" "ldaps://"
"magnet:" "mailto:" "mid:" "mtqp://" "mupdate://" "news:" "nfs://" "nntp://"
"opaquelocktoken:" "pop://" "pres:" "resource://" "rmi://" "rsync://" "rtsp://"
"rtspu://" "service:" "sftp://" "sip:" "sips:" "smb://" "sms:" "snmp://"
"soap.beep://" "soap.beeps://" "ssh://" "svn://" "svn+ssh://" "tag:" "tel:"
"telnet://" "tftp://" "tip://" "tn3270://" "udp://" "urn:" "uuid:" "vemmi://"
"webcal://" "xri://" "xmlrpc.beep://" "xmlrpc.beeps://" "z39.50r://"
"z39.50s://" "xmpp:" "fax:" "man:" "mms://" "mmsh://" "modem:" "prospero:"
"snews:" "wais://")
Documentation:
List of URI schemes recognized by ‘thing-at-point-url-at-point’.
Each string in this list should correspond to the start of a
URI’s scheme component, up to and including the trailing // if
the scheme calls for that to be present.