patient StackExchange,
I am learning org-mode and liking its header-folding capacities, which seem much easier than outline-minor-mode. Most of my work is done in markdown mode, though, so I am trying (and failing) to set up outshine (from MELPA) in order to get org-like folding and restructuring.
Here is the weird (to me) behavior: with no change to my .emacs
(other than MELPA's adding to package-selected-packages
), it seems that when I load a markdown file, I can get the tab-folding behavior. This is weird since C-h m
does not show outshine mode (but it does show outline-minor-mode, which my .emacs
loads with hooks to text-mode etc). But I don't get any restructuring commands - when I hit alt-down, for example, I get <M-down> is undefined
.
But if I manually load outshine in the markdown buffer, or load it with hooks in .emacs
, then none of the folding works - and it seems that's because outline-regexp
has suddenly changed to an asterisk-based one rather than a #-based one.
So my main questions:
- How do I get outshine to leave markdown's
outline-regexp
alone? - Should I replace outline-minor-mode hooks in my
.emacs
with hooks to outshine, or add outshine hooks in addition to the outline-minor-mode ones? - Outshine is supposed to also be able to do restructuring with like and such, right?
Thanks in advance, as always, for your time & attention.
outline-minor-mode
replacement, so if you call for it, change tooutshine-mode
. Sounds like modes clashing.