mirror of
https://codeberg.org/cage/tinmop/
synced 2024-12-23 23:51:50 +01:00
- allowed also collection of gopher address, printed on the message window, in the link window.
This commit is contained in:
parent
65c9ac64d0
commit
b710f36774
@ -87,6 +87,10 @@ color-regexp = "-> gemini://[^ ]+" yellow underline
|
||||
|
||||
color-regexp = "gemini://[^ ]+" #ff0000
|
||||
|
||||
#gopher links
|
||||
|
||||
color-regexp = "gopher://[^ ]+" #ff0000
|
||||
|
||||
# (c) and (r)
|
||||
|
||||
color-regexp = "(?i)(\\(c\\))|(\\(r\\))" #ff0000 bold
|
||||
|
@ -698,7 +698,7 @@ printed in the box column by column; in the example above the results are:
|
||||
(list columns)))))
|
||||
(fit)))
|
||||
|
||||
(defun collect-links (text &optional (schemes '("http" "https" "ftp" "gemini")))
|
||||
(defun collect-links (text &optional (schemes '("http" "https" "ftp" "gemini" "gopher")))
|
||||
"Collect all hyperlinks in a text marked from a list of valid `schemes'"
|
||||
(flet ((build-re-scheme ()
|
||||
(let ((res ""))
|
||||
|
Loading…
Reference in New Issue
Block a user