Dear list members,

I've read above the discussion about multi-mode and just found a really
simple solution for the task for `brew` files, called:
two-mode-mode<http://www.welton.it/freesoftware/files/two-mode-mode.el>
.

This small `el` file checks for regexp separators and change mode from
"main" mode to "submodes" in a flash if the pointer is between tags. Works
really cool for brew files, I suppose it might be great for knitr/noweb
intergration too.

Best,
Gergely

On Fri, Jun 8, 2012 at 9:50 PM, Vitalie Spinu <spinuvit@gmail.com> wrote:

>
>
>  > Hmmm, I notice that after typing M-n n I have to type M-n t twice to
>  > turn off the narrowing.  Is that normal?
>
>
> No, M-n t is not toggling of narowing. It toggles the follow mode
> (i.e. keeps dynamic narrowing to active code and documentation
> chunks). To toggle narrowing off, use C-x n w (usual 'widen'
> command). C-x n n does narrowing to region.
>
> Vitalie.
>
> ______________________________________________
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

	[[alternative HTML version deleted]]

