GNU bug report logs - #20904
If global-set-key is used to rebind <tab>, searching for a TAB character inserts a TAB

Previous Next

Package: emacs;

Reported by: Fran Litterio <flitterio <at> gmail.com>

Date: Fri, 26 Jun 2015 16:50:03 UTC

Severity: normal

Tags: notabug

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Fran Litterio <flitterio <at> gmail.com>
To: 20904 <at> debbugs.gnu.org
Subject: bug#20904: If global-set-key is used to rebind <tab>, searching for a TAB character inserts a TAB
Date: Fri, 26 Jun 2015 17:00:34 +0000 (UTC)
I <flitterio <at> gmail.com> wrote:

>   2. Evaluate this form:
> 
>      (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).
--
Fran






This bug report was last modified 9 years and 327 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.