emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Ctrl-Tab behaviour
@ 2011-07-25 22:57 Aditya Mandayam
  2011-07-25 23:07 ` A. Ryan Reynolds
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mandayam @ 2011-07-25 22:57 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I use swbuff with Ctrl-Tab and Ctrl-Shift-Tab bound to cycle between
active buffers. I additionally use some regex to skip all internal
buffers.

Now this behaviour breaks when I visit a buffer with a .org file. How
can I fix this?

Thanks,

-A

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Ctrl-Tab behaviour
@ 2011-07-26 18:43 Michael Markert
  2011-07-26 18:54 ` Aditya Mandayam
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Markert @ 2011-07-26 18:43 UTC (permalink / raw)
  To: Aditya Mandayam; +Cc: A. Ryan Reynolds, emacs-orgmode

-----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-----

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-07-26 18:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-25 22:57 Ctrl-Tab behaviour Aditya Mandayam
2011-07-25 23:07 ` A. Ryan Reynolds
2011-07-26 18:28   ` Aditya Mandayam
2011-07-26 18:37     ` suvayu ali
  -- strict thread matches above, loose matches on Subject: below --
2011-07-26 18:43 Michael Markert
2011-07-26 18:54 ` Aditya Mandayam

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).