[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20904: If global-set-key is used to rebind <tab>, searching for a TA
bug#20904: If global-set-key is used to rebind <tab>, searching for a TAB character inserts a TAB
Fri, 26 Jun 2015 15:42:24 -0400
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
tags 20904 notabug
>> (global-set-key (kbd "<tab>") 'tab-to-tab-stop)
> I have found that changing the above form to:
> (global-set-key (kbd "TAB") 'tab-to-tab-stop)
> avoids the problem (i.e., it allows the global binding of TAB to be
> changed to tab-to-tab-stop and allows searching for a TAB character).
Most of Emacs (including Isearch) gives no special meaning to `tab', and
instead this key is typically remapped to TAB.
So unless you care about the difference between the two, you should
always bind the TAB and not `tab'.