[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42484: Updated patch
From: |
Boruch Baum |
Subject: |
bug#42484: Updated patch |
Date: |
Sun, 6 Dec 2020 05:46:40 -0500 |
User-agent: |
NeoMutt/20180716 |
I've been using my solution over the last month+, but with a
modification for cases of links with embedded percent signs. That
happens when for instance a URL wasnt to have an embedded space or other
character. The result is that the elisp function 'message' misinterprets
that as a format field.
(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
(ignore-errors
(message "%s" (url-unhex-string (get-text-property (point) 'help-echo))
nil t))))
(add-hook 'org-mode-hook 'my-org-mode-hook)
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#42484: Updated patch,
Boruch Baum <=