From: Boruch Baum <boruch_baum@gmx.com>
To: 42484@debbugs.gnu.org
Cc: Bastien <bzg@gnu.org>, "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
Subject: bug#42484: 26.1: org-mode should display value of links in mini-buffer
Date: Mon, 12 Oct 2020 09:11:56 -0400 [thread overview]
Message-ID: <20201012131156.srz2ym3fvq4q4mbl@E15-2016.optimum.net> (raw)
In-Reply-To: <20200723035629.7jg2pd2mhqjowvh4@E15-2016.optimum.net>
This turned out to be so suspiciously trivial, it may well be a bug-fix
rather than a feature request. The org-mode code-base had already been
setting the 'help-echo property for links, etc. in over a dozen places
across several files, so there was clearly at one point an intention to
do something with the property, but I don't see it being used *anywhere*,
just defined. My guess is that at some point, this feature existed and
got removed, but I don't have the resources (full git and email
histories) to do that research.
Here's an example implementation of the fix:
#+BEGIN_SRC emacs-lisp
(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
(message(get-text-property (point) 'help-echo))))
(add-hook 'post-command-hook 'my-org-mode-post-command-hook t t)
#+END_SRC
If you want me to re-submit this as a formal patch with a NEWS entry,
let me know. The org developers may also have some other implementation
they prefer, or some other buffer-local hook they would prefer to use.
On 2020-09-06 10:21, Bastien wrote:
> Hi Boruch,
>
> Boruch Baum <boruch_baum@gmx.com> writes:
> Can you suggest this feature to the Org list at emacs-orgmode@gnu.org?
> Such "electric" display could sure be useful, but I would like to get
> feedback from other Org contributors and users before accepting a
> patch.
Done, with only one response evincing any interest (see below).
> I'm closing this as this is not an Emacs bug.
See paragraph #1, above
From: Kévin Le Gouguec <kevin.legouguec@gmail.com>
To: Boruch Baum <boruch_baum@gmx.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bzg@gnu.org: Re: bug#42484: 26.1: org-mode should
display value
of links in mini-buffer]
That would be very welcome, IMO. FWIW, markdown-mode does that (when
markup is hidden) using ElDoc; cf. markdown-eldoc-function.
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
next prev parent reply other threads:[~2020-10-12 13:11 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-23 3:56 bug#42484: 26.1: org-mode should display value of links in mini-buffer Boruch Baum
2020-09-06 8:21 ` Bastien
2020-09-09 18:42 ` Boruch Baum
2020-09-10 5:40 ` Bastien
2020-10-12 13:11 ` Boruch Baum [this message]
2020-10-12 14:34 ` bug#42484: Please re-open this issue Boruch Baum
2020-10-12 15:57 ` Bastien
2020-12-06 10:46 ` bug#42484: Updated patch Boruch Baum
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
[not found] ` <CAJcAo8sLb5ug=6X4uK5fbqyUr+i4wOmNmWuzo7X9t4DN=3EN_Q@mail.gmail.com>
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201012131156.srz2ym3fvq4q4mbl@E15-2016.optimum.net \
--to=boruch_baum@gmx.com \
--cc=42484@debbugs.gnu.org \
--cc=bzg@gnu.org \
--cc=kevin.legouguec@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.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).