From: Bastien Guerry <Bastien.Guerry@ens.fr>
To: Wanrong Lin <wanrong.lin@gmail.com>
Cc: emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <87ve48eewy.fsf@bzg.ath.cx> (raw)
In-Reply-To: <47C6D3E3.8070706@gmail.com> (Wanrong Lin's message of "Thu, 28 Feb 2008 10:31:47 -0500")
Wanrong Lin <wanrong.lin@gmail.com> 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
next prev parent reply other threads:[~2008-02-29 1:21 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
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 [this message]
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=87ve48eewy.fsf@bzg.ath.cx \
--to=bastien.guerry@ens.fr \
--cc=emacs-orgmode@gnu.org \
--cc=wanrong.lin@gmail.com \
/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).