emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aditya Mandayam <adityams@gmail.com>
To: Michael Markert <markert.michael@googlemail.com>
Cc: "A. Ryan Reynolds" <a.ryan.reynolds@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Ctrl-Tab behaviour
Date: Tue, 26 Jul 2011 14:54:30 -0400	[thread overview]
Message-ID: <CABiTF5NmU6_ROpOhKZ6BzQZVphWQkZVYEqp-SQBKf6uhFpLK_Q@mail.gmail.com> (raw)
In-Reply-To: <87y5zkg9wj.fsf@googlemail.com>

mr markert's first suggestion:

(add-hook 'org-mode-hook (lambda () (local-unset-key (kbd "C-<tab>"))))

works fine, thank you sir.

On Tue, Jul 26, 2011 at 2:43 PM, Michael Markert
<markert.michael@googlemail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 26 Jul 2011, Aditya Mandayam wrote:
>
>> upon mr reynold's recommendation, i tried out:
>>
>> (global-unset-key "\C-tab")
>>
>> in my .emacs between where i instantiate org and swbuff.
>>
>> however, ctrl-tab still does not work when i visit a .org buffer.
>
> Well you disabled the global-binding you set before. You have to unset
> _org's binding_. So it's either (disable on orgmode hook)
>
> (add-hook 'org-mode-hook (lambda () (local-unset-key (kbd "C-<tab>"))))
>
> or (delete from org's keymap)
>
> (eval-after-load "org
>  '(define-key org-mode-map (kbd "C-<tab>") nil))
>
> Michael
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iQIcBAEBCAAGBQJOLwrcAAoJEHHMVUK0UjKVUsEQAKs64LU84lycrUAHxMV+Sqht
> rg7qa0SKUoxG3NgUNzIU9Q9Wg3ZENAuJ2gWtkt1KCWBS5agLe/7AR02QANHQZnIi
> L/Ih5+jvIW82anPd7Ha9+iZLRSLKxsha406xHZURrVxE+l6+f0vyxDEiHyiGd4Op
> VUSVBvq5ToOdyzv4hr1fE/k3Tut+3H3H/Zkbyj1u9inU9yf1nVPIXf0hlSSGu8kp
> cp2NT7cqTbICa9LnkWtwGgq8MKsi7EDGsHp97HpC1+00P2sUHblYKm3lACItOOEa
> jF5O6pGfKYzE0FM/us49zV2R6yBylHniL7cScjf/FciojBl+IVLpt6GSMEPNYWhl
> jpJVApy3PL1UQNziWrCeOuBgsZx50Zd8HLfkTOBMVCWkTVXdppYUv6HTm/b33X/2
> 6ktRupFMOQfKkU/skij5UjV48xoNE1RTHqIoR/TNwvCFCsZ/HKICgRkqCjb2GqPI
> N7foPs8rVbEBr8dPovpnICD+SetyBrs7z1hnkWBhXYl0mPh6JBHIOzT5OHA5DclI
> aBkIakI7KyqTXyLyDYlMtGZO2+ERaiDI5wefXUf6mPPI8+PEhb9qTesdt3Pmfc7h
> q5uZzlgaWHV8yQ50C+hJwVHivSboCbrzRgPM2FaMKpMzERnAfoyQmMGx5Beq4hFm
> ebqKYxwRWVWvEGKnI6B4
> =Lr24
> -----END PGP SIGNATURE-----
>

  reply	other threads:[~2011-07-26 18:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 18:43 Ctrl-Tab behaviour Michael Markert
2011-07-26 18:54 ` Aditya Mandayam [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-25 22:57 Aditya Mandayam
2011-07-25 23:07 ` A. Ryan Reynolds
2011-07-26 18:28   ` Aditya Mandayam
2011-07-26 18:37     ` suvayu ali

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=CABiTF5NmU6_ROpOhKZ6BzQZVphWQkZVYEqp-SQBKf6uhFpLK_Q@mail.gmail.com \
    --to=adityams@gmail.com \
    --cc=a.ryan.reynolds@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=markert.michael@googlemail.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).