Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-28 Thread Wanrong Lin
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. Look forward to it. Although I am trying to get into the habit of using TAB, it won't hurt to have the old way working too. Thanks a lot. Wanrong

Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-28 Thread Bastien Guerry
Wanrong Lin <[EMAIL PROTECTED]> 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

Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-28 Thread Wanrong Lin
Yes, this is really an accidental feature by a sequence of events: org-return-follow-link will add org-return to the mouse-map org-mouse.el will activate the stars in a headline I can reproduce the bug, but I have no idea what is causing this, it must be something in the internal setup of Em

Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-28 Thread Wanrong Lin
Bastien Guerry wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: Yes, but only with this setting will key be added to the "org-mouse-map" key map, and be bound to "org-open-at-point" command under certain contexts (like on the leading stars of a heading). Further, "org-open-at-point" is ad

Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-28 Thread Bastien Guerry
Carsten Dominik <[EMAIL PROTECTED]> writes: >> Yes, but only with this setting will key be added to the >> "org-mouse-map" key map, and be bound to "org-open-at-point" command >> under certain contexts (like on the leading stars of a heading). >> Further, "org-open-at-point" is advised by org-mou

Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-27 Thread Carsten Dominik
On Feb 28, 2008, at 3:16 AM, Wanrong Lin wrote: Bastien wrote: Wanrong Lin <[EMAIL PROTECTED]> writes: I have the following in my org-mode configuration: (setq org-return-follows-link t) This is about following links, no (un)folding subtrees... Yes, but only with this setting will ke

Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-27 Thread Wanrong Lin
Bastien wrote: Wanrong Lin <[EMAIL PROTECTED]> writes: I have the following in my org-mode configuration: (setq org-return-follows-link t) This is about following links, no (un)folding subtrees... Yes, but only with this setting will key be added to the "org-mouse-map" key map,

Re: [Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-27 Thread Bastien
Wanrong Lin <[EMAIL PROTECTED]> writes: > I have the following in my org-mode configuration: > > (setq org-return-follows-link t) This is about following links, no (un)folding subtrees... > Usually, if my cursor is at the beginning of a heading, I can use the > return key to cycle the visibility

[Orgmode] Bug: return key does not show the subtree the first time on a newly opened org file

2008-02-27 Thread Wanrong Lin
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, th