Hi List, there are dozens of regexps that are set as buffer-local variables when org-mode is turned on as major-mode, but other regexps are defined and set only once as global variables when e.g. org.el is loaded, and the docstring of these variables often reads like this:
,--------------------------------------------------------------- | org-block-regexp is a variable defined in `org.el'. | Its value is [...] | | This variable may be risky if used as a file-local variable. | | Documentation: | Regular expression for hiding blocks. `--------------------------------------------------------------- Why are these variables considered risky when used as a file-local variables? Was this "risk" the prime reason to make them global - or are they global simply because there was no special reason to make them buffer-local? -- cheers, Thorsten