emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
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: Thu, 28 Feb 2008 07:42:45 +0100	[thread overview]
Message-ID: <CA359919-ECF6-4CCE-8946-9BAC589834ED@science.uva.nl> (raw)
In-Reply-To: <47C61996.5090603@gmail.com>


On Feb 28, 2008, at 3:16 AM, Wanrong Lin wrote:

> Bastien wrote:
>> Wanrong Lin <wanrong.lin@gmail.com> 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 <return> 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-mouse.el, which will  
> do "org-cycle" under certain contexts.

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 Emacs keymaps in a new buffer,
I have no idea how to fix this or work around it.

Why in the world would you use RET for cycling instead of TAB?

- Carsten

>
>>> Usually, if my cursor is at the beginning of a heading, I can use  
>>> the
>>> return key to cycle the visibility of its subtree.
>>
>> AFAIK, <RET> doesn't (un)fold a subtree.  Maybe you mean the <TAB>  
>> key?
>> I guess I'm missing something...
>>
>>
> I did meant return key. See my comments above.
>
> Thanks for your comments.
>
> Wanrong
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2008-02-28  7:46 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 [this message]
2008-02-28  9:38       ` Bastien Guerry
2008-02-28 15:31         ` Wanrong Lin
2008-02-29  1:21           ` Bastien Guerry
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=CA359919-ECF6-4CCE-8946-9BAC589834ED@science.uva.nl \
    --to=dominik@science.uva.nl \
    --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).