emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Link "bracket-types"


From: Samuel Wales
Subject: Re: [O] Link "bracket-types"
Date: Sat, 12 May 2018 16:35:02 -0700

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.


On 5/10/18, Samuel Wales <address@hidden> wrote:
> (add-hook 'org-mode-hook 'alpha-eldoc-help-echo-mode)
> ;; fixme in elisp we want both link eldoc and elisp eldoc
> (defun hoka-eldoc-help-echo-at-point ()
>   "Eldoc thingy for help-echo text properties."
>   (let ((val (get-text-property (point) 'help-echo)))
>     val))
> (defun alpha-eldoc-help-echo-mode ()
>   "Enable eldoc mode with e.g. org links to display in minibuffer
> when cursor is over them.  Call in the relevant buffer.  M-x
> eldoc-mode to turn off."
>   (interactive)
>   (eval-when-compile (require 'eldoc))
>   (setq-local eldoc-documentation-function 'hoka-eldoc-help-echo-at-point)
>   (eldoc-mode))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]