From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Bug: return key does not show the subtree the first time on a newly opened org file Date: Fri, 29 Feb 2008 01:21:01 +0000 Message-ID: <87ve48eewy.fsf@bzg.ath.cx> References: <47C59703.8020804@gmail.com> <87ir096est.fsf@bzg.ath.cx> <47C61996.5090603@gmail.com> <87lk55ctff.fsf@bzg.ath.cx> <47C6D3E3.8070706@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUtvt-0005Mi-4M for emacs-orgmode@gnu.org; Thu, 28 Feb 2008 20:21:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUtvr-0005MK-K7 for emacs-orgmode@gnu.org; Thu, 28 Feb 2008 20:21:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUtvr-0005MH-Eq for emacs-orgmode@gnu.org; Thu, 28 Feb 2008 20:21:03 -0500 Received: from ug-out-1314.google.com ([66.249.92.169]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUtvr-00027p-AY for emacs-orgmode@gnu.org; Thu, 28 Feb 2008 20:21:03 -0500 Received: by ug-out-1314.google.com with SMTP id a2so40890ugf.48 for ; Thu, 28 Feb 2008 17:21:02 -0800 (PST) In-Reply-To: <47C6D3E3.8070706@gmail.com> (Wanrong Lin's message of "Thu, 28 Feb 2008 10:31:47 -0500") 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: Wanrong Lin Cc: emacs-orgmode@gnu.org Wanrong Lin writes: > Bastien Guerry wrote: >> >> Yes, there is an advice for this in org-mouse.el. >> >> I think we should remove it since org-mouse.el shouldn't change the >> behavior of keystrokes (only the behavior of the mouse.) >> > That probably is true. But I have doubt that removing the advice itself > and bind the key in some other place will really solve the problem. To > me, it seems somehow the first time you open a org-file, some context is > not recognized correctly and hence the key map is not activated. If I > just execute a command, any command (like "C-g" which does nothing), and > then press the return key, it will work. Is that puzzling? :-) It *is* puzzling. I have a fix for this. I'm testing it a few days more and will commit it if it works okay. -- Bastien