help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Key-binding without minor mode!


From: Phillip Lord
Subject: Re: Key-binding without minor mode!
Date: Mon, 15 Sep 2014 16:58:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Stefan Monnier <address@hidden> writes:
>> org does I think -- it binds tab, and C-i but not "\t".
>
> \C-i is another way to write \t
>
>> (org-defkey org-mode-map "\C-i"       'org-cycle)
>> (org-defkey org-mode-map [(tab)]      'org-cycle)
>
> The second binding looks like a misfeature to me.  You might want to
> report it as a bug.


I'll find out why. They are obviously aware of it, as it breaks
yasnippet at least according to their faq. Although yasnippet binds:


(define-key map [(tab)] 'yas-expand) 
(define-key map (kbd "TAB") 'yas-expand)


I'm really glad that it wasn't just me that was confused!

Phil



reply via email to

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