From mboxrd@z Thu Jan 1 00:00:00 1970 From: PT Subject: Stuck in a folded section when subtree is folded Date: Sat, 5 Sep 2009 14:05:08 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mjvta-0004zq-V5 for emacs-orgmode@gnu.org; Sat, 05 Sep 2009 10:05:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjvtW-0004zY-Uk for emacs-orgmode@gnu.org; Sat, 05 Sep 2009 10:05:38 -0400 Received: from [199.232.76.173] (port=39890 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjvtW-0004zV-PN for emacs-orgmode@gnu.org; Sat, 05 Sep 2009 10:05:34 -0400 Received: from lo.gmane.org ([80.91.229.12]:43074) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MjvtW-0000be-3g for emacs-orgmode@gnu.org; Sat, 05 Sep 2009 10:05:34 -0400 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MjvtT-00019D-B2 for emacs-orgmode@gnu.org; Sat, 05 Sep 2009 16:05:31 +0200 Received: from dsl51B79287.pool.t-online.hu ([81.183.146.135]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Sep 2009 16:05:31 +0200 Received: from spamfilteraccount by dsl51B79287.pool.t-online.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Sep 2009 16:05:31 +0200 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 If a header has some text content under it and the cursor is in the text then pressing TAB folds the content, but it doesn't change the cursor position, so the cursor is stuck in the folded part and, for example, beginning-of-line doesn't work, you can only get out from the folded part if you press cursor up/down Isn't it a bug? If I stand on a header which has only subheaders under it and I press TAB then the subtree is folded and the cursor is put back to the beginning of the header line apparently to avoid leaving the cursor in the folded part which is a nice gesture. Shouldn't the same happen when textual content is folded?