emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Michael Brand <michael.ch.brand@gmail.com>,
	Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Link "bracket-types"
Date: Sat, 12 May 2018 16:35:02 -0700	[thread overview]
Message-ID: <CAJcAo8u6z5wSdg0PHVpZugm7URbs7ncR-AyDJsScQR9dC3T5fg@mail.gmail.com> (raw)
In-Reply-To: <CAJcAo8tAda4EZF+LzcY_9EKAb76nY4JPP=yqCBzAb4X6rS--6w@mail.gmail.com>

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 <samologist@gmail.com> 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	other threads:[~2018-05-12 23:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-10  6:08 Link "bracket-types" Michael Brand
2018-05-10  8:14 ` Nicolas Goaziou
2018-05-10  8:32   ` Eric S Fraga
2018-05-11 12:34     ` Nicolas Goaziou
2018-05-11 13:20       ` Eric S Fraga
2018-05-10  9:41   ` Michael Brand
2018-05-10 12:44     ` Nicolas Goaziou
2018-05-10 13:23       ` Michael Brand
2018-05-10 13:33         ` Nicolas Goaziou
2018-05-10 14:29           ` Michael Brand
2018-05-10 16:27             ` Nicolas Goaziou
2018-05-10 19:58               ` Samuel Wales
2018-05-12 23:35                 ` Samuel Wales [this message]
2018-05-13 11:10                   ` Eric S Fraga
2018-05-10 19:59               ` Michael Brand
2018-05-11  0:22                 ` Nicolas Goaziou
2018-05-11 13:10                   ` Nicolas Goaziou
2018-05-11 13:55                     ` Michael Brand
2018-05-11 14:15                       ` Nicolas Goaziou
2018-05-12  8:12                         ` Michael Brand
2018-05-17 16:17                           ` Michael Brand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJcAo8u6z5wSdg0PHVpZugm7URbs7ncR-AyDJsScQR9dC3T5fg@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=michael.ch.brand@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).