Discussion:
[O] Link "bracket-types"
Eric S Fraga
2018-05-13 11:10:37 UTC
Permalink
in case op or anybody else is wondering why i pasted random code, this
will show the link location when cursor is over the link.
Excellent! Thank you very much. Works like a charm.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-591-gee336b
Michael Brand
2018-05-12 08:12:13 UTC
Permalink
Hi Nicolas

Thank you for the patch. I changed it (attached) to something that
preserves org-toggle-link-display and allows more different configs
for more different usages, please see the docstring of
org-link-brackets. I tried it out with org-toggle-link-display and for
org-link-brackets '(0 0), '(1 1) and '(0 2).

Michael
Eric S Fraga
2018-05-11 13:20:01 UTC
Permalink
Hello,
Feature request: would it be possible to have the link echoed in the
minibuffer when point enters or is on a link? I don't use the mouse at
all and always end up having to C-c l to see what the link is.
You can use :activate-func link parameter (see `org-link-parameters') to
set `cursor-sensor-functions'.
Thank you. But I would need to redefine all link types, I guess, to
include this setting (and would need to write the function as well which
is arguably beyond my capabilities ;-)). I was suggesting this as
something that should be the default behaviour but it's nice to know
that it's possible to achieve. For a rainy day!
--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.11-620-ga548e4
Continue reading on narkive:
Loading...