From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Niessen Newsgroups: gmane.emacs.devel Subject: Re: Making completion more interactive Date: Wed, 10 Dec 2014 22:24:07 +0100 Organization: My Googlest Message-ID: <86lhmfgpvs.fsf@example.com> References: <87egs7b5h4.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1418246692 24594 80.91.229.3 (10 Dec 2014 21:24:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Dec 2014 21:24:52 +0000 (UTC) To: emacs-devel-mXXj517/zsQ@public.gmane.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org-mXXj517/zsQ@public.gmane.org Wed Dec 10 22:24:46 2014 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 1XyokW-0002v6-Cm for ged-emacs-devel@m.gmane.org; Wed, 10 Dec 2014 22:24:44 +0100 Original-Received: from localhost ([::1]:48079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyokV-0002Df-VS for ged-emacs-devel@m.gmane.org; Wed, 10 Dec 2014 16:24:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyokN-0002Bh-3s for emacs-devel-mXXj517/zsQ@public.gmane.org; Wed, 10 Dec 2014 16:24:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyokG-0001fK-TC for emacs-devel-mXXj517/zsQ@public.gmane.org; Wed, 10 Dec 2014 16:24:35 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:47417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyokG-0001fA-Lm for emacs-devel-mXXj517/zsQ@public.gmane.org; Wed, 10 Dec 2014 16:24:28 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XyokF-0002mA-IV for emacs-devel-mXXj517/zsQ@public.gmane.org; Wed, 10 Dec 2014 22:24:27 +0100 Original-Received: from ip-83-101-44-240.customer.schedom-europe.net ([83.101.44.240]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Dec 2014 22:24:27 +0100 Original-Received: from fni-news by ip-83-101-44-240.customer.schedom-europe.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Dec 2014 22:24:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet-dbVV3NMTNubNLxjTenLetw@public.gmane.org X-Gmane-NNTP-Posting-Host: ip-83-101-44-240.customer.schedom-europe.net X-Url: http://www.MyGooglest.com/fni X-Archive: encrypt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) Cancel-Lock: sha1:pNu4Pj48jpEwt/Gh9UDRZrJvKgQ= 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-mXXj517/zsQ@public.gmane.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-mXXj517/zsQ@public.gmane.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.devel:179707 Archived-At: =C3=93scar Fuentes wrote: > Tom writes: > >> Modern completion systems usually show completions >> automatically. You just type and the completions are shown. This >> is how it works in various applications, google, etc. > > Yes, it's hideous :-) > > However, some packages like company-mode do nor require to press a key > to show the completion candidates, it works like you describe. I think a trade-off would make a lot of sense: - display (in gray or whatever) the potential completion, when there is only _one_ candidate left (that is: no menu) - display the potential candidates in the menu (when there are more than one) only when explicitly asked by the user (when pressing TAB, for example). This would be between "always displays completions" and "only display them on TAB"... Best regards, Fabrice --=20 Fabrice Niessen Leuven, Belgium http://www.pirilampo.org/