From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanrong Lin Subject: Bug: return key does not show the subtree the first time on a newly opened org file Date: Wed, 27 Feb 2008 11:59:47 -0500 Message-ID: <47C59703.8020804@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUPdQ-0008Dr-3x for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 12:00:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUPdO-0008CH-Ay for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 11:59:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUPdO-0008C3-52 for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 11:59:58 -0500 Received: from an-out-0708.google.com ([209.85.132.242]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUPdN-0004fk-Sb for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 11:59:57 -0500 Received: by an-out-0708.google.com with SMTP id c25so560189ana.84 for ; Wed, 27 Feb 2008 08:59:57 -0800 (PST) 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: emacs-orgmode@gnu.org 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