Add Gemini search link to elpher homepage
authorVee <vee@vnsf.xyz>
Sat, 16 May 2020 13:56:54 +0000 (09:56 -0400)
committerVee <vee@vnsf.xyz>
Sat, 16 May 2020 13:56:54 +0000 (09:56 -0400)
This commit adds a "homepage" link to GUS in a similar fashion to
Veronica. It's not actually tested, because I'm not very well-versed
in hacking Emacs packages, and doing something like over-writing an
installed version from Melpa.

Thank you for the great client, and please LMK if you have any
feedback or guidance on how to improve this implementation!

elpher.el

index f13092a..2230277 100644 (file)
--- a/elpher.el
+++ b/elpher.el
@@ -1257,7 +1257,9 @@ by HEADER-LINE."
    (elpher-insert-index-record "Floodgap Systems Gopher Server"
                                (elpher-make-gopher-address ?1 "" "gopher.floodgap.com" 70))
    (insert "\n"
    (elpher-insert-index-record "Floodgap Systems Gopher Server"
                                (elpher-make-gopher-address ?1 "" "gopher.floodgap.com" 70))
    (insert "\n"
-           "Alternatively, select the following item and enter some search terms:\n")
+           "Alternatively, select a search engine and enter some search terms:\n")
+   (elpher-insert-index-record "GUS Gemini Search Engine"
+                               (elpher-address-from-url "gemini://gus.guru/search"))
    (elpher-insert-index-record "Veronica-2 Gopher Search Engine"
                                (elpher-make-gopher-address ?7 "/v2/vs" "gopher.floodgap.com" 70))
    (insert "\n"
    (elpher-insert-index-record "Veronica-2 Gopher Search Engine"
                                (elpher-make-gopher-address ?7 "/v2/vs" "gopher.floodgap.com" 70))
    (insert "\n"