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#13708: 24.3.50; icomplete, ido, iswitchb: Replace C-s, C-r with C-. and C-, Date: Thu, 14 Feb 2013 11:19:17 +0200 Organization: JURTA Message-ID: <878v6rs3he.fsf@mail.jurta.org> References: <87vc9ws2nh.fsf@gmail.com> <87621wkvfm.fsf@yandex.ru> <87ehgj5wck.fsf@gmail.com> <511C723A.6030502@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360833887 22103 80.91.229.3 (14 Feb 2013 09:24:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Feb 2013 09:24:47 +0000 (UTC) Cc: 13708@debbugs.gnu.org, Jambunathan K To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 14 10:25:08 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 1U5v3t-0002I7-61 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Feb 2013 10:25:01 +0100 Original-Received: from localhost ([::1]:54042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5v3Z-0004Km-L6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Feb 2013 04:24:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5v3Q-0004JG-Km for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 04:24:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5v3K-0007Xw-QG for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 04:24:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5v3K-0007Xs-My for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 04:24:26 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U5v3u-0002ys-In for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 04:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Feb 2013 09:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13708 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13708-submit@debbugs.gnu.org id=B13708.136083388111404 (code B ref 13708); Thu, 14 Feb 2013 09:25:02 +0000 Original-Received: (at 13708) by debbugs.gnu.org; 14 Feb 2013 09:24:41 +0000 Original-Received: from localhost ([127.0.0.1]:55112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5v3Z-0002xs-4c for submit@debbugs.gnu.org; Thu, 14 Feb 2013 04:24:41 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:46549 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5v3U-0002xR-Vu for 13708@debbugs.gnu.org; Thu, 14 Feb 2013 04:24:38 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id B371B2019ACD24; Thu, 14 Feb 2013 01:23:59 -0800 (PST) In-Reply-To: <511C723A.6030502@yandex.ru> (Dmitry Gutov's message of "Thu, 14 Feb 2013 09:12:26 +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.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:71261 Archived-At: >>> How exactly the default bindings for C-s and C-r are supposed to be used >>> in ido-mode? >> >> I don't know. Just not use C-s and C-r at all. > > What if the user tries to use them? By reflex, or out of > exploratory interest. > > I tried removing the overridded keybindings like you suggested, but C-s > still doesn't really work after that, the interface is half-ido, > half-isearch. That's bad. When I tried removing the overridden keybindings from ido-mode to use the standard isearch keybindings C-s and C-r, I see that they are working fine in ido-mode. But they are less useful in ido-mode, because to start isearch from a certain place, you can't move point to that place, because point movement keys are overridden too: C-a, C-e, left and right arrows all use non-standard keybindings. > So, I'm against removing them. I agree. It's impossible to bring icomplete and ido closer to each other in keybindings because their keybindings are already incompatibly different. For instance, in ido-mode: C-j - selects a partial input C-m - selects a complete candidate But in icomplete they have the opposite meaning: C-j - selects a complete candidate C-m - selects a partial input So it would be better to leave ido/iswitchb keybindings intact. Regarding `C-.' and `C-,' for icomplete-mode, I think that even though they are non-standard, unavailable on ttys and have unintuitive layouts on some keyboards, at least they have one advantage to override none of standard default keybindings.