From: Wanrong Lin <wrglin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: 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 [thread overview]
Message-ID: <47C59A62.1090300@gmail.com> (raw)
In-Reply-To: <47C59703.8020804@gmail.com>
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
>
>
>
>
next prev parent reply other threads:[~2008-02-27 17:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-27 16:59 Bug: return key does not show the subtree the first time on a newly opened org file Wanrong Lin
2008-02-27 17:14 ` Wanrong Lin [this message]
2008-02-28 1:38 ` Bastien
2008-02-28 2:16 ` Wanrong Lin
2008-02-28 6:42 ` Carsten Dominik
2008-02-28 9:38 ` Bastien Guerry
2008-02-28 15:31 ` Wanrong Lin
2008-02-29 1:21 ` Bastien Guerry
2008-02-29 2:25 ` Wanrong Lin
2008-02-28 20:09 ` Wanrong Lin
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=47C59A62.1090300@gmail.com \
--to=wrglin@gmail.com \
--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).