Martin Pohlack wrote:
> Sorry for the noise.
> 
> A local package globally modified outline-heading-end-regexp which broke
> folding via outline-mode.

It wasn't a local package after all: simple-wiki.el is to blame here.

It globally modifies "outline-regexp" and "outline-heading-end-regexp".

For those using simple-wiki.el, please find a patch attached (already
reported upstream).

Cheers,
Martin

PS.: This is probably the same problem as described in an earlier thread
called "Folding stops working".
--- simple-wiki.el.orig	2009-07-29 10:53:26.706233000 +0200
+++ simple-wiki.el	2009-07-07 10:08:02.981394000 +0200
@@ -815,6 +817,8 @@
           (set (make-local-variable (car pair)) (cdr pair))))
 
       (unless (equal simple-wiki-outline-patterns 'none)
+        (make-local-variable 'outline-regexp)
+        (make-local-variable 'outline-heading-end-regexp)
         (setq outline-regexp (car simple-wiki-outline-patterns))
         (setq outline-heading-end-regexp (cdr simple-wiki-outline-patterns)))
 
_______________________________________________
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