unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Fran Litterio <flitterio@gmail.com>
To: 20904@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)	[thread overview]
Message-ID: <loom.20150626T185826-924@post.gmane.org> (raw)
In-Reply-To: <loom.20150626T184435-44@post.gmane.org>

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







  reply	other threads:[~2015-06-26 17:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 16:48 bug#20904: If global-set-key is used to rebind <tab>, searching for a TAB character inserts a TAB Fran Litterio
2015-06-26 17:00 ` Fran Litterio [this message]
2015-06-26 19:42   ` Stefan Monnier
2015-06-26 20:32   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20150626T185826-924@post.gmane.org \
    --to=flitterio@gmail.com \
    --cc=20904@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).