emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Bug: return key does not show the subtree the first time o


From: Wanrong Lin
Subject: [Orgmode] Re: Bug: return key does not show the subtree the first time on a newly opened org file
Date: Wed, 27 Feb 2008 12:14:10 -0500
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Forgot to mention this:

To reproduce the bug, after opening an org file, don't do anything (don't even move the cursor), just press the return key. I use "session.el", so when I open an org file, the cursor will go to the the position of my last change in the buffer, and I can arrange the point to be on a heading. If you don't use "session.el", here is another way to reproduce the bug:

Open a test org file "test.org" and put the following into it,

* TODO A Test :mytag:
 SCHEDULED: <2008-02-27 Wed>

*Close* the file, do a tag search on "mytag", in the search result press "TAB" key to jump to the "TODO A Test" heading, which should be folded. Press return key and you will see the failure. Do it again and it works.

Wanrong

Wanrong Lin wrote:
Hi,

I have the following in my org-mode configuration:

(setq org-return-follows-link t)

Also, by default my org files are in overview mode (folded) when opened.

Usually, if my cursor is at the beginning of a heading, I can use the return key to cycle the visibility of its subtree. However, this does not work when I open an org file and do it the first time (the return key will just insert a blank line before the heading). But after the first time, it works fine again.

Thanks a lot for looking into this.

Wanrong









reply via email to

[Prev in Thread] Current Thread [Next in Thread]