Hi Carsten,

Carsten Dominik wrote:
> I see.
>
> Well, Org does not *visit* the file, so these variables are
> not evaluated. Also, the argument of the #+include line determines
> the major mode, not the local variable setting.
>
> You can hack your way through this by adding a function
> to org-src-mode-hook that will scan for
>
>    mode: outline-minor
>
> and turn it on if found.
>
> I guess I could also consider to fully *visit* an include file,
> to work around these restrictions.  The main reason why I am not
> doing this right now is because the exact same mechanism is used for
> inline examples and include files, and it would be significant
> work to change this.....

I understand the problem. I'll follow your guideline if I wanna fix it.

Best regards,
  Seb

-- 
Sébastien Vauban



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to