2021-02-11

From org-link to elpher

#software

I use elpher as my default gemini browser.

gopher://thelambdalab.xyz/1/projects/elpher/

https://thelambdalab.xyz/elpher/

As a regular reader of

https://planet.emacslife.com/

I came across this article

https://christiantietze.de/posts/2021/02/emacs-org-mode-zettel-link/

and its content looked suspicously like offering the missing puzzle piece to my failed attempts to make gemini:// links open in elpher on C-c C-o (org-open-at-point).

And indeed, one redirection further at

https://alhassy.github.io/org-special-block-extras/#Links

I started to understand.

So maybe this is helpful for fellow elpher users:

;; - gemini -  make gemini: links work somewhat!
;; https://alhassy.github.io/org-special-block-extras/#Links
(org-link-set-parameters
 ;;link type: gemini://host/index.gmi
 "gemini"
 :follow (lambda (path) (elpher-go (concat "gemini:" path)))
 :face '(:foreground "turquoise" :weight bold)
 :display 'full
 )

Thanks to everyone involved in sharing code and documentation in this matter!

Full disclosure: Allthough I started using emacs in 1993-02 I never had the urgent need to get to grips with elisp. So I didn't really know, where to look. It certainly helped that I am in the process of reading "Land of Lisp" (by Conrad Barski).

Cheers,

~ew

Home