Read-only buffer?
seagle0128 opened this issue · comments
Hi , thanks for this great package!
I am curious why the buffer *How Do You*
is not readonly. Is there any other reason?
No strong reason, I have some custom navigation commands that won't run on read only mode.
Also editable buffer can be useful for users who want to edit it and save.
IMO, if the buffer is readonly, it's easy to add navigation commands and keybindings (like n
, p
, q
, etc.)
If the users want to edit and save the buffer, just use C-x C-q
.
Another suggestion is creating a new major mode which is derived from org-mode
to handle the result buffers.
That's what the original howdoi
does: derived mode and read only buffer.
I don't want to create a derived mode. My idea is getting a free ride on org-mode
power. Uses enjoy all the customization they are having with their own config. Also default navigation commands in org-mode
are already very good.
I agree that having extra commands and read only also makes sense. But to my knowledge without a derived mode it would be hard to have a command bound to a specific buffer. If you or anyone knows how please let me know.