emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martin Pohlack <mp26@os.inf.tu-dresden.de>
To: emacs-orgmode@gnu.org
Subject: Re: Strange hiccups when running in server (also: Folding stops working)
Date: Wed, 29 Jul 2009 14:34:16 +0200	[thread overview]
Message-ID: <4A7041C8.7050603@os.inf.tu-dresden.de> (raw)
In-Reply-To: <4A53075C.1020607@os.inf.tu-dresden.de>

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

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".

[-- Attachment #2: buf_local.diff --]
[-- Type: text/x-patch, Size: 511 bytes --]

--- 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)))
 

[-- Attachment #3: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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	other threads:[~2009-07-29 12:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-06 16:42 Strange hiccups when running in server Martin Pohlack
2009-07-07  8:29 ` Martin Pohlack
2009-07-29 12:34   ` Martin Pohlack [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A7041C8.7050603@os.inf.tu-dresden.de \
    --to=mp26@os.inf.tu-dresden.de \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Strange hiccups when running in server (also: Folding stops working)' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).