Note #2025-12-09-001

Srijan Choudhary Srijan Choudhary

In reply to Make *HNComments* buffer read-only and allow "q" to dismiss. · Issue #12 · thanhvg/emacs-hnreader by GitHub

If I'm to edit any comment text, it'd be after I'd copied into some org-roam / orgrr note for posterity. So I keep wanting to press "q" to get out of the comments view. (org-mode) (read-only-mode 1...

I'm overriding it like this:

    (defun my-hnreader-comments-readonly (dom url)
      (view-mode 1)
      (org-fold-show-all)
      )
    (advice-add
     'hnreader--print-comments
     :after
     'my-hnreader-comments-readonly
     )
Tagged: github emacs