emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@alumni.uwaterloo.ca>
To: emacs-orgmode@gnu.org
Subject: Re: Problem with org-show-todo-tree v5.02
Date: Fri, 13 Jul 2007 20:58:48 -0400	[thread overview]
Message-ID: <873azrer7b.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: 87vecp1zp4.fsf@gollum.intra.norang.ca

Bernt Hansen <bernt@alumni.uwaterloo.ca> writes:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> I cannot reproduce this.  Can you try to make a small example file
>> and tell us where the cursor is and what the folding state
>> of the buffer is when you call the command?
>>
>> - Carsten
>>
>> On Jul 11, 2007, at 18:37, Bernt Hansen wrote:
>>
>>> Hi Carsten,
>>>
>>> I don't know if this has been reported yet but I didn't find it on the
>>> list...
>>>
>>> After loading the latest version of org-mode I get the following error
>>> when trying to do C-c C-v (org-show-todo_tree)
>>>
>>> "Must keep at least one level of headers"
>>>
>>> v5.01 works so I've reverted to that for now.
>>>
>>> GNU Emacs 22.0.95.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll
>>> bars) of 2007-03-02 on pacem, modified by Debian
>>> Org-mode version 5.02
>>>
>
> I can't reproduce it today either... :/
>
> I'll let you know if it happens again and I'll try to isolate what I did
> that causes this.

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.

After that C-c C-v in an org file gives the error reported above.

Attempting to do org-agenda-list with the above outline-regexp puts
Emacs in an infinite loop (at least I never left it long enough to
finish).  Killing it with C-g and restarting org-mode fixes the problem.
I assume org-mode resets the outline-regexp when it starts.

For now I've stopped changing the outline-regexp.

Regards,
Bernt

  reply	other threads:[~2007-07-14  0:59 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 [this message]
2007-07-14  5:15       ` Carsten Dominik
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=873azrer7b.fsf@gollum.intra.norang.ca \
    --to=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).