emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-wiki-discuss] Prevent the TAB & SHIFT-TAB Keybinding?


From: Jim Ottaway
Subject: Re: [emacs-wiki-discuss] Prevent the TAB & SHIFT-TAB Keybinding?
Date: Fri, 13 May 2005 21:57:31 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

>>>>> Raymond Zeitler <address@hidden> writes:

> I prefer that Planner / Emacs-Wiki not bind TAB and SHIFT-TAB to next
> reference and previous reference, respectively.  Is there a way in my
> .emacs to prevent the keybinding from taking place?  Or do I have to
> keep commenting out those keybinding statements every time I upgrade?

How about something like:

(add-hook 'emacs-wiki-mode-hook
  #'(lambda ()
     (define-key 'emacs-wiki-mode-map [tab] 'indent-for-tab-command)
     (define-key 'emacs-wiki-mode-map [S-tab] 
'whatever-you-want-shift-tab-to-do)))

? 

[completely untested]


-- 
Jim Ottaway




reply via email to

[Prev in Thread] Current Thread [Next in Thread]