emacs-hnreader
emacs-hnreader copied to clipboard
implement hnreader-mode
Use a dedicated mode, instead of using org. This way, one may declare hooks, mode variables, etc. in order to customize behavior.
Thanks for the PM, but a major mode is overkill to me. Will a minor mode work for you?
Will a minor mode work for you?
A minor mode would be equivalent to checking HN buffer name from an org hook, and then performing customisation.
The idea of a major mode, built upon org, is having access to a keymap and hooks, from where one might include minor modes to customise experience. This is a more elegant approach, in my opinion, giving a chance to adapt hnreader to one’s needs.
By default, a major with no customisation at user side would be equivalent to what exists now, plain org.