emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: emacs-orgmode@gnu.org
Subject: Re: Display in minibuffer link under point
Date: Mon, 11 May 2020 11:53:06 -0400	[thread overview]
Message-ID: <m2imh2mpst.fsf@andrew.cmu.edu> (raw)
In-Reply-To: <87ftc7eqbt.fsf@pc-117-162.ovh.com>

org-ref doesn't do anything fancy here, it just runs an idle timer:

https://github.com/jkitchin/org-ref/blob/master/org-ref-core.el#L597

that runs a function defined at
https://github.com/jkitchin/org-ref/blob/master/org-ref-core.el#L3633

that function is kind of long because it computes the message, and only
in specific contexts.

Garjola Dindi <garjola@garjola.net> writes:

> Hi,
>
> Thanks both of you for your answers.
>
> What would be the way to automatically trigger =display-local-help= when the point is on the link? Org-ref does that beautifully ;)
>
> Thanks again.
>
> Garjola
>
> On Fri 08-May-2020 at 22:48:37 +02, John Kitchin <jkitchin@andrew.cmu.edu> wrote:
>> It looks like that variable is obsolete now since Emacs 24.1, and (tooltip-mode -1) is probably the way to get the same thing now.
>>
>> John
>>
>> -----------------------------------
>> Professor John Kitchin
>> Doherty Hall A207F
>> Department of Chemical Engineering
>> Carnegie Mellon University
>> Pittsburgh, PA 15213
>> 412-268-7803
>> @johnkitchin
>> http://kitchingroup.cheme.cmu.edu
>>
>> On Fri, May 8, 2020 at 1:18 PM briangpowell . <briangpowellms@gmail.com> wrote:
>>
>>  I use this variable to toggle my Gnu Emacs Org-Mode buffer into an audio desktop:
>>
>>  (setq tooltip-use-echo-area (not tooltip-use-echo-area))
>>
>>  Of course I had to do some programming to do that but the above should get you started
>>
>>  And we can leave that programming as an exercise for the class--right Dr. Kitchin?
>>
>>  ;-)
>>
>>  On Fri, May 8, 2020 at 9:19 AM John Kitchin <jkitchin@andrew.cmu.edu> wrote:
>>
>>  M-x display-local-help might do it.
>>
>>  John
>>
>>  -----------------------------------
>>  Professor John Kitchin
>>  Doherty Hall A207F
>>  Department of Chemical Engineering
>>  Carnegie Mellon University
>>  Pittsburgh, PA 15213
>>  412-268-7803
>>  @johnkitchin
>>  http://kitchingroup.cheme.cmu.edu
>>
>>  On Fri, May 8, 2020 at 9:15 AM Garjola Dindi <garjola@garjola.net> wrote:
>>
>>  Hi,
>>
>>  Is there a way to display in the minibuffer the URL of the link under
>>  the point in the same way as when the mouse pointer is over the link?
>>
>>  Thanks!
>>
>>  Garjola
>>  --


--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


  reply	other threads:[~2020-05-11 15:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-08 13:11 Garjola Dindi
2020-05-08 13:16 ` John Kitchin
2020-05-08 17:18   ` briangpowell .
2020-05-08 20:48     ` John Kitchin
2020-05-10 15:56       ` Garjola Dindi
2020-05-11 15:53         ` John Kitchin [this message]
2020-05-16 16:07           ` Garjola Dindi

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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2imh2mpst.fsf@andrew.cmu.edu \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Display in minibuffer link under point' \
    /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

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).