emacs-orgmode
[Top][All Lists]
Advanced

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

bug#42484: 26.1: org-mode should display value of links in minibuffer


From: Boruch Baum
Subject: bug#42484: 26.1: org-mode should display value of links in minibuffer
Date: Wed, 9 Dec 2020 09:17:01 -0500
User-agent: NeoMutt/20180716

This update improves the solution so that it doesn't step on other
minibuffer echo-area messages when it has nothing to report

(defun my-org-mode-post-command-hook ()
  "Show POINT's \"help-echo\" information in the echo area.
This could be information about an org-link at POINT, or some other data."
  (let ((message-log-max) ; suppress output to *Messages* buffer
        (msg (get-text-property (point) 'help-echo)))
    (when msg
      (ignore-errors
        (message "%s" (url-unhex-string msg) nil t)))))

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0





reply via email to

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