From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs completion matches selection UI Date: Fri, 22 Nov 2013 09:36:20 +0200 Message-ID: <8338moevm3.fsf@gnu.org> References: <87fvqtg02v.fsf@flea.lifelogs.com> <877gc5fm30.fsf@flea.lifelogs.com> <87k3g47m7b.fsf@yandex.ru> <528B6F11.7070607@yandex.ru> <87y54ke8v3.fsf@flea.lifelogs.com> <87li0kdrsz.fsf@flea.lifelogs.com> <878uwi8t3r.fsf@mail.jurta.org> <83ob5ee7ow.fsf@gnu.org> <87d2ltl2if.fsf@mail.jurta.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1385105788 31503 80.91.229.3 (22 Nov 2013 07:36:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Nov 2013 07:36:28 +0000 (UTC) Cc: josh@foxtail.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 22 08:36:30 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VjlHx-0004G0-Qn for ged-emacs-devel@m.gmane.org; Fri, 22 Nov 2013 08:36:29 +0100 Original-Received: from localhost ([::1]:37326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjlHx-0001NE-El for ged-emacs-devel@m.gmane.org; Fri, 22 Nov 2013 02:36:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjlHq-0001MB-Dh for emacs-devel@gnu.org; Fri, 22 Nov 2013 02:36:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjlHl-00085d-Sf for emacs-devel@gnu.org; Fri, 22 Nov 2013 02:36:22 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:59543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjlHl-00085T-KN for emacs-devel@gnu.org; Fri, 22 Nov 2013 02:36:17 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MWN00D00MD2Q300@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Fri, 22 Nov 2013 09:36:16 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MWN00DXFMGFHGB0@a-mtaout21.012.net.il>; Fri, 22 Nov 2013 09:36:16 +0200 (IST) In-reply-to: <87d2ltl2if.fsf@mail.jurta.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165540 Archived-At: > From: Juri Linkov > Cc: josh@foxtail.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Fri, 22 Nov 2013 02:10:48 +0200 > > >> > Many people access `previous-history-element' in the minibuffer through > >> > the up arrow, so I hope it is not commandeered for this purpose. > >> > >> The web browsers solve this problem by combining completions for > >> history and suggestions in the same list (separated by a horizontal line). > > > > The problem with that is that the resulting list is frustratingly > > long. > > The browsers put the most frequently visited history items at the top. And therein lies the problem: I frequently cannot locate the history item I need in that list. > As I see icomplete does the same when displaying completions in the > minibuffer. So items could be sorted either by frequency or by recency > in the *Completions* buffer as well. That only solves part of the use cases. My typical history even for a single day is very long, and will many times defeat these strategies. We need to have a solution for such situations, which I believe is not uncommon in Emacs uses.