0

Running shr-render-buffer renders the HTML accurately using appropriate faces for different element types and underlines links but clicking on any of the links produces the message:

No link under point.

Any suggestions?

GNU Emacs 28.2 (build 2, x86_64-w64-mingw32) of 2022-10-11

1
  • Works fine here. Did you try starting with emacs -q? If that works, your init file is at fault.
    – NickD
    May 8, 2023 at 17:02

1 Answer 1

0

Using eww instead of shr with this function works:

(defun eww-render-current-buffer ()
  "Render HTML in the current buffer with EWW"
  (interactive)
  (beginning-of-buffer)
  (eww-display-html 'utf8 nil nil nil (current-buffer)))

Your Answer

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

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