From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#6387: 24.0.50; ESC TAB should be bound to `isearch-complete' Date: Thu, 10 Jun 2010 09:34:10 -0700 Message-ID: <17F31C816C46405B851631E028BCA79C@us.oracle.com> References: <87k4q67t6k.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276189183 9816 80.91.229.12 (10 Jun 2010 16:59:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Jun 2010 16:59:43 +0000 (UTC) Cc: 6387@debbugs.gnu.org To: "'Juri Linkov'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 10 18:59:41 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OMl6N-0007L3-HD for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jun 2010 18:59:35 +0200 Original-Received: from localhost ([127.0.0.1]:60163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMl6N-0001Hi-3U for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jun 2010 12:59:35 -0400 Original-Received: from [140.186.70.92] (port=56926 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMl5F-0000o0-NC for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 12:58:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMl5A-0003Od-M2 for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 12:58:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47445) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMl5A-0003OY-Gp for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 12:58:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OMkic-0004hb-De; Thu, 10 Jun 2010 12:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Jun 2010 16:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6387 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6387-submit@debbugs.gnu.org id=B6387.127618767518068 (code B ref 6387); Thu, 10 Jun 2010 16:35:02 +0000 Original-Received: (at 6387) by debbugs.gnu.org; 10 Jun 2010 16:34:35 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMkiB-0004hN-2H for submit@debbugs.gnu.org; Thu, 10 Jun 2010 12:34:35 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMki9-0004hG-SN for 6387@debbugs.gnu.org; Thu, 10 Jun 2010 12:34:34 -0400 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o5AGYKKi019930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 10 Jun 2010 16:34:23 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o5AGYIL1028995; Thu, 10 Jun 2010 16:34:18 GMT Original-Received: from abhmt020.oracle.com by acsmt355.oracle.com with ESMTP id 314461721276187649; Thu, 10 Jun 2010 09:34:09 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 10 Jun 2010 09:34:09 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87k4q67t6k.fsf@mail.jurta.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Thread-Index: AcsIuXZ7NMqtmhDGQCuDKCwbj8JY+AAAS1sg X-Auth-Type: Internal IP X-Source-IP: rcsinet13.oracle.com [148.87.113.125] X-CT-RefId: str=0001.0A090205.4C111411.0163:SCFMA4539811,ss=1,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 10 Jun 2010 12:35:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37671 Archived-At: > > In isearch.el, we have this: > > (define-key map "\M-\t" 'isearch-complete) > > > > We should also have this, so `ESC TAB' works too: > > (define-key map [escape tab] 'isearch-complete) > > I wonder why `ESC C-i' works in isearch, but `ESC TAB' doesn't work. > (There is no special key binding for `ESC C-i' in isearch.) See this comment in the code: ;; To handle local bindings with meta char prefix keys, define ;; another full keymap. This must be done for any other prefix ;; keys as well, one full keymap per char of the prefix key. It ;; would be simpler to disable the global keymap, and/or have a ;; default local key binding for any key not otherwise bound. (let ((meta-map (make-sparse-keymap))) (define-key map (char-to-string meta-prefix-char) meta-map) (define-key map [escape] meta-map)) (define-key map (vector meta-prefix-char t) 'isearch-other-meta-char)