Hey,I have a lot of fun with Gemini.The only thing is I can't figure out how to get Gemini URL to display correctly in regular web posts like Parler? David -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210223/bc01 014b/attachment.htm>
David Jackson <davidjayjackson at yahoo.com> writes: > Hey,I have a lot of fun with Gemini.The only thing is I can't figure out how to get Gemini URL to display correctly in regular web posts like Parler? > David It depends largely on the site/application. Some will render everything that looks like an url as such, so for example foo://example.com gets highlighted, other have an hardcoded list of supported protocols, see for instance this PR for mastodon[0]. Cheers, P.S. Speaking of such, I'll be grateful if someone knows how to mark gemini links inside mu4e (in mu4e-view-mode.) [0]: https://github.com/tootsuite/mastodon/pull/15013
Hello Omar, Omar Polo writes: > P.S. Speaking of such, I'll be grateful if someone knows how to mark > gemini links inside mu4e (in mu4e-view-mode.) > I came across a few links which enabled me to properly markup gemini links in emacs/org-mode, see: => gemini://gemini.circumlunar.space/~ew/2021/20210211-org-link-to-elpher.gmi Down that path might wait, what you are looking for. Ciao, ~ew -- Keep it simple! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 861 bytes Desc: not available URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210223/730a b45d/attachment.sig>
ew.gemini <ew.gemini at nassur.net> writes: > Hello Omar, > > > Omar Polo writes: > >> P.S. Speaking of such, I'll be grateful if someone knows how to mark >> gemini links inside mu4e (in mu4e-view-mode.) >> > > I came across a few links which enabled me to properly markup > gemini links in emacs/org-mode, see: > > => gemini://gemini.circumlunar.space/~ew/2021/20210211-org-link-to-elpher.gmi > > Down that path might wait, what you are looking for. Thanks for sharing! I added your bit of elisp to my config, but it handles only gemini links inside org documents, which I don't use very often. But digging around I ended up with something that seems to work in other buffers too: ;; mu4e specific: (setq mu4e~view-beginning-of-url-regexp "https?\\://\\|mailto:\\|gemini://") ;; generic: (?) (add-to-list 'thing-at-point-uri-schemes "gemini://") (defun my/browse-url-elpher (url &rest _args) "Open URL with `elpher-go'." (elpher-go url)) (add-to-list 'browse-url-default-handlers '("\\`gemini:" . my/browse-url-elpher)) With this I'm able to M-x browse-url with the point near a Gemini link and open it on elpher! Cheers! > Ciao, > ~ew
---
Previous Thread: Supporting multi-line input without changing the specification