From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6387: 24.0.50; ESC TAB should be bound to `isearch-complete' Date: Thu, 10 Jun 2010 15:36:04 -0400 Message-ID: References: <87k4q67t6k.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276199906 17970 80.91.229.12 (10 Jun 2010 19:58:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Jun 2010 19:58:26 +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 21:58:25 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 1OMntP-0007xi-QJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jun 2010 21:58:24 +0200 Original-Received: from localhost ([127.0.0.1]:38166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMntP-00056s-7S for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jun 2010 15:58:23 -0400 Original-Received: from [140.186.70.92] (port=35969 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMntJ-00053l-5Q for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 15:58:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMntH-0003Sa-Uq for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 15:58:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57237) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMntH-0003ST-Ta for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2010 15:58:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OMnYk-00066Y-0B; Thu, 10 Jun 2010 15:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier 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 19:37:01 +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.127619857823455 (code B ref 6387); Thu, 10 Jun 2010 19:37:01 +0000 Original-Received: (at 6387) by debbugs.gnu.org; 10 Jun 2010 19:36:18 +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 1OMnY2-00066G-5R for submit@debbugs.gnu.org; Thu, 10 Jun 2010 15:36:18 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMnY0-00066A-9W for 6387@debbugs.gnu.org; Thu, 10 Jun 2010 15:36:16 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o5AJa4vX009529; Thu, 10 Jun 2010 15:36:05 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 6F9ADB4080; Thu, 10 Jun 2010 15:36:04 -0400 (EDT) In-Reply-To: <87k4q67t6k.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 10 Jun 2010 19:23:31 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3554=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 10 Jun 2010 15:37: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:37678 Archived-At: > 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.) It probably has to do with the fact that isearch uses default-bindings (i.e. bindings to the event gt which stands for "any event"). Such bindings prevent function-key-map (and similar hardcoded key translations such as A -> a, S-left -> left, double-mouse-1 -> mouse-1, ...) from doing its job (since function-key-map is only used if the untranslated sequence has no bindings which never happens thanks to the default binding which always applies). I've tried to change read-key-sequence such that a default binding is only applied *after* function-key-map (or at least that a default binding does not prevent function-key-map translations), but so far this has failed. Stefan