0

I can add hyperlinks to webpages in the docstring. But is it possible to do the same when writing text in a named buffer?

(defvar msg "URL `https://www.gnu.org/proprietary/proprietary.html'")
(get-buffer-create bufname)
(insert msg)
8
  • Depends on the buffer's mode.
    – NickD
    Jul 28, 2022 at 16:08
  • What would you suggest if I want to make an "about" buffer for a package?
    – Dilna
    Jul 28, 2022 at 16:12
  • Org mode perhaps?
    – NickD
    Jul 28, 2022 at 19:28
  • 1
    Sorry, this site is not for discussions in the comments. You are supposed to ask a question that is answerable. "Is it good..." is not such a question (it invites opinions, rather than facts, which is explicitly frowned upon). And if the question needs many comments to clarify what you are asking, then it did not contain enough detail to begin with.
    – NickD
    Jul 29, 2022 at 2:15
  • 1
    When I voted to close, I meant to say that the question needs details and clarity, not that it lacks focus (although I do think it lacks focus as well, but that's mostly because it veered into a different question in the comments).
    – NickD
    Jul 29, 2022 at 2:18

1 Answer 1

2

Package hyperbole automatically turns plain-text URLs into hyperlinks everywhere in Emacs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.