emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Diego Zamboni <diego@zzamboni.org>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Viewing link information
Date: Mon, 9 Nov 2020 23:15:13 +0100	[thread overview]
Message-ID: <CAGY83Ec0Jp40Q1V-jjfePq91HBA6VD1RsnFGzF3yCv5gVGxtWA@mail.gmail.com> (raw)
In-Reply-To: <20201030161437.GE28730@maokai>

[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]

Hi Russell,

I am using Doom Emacs, and in its default Org configuration it does exactly
that: the link target is shown in the minibuffer after a brief delay, when
the cursor is on the link. A bit of investigation reveals that it's using
org-eldoc. This seems to be the code responsible for it:


  (defadvice! +org-display-link-in-eldoc-a (&rest _)
    "Display full link in minibuffer when cursor/mouse is over it."
    :before-until #'org-eldoc-documentation-function
    (when-let (link (org-element-property :raw-link (org-element-context)))
      (format "Link: %s" link)))


On Fri, Oct 30, 2020 at 5:15 PM Russell Adams <RLAdams@adamsinfoserv.com>

> Are there other ways to view information about an org link that I
> don't list below?
>  - M-x org-insert-link, the prompts for link and description show the
>    current values. Requires interacting with the prompts.
>  - Switch to fundamental mode
>  - M-x org-toggle-link-display
> Are there ways to see this information live while navigating? Maybe on
> the modeline, or messages?
> ------------------------------------------------------------------
> Russell Adams                            RLAdams@AdamsInfoServ.com
> PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/
> Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

[-- Attachment #2: Type: text/html, Size: 2216 bytes --]

      parent reply	other threads:[~2020-11-09 22:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-30 16:14 Viewing link information Russell Adams
2020-10-30 16:38 ` Garjola Dindi
2020-10-30 16:48 ` Greg Minshall
2020-10-31  2:47 ` Maxim Nikulin
2020-11-09 17:05 ` ian martins
2020-11-10 16:42   ` Maxim Nikulin
2020-11-09 22:15 ` Diego Zamboni [this message]

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=CAGY83Ec0Jp40Q1V-jjfePq91HBA6VD1RsnFGzF3yCv5gVGxtWA@mail.gmail.com \
    --to=diego@zzamboni.org \
    --cc=emacs-orgmode@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).