From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Problem with org-show-todo-tree v5.02 Date: Sat, 14 Jul 2007 07:15:43 +0200 Message-ID: References: <871wfe3nh5.fsf@gollum.intra.norang.ca> <42955bb027794afb9fe2a5cfb883104a@gmail.com> <87vecp1zp4.fsf@gollum.intra.norang.ca> <873azrer7b.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I9ap3-0000mi-OL for emacs-orgmode@gnu.org; Sat, 14 Jul 2007 02:09:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I9ap3-0000mM-12 for emacs-orgmode@gnu.org; Sat, 14 Jul 2007 02:09:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9ap2-0000m3-3N for emacs-orgmode@gnu.org; Sat, 14 Jul 2007 02:09:40 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I9ap1-0007lj-OS for emacs-orgmode@gnu.org; Sat, 14 Jul 2007 02:09:39 -0400 In-Reply-To: <873azrer7b.fsf@gollum.intra.norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: emacs-orgmode@gnu.org 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