From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#13602: 24.3.50; remove bindings for `icomplete-minibuffer-map' - make a separate mode Date: Tue, 05 Feb 2013 02:04:45 +0400 Message-ID: <5110307D.3070908@yandex.ru> References: <65EEA895D8A0443A859A780AB233146E@us.oracle.com> <87halsxr3q.fsf@yandex.ru> <7C3C252294774DB79419E50757D7D7EB@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360015503 8845 80.91.229.3 (4 Feb 2013 22:05:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Feb 2013 22:05:03 +0000 (UTC) Cc: 13602@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 04 23:05:24 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 1U2UAF-00058B-B8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Feb 2013 23:05:23 +0100 Original-Received: from localhost ([::1]:51052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2U9w-00012s-En for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Feb 2013 17:05:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2U9q-0000zj-Oj for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2013 17:05:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U2U9n-0007xY-Q5 for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2013 17:04:58 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2U9n-0007xQ-MS for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2013 17:04:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U2UAr-0002gj-NY for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2013 17:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Feb 2013 22:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13602 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13602-submit@debbugs.gnu.org id=B13602.136001555610322 (code B ref 13602); Mon, 04 Feb 2013 22:06:01 +0000 Original-Received: (at 13602) by debbugs.gnu.org; 4 Feb 2013 22:05:56 +0000 Original-Received: from localhost ([127.0.0.1]:36467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2UAl-0002gR-NY for submit@debbugs.gnu.org; Mon, 04 Feb 2013 17:05:56 -0500 Original-Received: from mail-la0-f44.google.com ([209.85.215.44]:36639) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2UAi-0002gG-UL for 13602@debbugs.gnu.org; Mon, 04 Feb 2013 17:05:54 -0500 Original-Received: by mail-la0-f44.google.com with SMTP id eb20so5126565lab.3 for <13602@debbugs.gnu.org>; Mon, 04 Feb 2013 14:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=z3gCXN1iL5h4+SMYn9qjopYvjDFcmzJg47nN+UzRcVI=; b=vY/xUc/CIPQtq894xoAA3tnFq3KOfqMztyM44qi5dA4FUUjPwhDbH5iMC/uSZWQX5g TaJpaI3XqfdOJmOVrkZCVuOK97SyDarRrBSZeTtS/ZzTuzT1cgg/1UMiO5fT6rkZEks2 hDY6vWTPSDgFUenwc6vQA+dmWGkTlwNujp/+OlCzAlanSzbrr5yFu73WlLM4UfZKtVv7 qKbLSTfIEMpKs68zaykK9c4vh3Bg2ecPwcXGBUbiGAFL1UxUmMxZwPLQZEFylXrn7fbD O3XBtqZ6Y9kVKVvjjODg8kwq1tBcKzTF57mqslsCpevT/Py6/Eo6ef7Mavs2RpnUPb0q fdBg== X-Received: by 10.112.42.103 with SMTP id n7mr8624422lbl.52.1360015484991; Mon, 04 Feb 2013 14:04:44 -0800 (PST) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id gi3sm9761453lab.7.2013.02.04.14.04.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 14:04:43 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <7C3C252294774DB79419E50757D7D7EB@us.oracle.com> 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:70703 Archived-At: On 04.02.2013 20:16, Drew Adams wrote: >>> Icomplete mode is general, for use with all minibuffers, >>> whatever the kind of input being done (kind of completion >>> or input without completion, etc.). >> >> No, it's not, it's only used in specific cases. >> For example, icomplete is not used in minibuffer during >> eval-expression. > > Nitpicking. Completion. That should have been understood from the context: "I > _complete_" mode. Icompletion is about completion contexts. It's in the name, but not in your statement above. As such, your statement was false. You also mentioned "input without completion", whatever that is. My point is, as long as ido and icomplete are used in completion situations, and they're used to complete relatively short things, they obviate the need for all three commands you're complaining about. Searching back and forward though a short input string is quite useless, and `minibuffer-complete' essentially conflicts with the main function of ido and icomplete: show the available candidates inline. >>> Let users bind them if they like. >> >> I'd like to comment on this as a ido-mode user. > > Great. But please recognize that not all Emacs users use Ido. And it is not > even the default minibuffer behavior for Emacs. And it is not even described in > the Emacs manual. Is icomplete described in the Emacs manual? > IOW, your parochial point of view is of course welcome and relevant, but please > don't mistake it for how users in general view using the minibuffer. I'm well-aware how Emacs looks and works by default, thank you very much. It also has a rich ecosystems with packages modifying its behavior every which way, according to user needs and whims. >>> In particular: C-s and C-r are used to search minibuffer >>> text (e.g. move >> >> Instead of searching though the already entered text, > > ("Already entered" does not necessarily mean typed, BTW.) Yes. Slightly less useless in this case, but this is a rare one, naturally. >> this behavior allows you to "search" through the candidates. > > Yes, I know. So what? The point is that this substitutes the original, normal, > usual behavior of those keys with another behavior. icomplete is off by default, so no user is forced to use the non-default behavior. > You should not just assume, because you are an Ido enthusiast, that all users > now want to switch to an Ido-like behavior for keys they have been able to use > otherwise. Do I come across as a five-year-old or something? >> this strikes me as more appropriate. > > So in your case you would opt in to use the keys. What's the problem? (Though > as an Ido user you really do not need Icomplete at all, do you?) I don't. But you can make most of the same arguments in the context of ido-mode, can't you? > You should get your way, for your own use. Another user should be able to get > the longstanding Icomplete behavior, for her own use. ...maybe except this one. How long ago has this "longstanding" behavior changed? > It should be easy for each to get the behavior preferred, and even to switch to > the other behavior. > > This is trivial to implement. What so much resistance to giving users the > choice? Why so much insistence on bending Icomplete to be Ido-like for all? > Users are free to use Ido if they like. Where's the beef? I believe most of the resistance is against your suggestion that the minor mode with modified keybindings should be off by default. If you hide nice things from users, some portion of users with never find them. So, it hurts discoverability.