emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mode keybinding conflicts with user keybinding : C-tab
@ 2010-12-26 16:22 Michel Briand
  2010-12-26 21:22 ` Michael Brand
  0 siblings, 1 reply; 3+ messages in thread
From: Michel Briand @ 2010-12-26 16:22 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

for many years I'm using C-tab bounded to 'other-window.

Org-mode binds this key (control tab), however I would like to keep my
own binding for this key.

I've investigated in "Org Disputed Keys", enabling
org-replace-disputed-keys and adding :

([(control tab)] . [(meta control tab)])

at the end of the org-disputed-keys list.

But this does not work. My C-tab binding is working in all buffers
except the Org-mode one.

Best regards,
Michel

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

* Re: org-mode keybinding conflicts with user keybinding : C-tab
  2010-12-26 16:22 org-mode keybinding conflicts with user keybinding : C-tab Michel Briand
@ 2010-12-26 21:22 ` Michael Brand
  2010-12-27  0:06   ` Michel Briand
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Brand @ 2010-12-26 21:22 UTC (permalink / raw)
  To: Michel Briand; +Cc: emacs-orgmode

Hi Michel Briand

On Sun, Dec 26, 2010 at 17:22, Michel Briand <michelbriand@free.fr> wrote:
> for many years I'm using C-tab bounded to 'other-window.
>
> Org-mode binds this key (control tab), however I would like to keep my
> own binding for this key.
>
> I've investigated in "Org Disputed Keys", enabling
> org-replace-disputed-keys and adding :
>
> ([(control tab)] . [(meta control tab)])

This is most likely not the smartest solution but at least I expect it
to do what you want:
(org-defkey org-mode-map (kbd "<C-tab>") 'other-window)
(org-defkey org-mode-map (kbd "<M-C-tab>") 'org-force-cycle-archived)

Michael Brand

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

* Re: org-mode keybinding conflicts with user keybinding : C-tab
  2010-12-26 21:22 ` Michael Brand
@ 2010-12-27  0:06   ` Michel Briand
  0 siblings, 0 replies; 3+ messages in thread
From: Michel Briand @ 2010-12-27  0:06 UTC (permalink / raw)
  To: Michael Brand; +Cc: emacs-orgmode


Michael Brand <michael.ch.brand@gmail.com> - Sun, 26 Dec 2010 22:22:14
+0100

>Hi Michel Briand
>
>On Sun, Dec 26, 2010 at 17:22, Michel Briand <michelbriand@free.fr> wrote:
>> for many years I'm using C-tab bounded to 'other-window.
>>
>> Org-mode binds this key (control tab), however I would like to keep my
>> own binding for this key.
>>
>> I've investigated in "Org Disputed Keys", enabling
>> org-replace-disputed-keys and adding :
>>
>> ([(control tab)] . [(meta control tab)])
>
>This is most likely not the smartest solution but at least I expect it
>to do what you want:
>(org-defkey org-mode-map (kbd "<C-tab>") 'other-window)
>(org-defkey org-mode-map (kbd "<M-C-tab>") 'org-force-cycle-archived)

I had to unset "Org Replace Disputed Keys"...

It works !

Thank you very much Michael Brand

Michel

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

end of thread, other threads:[~2010-12-27  0:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-26 16:22 org-mode keybinding conflicts with user keybinding : C-tab Michel Briand
2010-12-26 21:22 ` Michael Brand
2010-12-27  0:06   ` Michel Briand

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