Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] implement something like link-hint-display-link #214

Open
greg-minshall opened this issue Jan 30, 2023 · 0 comments
Open

Comments

@greg-minshall
Copy link

greg-minshall commented Jan 30, 2023

sometimes, one would just like to see what the underlying link is. some sort of link-hint-display-link might be nice.

here's something that doesn't really do the right thing (and doesn't actually use the infrastructure link-hint.el provides), but gives an idea. i could try to flush this out, if of interest.

(defun link-hint-display-link ()
      "Display a visible link of a supported type."
      (interactive)
      (require 'link-hint)
      (avy-with link-hint-display-link
        (let* ((link-hint-types (link-hint--valid-types :copy))
               (links (link-hint--get-links))
               link)
          (when links
            (setq link (link-hint--process links))
            (when link
              (message "link: %s" (plist-get link ':args)))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants