From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#15200: isearch-other-meta-char and shift Date: Wed, 28 Aug 2013 19:42:28 +0300 Organization: JURTA Message-ID: <877gf5rcoz.fsf@mail.jurta.org> References: <8761urkssh.fsf@mail.jurta.org> <87fvtvgk00.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1377708258 13769 80.91.229.3 (28 Aug 2013 16:44:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Aug 2013 16:44:18 +0000 (UTC) Cc: 15200@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 28 18:44:19 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VEiqw-0005Yq-A6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Aug 2013 18:44:18 +0200 Original-Received: from localhost ([::1]:37375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEiqv-00074o-Sj for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Aug 2013 12:44:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEiqm-000726-K3 for bug-gnu-emacs@gnu.org; Wed, 28 Aug 2013 12:44:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEiqg-0007o7-LU for bug-gnu-emacs@gnu.org; Wed, 28 Aug 2013 12:44:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEiqg-0007o1-Hx for bug-gnu-emacs@gnu.org; Wed, 28 Aug 2013 12:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VEiqg-0007CC-4R for bug-gnu-emacs@gnu.org; Wed, 28 Aug 2013 12:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Aug 2013 16:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15200 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15200-submit@debbugs.gnu.org id=B15200.137770820227600 (code B ref 15200); Wed, 28 Aug 2013 16:44:02 +0000 Original-Received: (at 15200) by debbugs.gnu.org; 28 Aug 2013 16:43:22 +0000 Original-Received: from localhost ([127.0.0.1]:33674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VEiq2-0007B5-AM for submit@debbugs.gnu.org; Wed, 28 Aug 2013 12:43:22 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:47449 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VEipz-0007Aw-KV for 15200@debbugs.gnu.org; Wed, 28 Aug 2013 12:43:20 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 61CB2258B9E935; Wed, 28 Aug 2013 09:43:17 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Tue, 27 Aug 2013 20:27:18 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:77786 Archived-At: > My hope is that these kinds of problems would all disappear if we > re-implemented isearch using set-temporary-overlay-map, which would save > us from having to re-read events. After installing small fixes I'm not closing this report while trying to re-implement it using set-temporary-overlay-map. IIUC, the biggest challenge is to add a new argument to set-temporary-overlay-map that will define a predicate to decide whether this-command-keys should be applied to key bindings of the overriding temporary map or passed through to other less specific keymaps. This predicate is necessary when the decision to select a keymap to apply keys depends on a property put on a bound command's symbol like isearch-scroll properties. Such a predicate could be implemented as a hook-like variable or with the help of add-function like is used now for isearch-filter-predicate. Then additional predicates could be added to the almost empty default function isearch-other-control-char.