From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#25318: 24.5; Put `M-s' on a prefix keymap in Isearch Date: Sat, 31 Dec 2016 20:56:49 -0800 (PST) Message-ID: <90141ff6-2325-447e-b77f-2f9d940a24aa@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1483246691 4491 195.159.176.226 (1 Jan 2017 04:58:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 1 Jan 2017 04:58:11 +0000 (UTC) To: 25318@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 01 05:58:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNYDe-0000WW-C3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jan 2017 05:58:06 +0100 Original-Received: from localhost ([::1]:46210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNYDi-0006YS-BU for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Dec 2016 23:58:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNYDd-0006YM-CS for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 23:58:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNYDa-0007WG-96 for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 23:58:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cNYDa-0007WB-5R for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 23:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cNYDZ-00039n-T2 for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 23:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Jan 2017 04:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25318 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148324664812092 (code B ref -1); Sun, 01 Jan 2017 04:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Jan 2017 04:57:28 +0000 Original-Received: from localhost ([127.0.0.1]:33611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNYD2-00038y-Ku for submit@debbugs.gnu.org; Sat, 31 Dec 2016 23:57:28 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNYD0-00038i-FW for submit@debbugs.gnu.org; Sat, 31 Dec 2016 23:57:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNYCt-00076G-Of for submit@debbugs.gnu.org; Sat, 31 Dec 2016 23:57:20 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38176) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cNYCt-000764-Lk for submit@debbugs.gnu.org; Sat, 31 Dec 2016 23:57:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNYCs-0006Wu-Ie for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 23:57:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNYCp-00071g-EQ for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 23:57:18 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:46630) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cNYCp-0006z9-4Q for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 23:57:15 -0500 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v014v90P015980 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 1 Jan 2017 04:57:10 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v014v8Zq008821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 1 Jan 2017 04:57:09 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v014v5Sq019069 for ; Sun, 1 Jan 2017 04:57:07 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:127654 Archived-At: Currently, `isearch-mode-map' has a number of key sequences bound in it that begin with prefix-key `M-s': M-s C-e=09=09isearch-yank-line M-s SPC=09=09isearch-toggle-lax-whitespace M-s '=09=09isearch-toggle-char-fold M-s _=09=09isearch-toggle-symbol M-s c=09=09isearch-toggle-case-fold M-s e=09=09isearch-edit-string M-s i=09=09isearch-toggle-invisible M-s o=09=09isearch-occur M-s r=09=09isearch-toggle-regexp M-s w=09=09isearch-toggle-word M-s h r=09=09isearch-highlight-regexp And 3rd-party libraries have added more such `M-s ...' keys. But there is no keymap for prefix-key `M-s'. There should be. Please put all of the `M-s' prefixed keys on a separate, prefix-key keymap, which itself is on `isearch-mode-map'. Since these keys do not form any _specific_ grouping, I'd propose a name for the keymap such as `isearch-misc-map' (better than nothing). This will let users and other libraries move the prefix keymap to a different prefix key if they want, or define `M-s C-h' to show only the bindings on prefix `M-s', and so on. As it stands now, a 3rd-party library cannot do what this bug report requests, because there are likely other libraries, which may be loaded before it, and which bind `M-s ' directly in `isearch-mode-map' AFTER the prefix map has been placed on `isearch-mode-map). In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/usr --host=3Di686-pc-mingw32'