Commit 1c1766c7 authored by Markus Rost's avatar Markus Rost

(thing-at-point-uri-schemes): New variable.

(thing-at-point-url-regexp): Use it.
parent 845d331e
2002-10-06 Markus Holmberg <> (tiny change)
* thingatpt.el (thing-at-point-uri-schemes): New variable.
(thing-at-point-url-regexp): Use it.
2002-10-06 Glenn Morris <>
* progmodes/fortran.el (fortran-beginning-do): Ignore labelled DO
......@@ -213,10 +213,21 @@ a symbol as a valid THING."
Hostname matching is stricter in this case than for
(defvar thing-at-point-uri-schemes
;; Officials from
'("ftp://" "http://" "gopher://" "mailto:" "news:" "nntp:"
"telnet://" "wais://" "file:/" "prospero:" "z39.50s:" "z39.50r:"
"cid:" "mid:" "vemmi:" "service:" "imap:" "nfs:" "acap:" "rtsp:"
"tip:" "pop:" "data:" "dav:" "opaquelocktoken:" "sip:" "tel:" "fax:"
"modem:" "ldap:" "https://" "soap.beep:" "soap.beeps:" "urn:" "go:"
"afs:" "tn3270:" "mailserver:"
;; Compatibility
"Uniform Resource Identifier (URI) Schemes")
(defvar thing-at-point-url-regexp
(concat "\\<\\(" (mapconcat 'identity thing-at-point-uri-schemes "\\|") "\\)"
"A regular expression probably matching a complete URL.")
(defvar thing-at-point-markedup-url-regexp
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment