emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Bernt Hansen <bernt@alumni.uwaterloo.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Problem with org-show-todo-tree v5.02
Date: Sat, 14 Jul 2007 07:15:43 +0200	[thread overview]
Message-ID: <f811202c7f0c228946f06a63fddfcd24@science.uva.nl> (raw)
In-Reply-To: <873azrer7b.fsf@gollum.intra.norang.ca>


On Jul 14, 2007, at 2:58, Bernt Hansen wrote:
>
> Okay I think I know what I'm doing wrong here.  For some files I'm
> changing the outline-regexp to something org mode isn't expecting.  
> When
> I visit a *.txt file I change the outline-regexp to
>
>     (setq outline-regexp "\\(?:\\*+\\|=+ \\)")
>
> which I find useful for things like editing asciidoc source files.

You should always set this variable in a buffer-local way:

(set (make-local-variable 'outline-regexp) "\\(?:\\*+\\|=+ \\)")

In fact, I should do this for org-mode, and I am not doing it!
Amazing that this was discovered only now.  Will be fixed in the
next version.

- Carsten

  reply	other threads:[~2007-07-14  6:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-11 16:37 Problem with org-show-todo-tree v5.02 Bernt Hansen
2007-07-12 12:25 ` Carsten Dominik
2007-07-12 14:09   ` Bernt Hansen
2007-07-14  0:58     ` Bernt Hansen
2007-07-14  5:15       ` Carsten Dominik [this message]
2007-07-14 15:31         ` Bernt Hansen

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=f811202c7f0c228946f06a63fddfcd24@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=bernt@alumni.uwaterloo.ca \
    --cc=emacs-orgmode@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).