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