From: Carsten Dominik <dominik@science.uva.nl>
To: thomas.baumann@ch.tum.de
Cc: emacs-orgmode@gnu.org
Subject: Re: outline-magic incompatible with org-mode
Date: Mon, 13 Mar 2006 09:59:56 +0100 [thread overview]
Message-ID: <1366943dd9696b16ade1100b70e42776@science.uva.nl> (raw)
In-Reply-To: <32727.1142234441@mafu.ws.chemie.tu-muenchen.de>
For those of you who don't know, outline-magic is an older package that
adds visibility cycling and structure editing to outline-mode and
outline-minor-mode. All this stuff is already in org-mode. I guess
you are using to get cycling support in other modes?
outline-magic modifies the keymap of outline-mode. Since org-mode is
derived from outline-mode, it inherits all those keybindings, and then
overwrites them where needed.
The problem here seems to be that org.el does not explicitly bind TAB
to org-cycle. The only binding for org-cycle currently is C-i. If TAB
is not bound otherwise, that binding gets passed through from C-i to
TAB, but if there is an explicit binding for TAB, it takes precedence.
Could you try if it helps to add
(define-key org-mode-map [(tab)] 'org-cycle)
somewhere near the end of org.el?
- Carsten
On Mar 13, 2006, at 8:20, Thomas Baumann wrote:
>
> It took me a while to get the reason for this strange behaviour of TAB
> in
> org-mode on my computer:
>
> TAB worked fine in folding and unfolding the headings, but failed
> otherwise. C-i worked flawlessly in all situations.
>
> The reason for loosing the context sensitive behaviour of TAB was a
> concurring key-binding in outline-magic, which I still use in lengthy
> documents.
>
> In outline-magic TAB is bound to outline-cycle, whereas org-mode binds
> <tab> to org-cycle. TAB and <tab> are different keys, therefore in
> a standard setup most of the intuitive behaviour of org-mode gets lost.
>
> Not a common situation but maybe one can patch outline-magic or
> org-mode.
>
> Greetings
> Thomas
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
next prev parent reply other threads:[~2006-03-13 9:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-13 7:20 outline-magic incompatible with org-mode Thomas Baumann
2006-03-13 8:59 ` Carsten Dominik [this message]
2006-03-13 10:06 ` Thomas Baumann
2006-03-13 10:20 ` Carsten Dominik
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=1366943dd9696b16ade1100b70e42776@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=thomas.baumann@ch.tum.de \
/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).