rudolfochrist / interleave

Emacs minor mode to interleave notes and text books
329 stars 18 forks source link

Narrowing and widening w/o quiting interleave mode #52

Open ghost opened 6 years ago

ghost commented 6 years ago

I'm copying my original question from #43

Is there a way to control narrowing so it's narrowed by default, but I can still pick at the outline when I need to, w/o quiting interleave-mode?

ghost commented 6 years ago

I've realized I can use widen in interleave buffers. So if interleave-disable-narrowing is not enabld globaly, moving about (Alt-n, Alt-p) will re-narrow the buffer. In this case, it'd be nice to be able to narrow back to the original segment (i.e. toggle narrow/wide).

Maybe a narrow command that records the segment which was active when the buffer was widened.

Hope it makes sense.