From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: Link "bracket-types" Date: Sat, 12 May 2018 16:35:02 -0700 Message-ID: References: <87a7t8q64z.fsf@nicolasgoaziou.fr> <87603vr86w.fsf@nicolasgoaziou.fr> <87mux7prcw.fsf@nicolasgoaziou.fr> <87a7t7pjb2.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHe2c-00035A-E2 for emacs-orgmode@gnu.org; Sat, 12 May 2018 19:35:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHe2b-0008Uy-MI for emacs-orgmode@gnu.org; Sat, 12 May 2018 19:35:06 -0400 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:40507) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fHe2b-0008Ud-F0 for emacs-orgmode@gnu.org; Sat, 12 May 2018 19:35:05 -0400 Received: by mail-lf0-x229.google.com with SMTP id p85-v6so12865082lfg.7 for ; Sat, 12 May 2018 16:35:04 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Michael Brand , Org Mode 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 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))