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: Thu, 29 Aug 2013 09:49:47 +0300 Organization: JURTA Message-ID: <87wqn53sac.fsf@mail.jurta.org> References: <8761urkssh.fsf@mail.jurta.org> <87fvtvgk00.fsf@mail.jurta.org> <877gf5rcoz.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1377759375 20638 80.91.229.3 (29 Aug 2013 06:56:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Aug 2013 06:56:15 +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 Thu Aug 29 08:56:17 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 1VEw9R-0001iZ-Ge for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Aug 2013 08:56:17 +0200 Original-Received: from localhost ([::1]:40805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEw9R-0005i9-28 for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Aug 2013 02:56:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEw9I-0005i1-P6 for bug-gnu-emacs@gnu.org; Thu, 29 Aug 2013 02:56:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEw9C-0002qF-PO for bug-gnu-emacs@gnu.org; Thu, 29 Aug 2013 02:56:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEw9C-0002q9-ME for bug-gnu-emacs@gnu.org; Thu, 29 Aug 2013 02:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VEw9B-0004tx-UJ for bug-gnu-emacs@gnu.org; Thu, 29 Aug 2013 02:56: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: Thu, 29 Aug 2013 06:56:01 +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.137775932718781 (code B ref 15200); Thu, 29 Aug 2013 06:56:01 +0000 Original-Received: (at 15200) by debbugs.gnu.org; 29 Aug 2013 06:55:27 +0000 Original-Received: from localhost ([127.0.0.1]:34967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VEw8b-0004sq-QH for submit@debbugs.gnu.org; Thu, 29 Aug 2013 02:55:26 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:41204 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VEw8V-0004sY-GE for 15200@debbugs.gnu.org; Thu, 29 Aug 2013 02:55:20 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 5838F258B9E935; Wed, 28 Aug 2013 23:55:16 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Wed, 28 Aug 2013 14:33:29 -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:77795 Archived-At: >> 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. > > Not sure I understand. Why do we need to look at this-command-keys? > Are you keeping the default [t] binding in isearch-mode-map, maybe? > That would defeat the purpose of using set-temporary-overlay-map, > I think. Hmm, I can't imagine how to keep the isearch-allow-scroll feature and other conditional exiting features like search-exit-option without keeping the default [t] binding in isearch-mode-map to the function like the current isearch-other-meta-char where these conditions can be checked. Maybe the arg KEEP-PRED set-temporary-overlay-map can be used to decide whether to exit Isearch and apply the key sequence to global keymaps?