From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Emacs completion matches selection UI Date: Wed, 20 Nov 2013 12:52:31 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8761rndkps.fsf@flea.lifelogs.com> 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> <87d2lveu6x.fsf@flea.lifelogs.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384969933 14837 80.91.229.3 (20 Nov 2013 17:52:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2013 17:52:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 20 18:52:16 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 1VjBwj-0005Q2-8S for ged-emacs-devel@m.gmane.org; Wed, 20 Nov 2013 18:52:13 +0100 Original-Received: from localhost ([::1]:56233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjBwi-0004mq-VC for ged-emacs-devel@m.gmane.org; Wed, 20 Nov 2013 12:52:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjBwb-0004mi-4F for emacs-devel@gnu.org; Wed, 20 Nov 2013 12:52:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjBwV-0005MG-PR for emacs-devel@gnu.org; Wed, 20 Nov 2013 12:52:05 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjBwV-0005M7-IP for emacs-devel@gnu.org; Wed, 20 Nov 2013 12:51:59 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VjBwN-0005EP-5l for emacs-devel@gnu.org; Wed, 20 Nov 2013 18:51:51 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Nov 2013 18:51:51 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Nov 2013 18:51:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:2isyHY2udEEchhsH2AQfDkao4m8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:165441 Archived-At: On Tue, 19 Nov 2013 22:22:27 -0500 Stefan Monnier wrote: >> That, and to also highlight the portion of the selected entry that >> matches if the match is partial. SM> Hmm... don't we do that already? Not from in-buffer completion AFAICT. Yes from minibuffer completion. >> Good points, I don't know what's the best approach here. SM> We can start with: `up' goes to the last displayed line of the SM> *Completions* buffer (on the assumption that it's displayed above the SM> minibuffer) and `down' goes to the first displayed line. On Wed, 20 Nov 2013 07:57:35 -0800 Josh wrote: J> Many people access `previous-history-element' in the minibuffer through J> the up arrow, so I hope it is not commandeered for this purpose. Instead, J> what about entering the mode from the minibuffer via C-f and right arrow, J> but only when the point is at the minibuffer's point-max (i.e. when J> `forward-char' would currently complain "End of buffer")? Besides being J> less disruptive for users than changing the behavior of , using J> C-f/ for this purpose has the mnemonic benefit of suggesting J> "go beyond what I've typed". WDYT? After thinking about it, I agree with Josh. Proposal: 1) in minibuffer completion: `right' or `C-f' at minibuffer point-max enters completion candidates buffer (where then `up' and `down' are remapped, we have the user captive) `left' in the completion candidates buffer goes back to the minibuffer 2) in-buffer completion: enter completion candidates buffer immediately (where then `up' and `down' are remapped, we have the user captive). Make it easy to get out and back to the original buffer. Ted