[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Strange hiccups when running in server (also: Folding stop
From: |
Martin Pohlack |
Subject: |
Re: [Orgmode] Strange hiccups when running in server (also: Folding stops working) |
Date: |
Wed, 29 Jul 2009 14:34:16 +0200 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090608) |
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)))