emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Boruch Baum <boruch_baum@gmx.com>
To: 42484@debbugs.gnu.org
Subject: bug#42484: Updated patch
Date: Sun, 6 Dec 2020 05:46:40 -0500	[thread overview]
Message-ID: <20201206104640.jvr7njf3qcz3gnib@E15-2016.optimum.net> (raw)
In-Reply-To: <20200723035629.7jg2pd2mhqjowvh4@E15-2016.optimum.net>

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
  (let ((message-log-max)) ; suppress output to *Messages* buffer
      (message "%s" (url-unhex-string (get-text-property (point) 'help-echo)) nil t))))

(add-hook 'org-mode-hook 'my-org-mode-hook)

CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

       reply	other threads:[~2020-12-06 10:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200723035629.7jg2pd2mhqjowvh4@E15-2016.optimum.net>
2020-12-06 10:46 ` Boruch Baum [this message]
2020-12-09 14:17 ` bug#42484: 26.1: org-mode should display value of links in minibuffer Boruch Baum
2021-01-11 18:54 ` bug#42484: 26.1: org-mode should display value of links in mini-buffer Juri Linkov
2021-01-12  9:45   ` Boruch Baum
2021-01-12 18:40     ` Juri Linkov
2021-01-13  5:40       ` Boruch Baum
2021-01-13 18:03         ` Juri Linkov
2021-01-13 21:18           ` Samuel Wales
2021-01-13 21:21             ` Samuel Wales
2021-01-13 21:22               ` Samuel Wales
2021-01-14  9:10             ` Juri Linkov
2021-01-14 21:02               ` Samuel Wales

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:

  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=20201206104640.jvr7njf3qcz3gnib@E15-2016.optimum.net \
    --to=boruch_baum@gmx.com \
    --cc=42484@debbugs.gnu.org \


* 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


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).