From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tu, Do" Newsgroups: gmane.emacs.help Subject: Re: Looking for universal completion with simple UI Date: Tue, 7 Oct 2014 22:42:14 -0700 (PDT) Message-ID: <6e3bbb36-8bdb-476a-9924-ead2536e702a@googlegroups.com> References: 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 1412747124 16213 80.91.229.3 (8 Oct 2014 05:45:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2014 05:45:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 07:45:20 2014 Return-path: Envelope-to: geh-help-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 1Xbk3q-0006zL-GW for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2014 07:45:18 +0200 Original-Received: from localhost ([::1]:34144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xbk3q-00024N-3I for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2014 01:45:18 -0400 X-Received: by 10.182.246.195 with SMTP id xy3mr5457353obc.45.1412746934894; Tue, 07 Oct 2014 22:42:14 -0700 (PDT) X-Received: by 10.50.79.201 with SMTP id l9mr281512igx.5.1412746934813; Tue, 07 Oct 2014 22:42:14 -0700 (PDT) Original-Path: usenet.stanford.edu!uq10no6218083igb.0!news-out.google.com!rp1ni22143igb.0!nntp.google.com!uq10no6218074igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=14.161.14.188; posting-account=c2AWuQoAAACA36o69JJJEmXY5MOg4YNp Original-NNTP-Posting-Host: 14.161.14.188 User-Agent: G2/1.0 Injection-Date: Wed, 08 Oct 2014 05:42:14 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:208058 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100334 Archived-At: V=C3=A0o 03:26:36 UTC+7 Th=E1=BB=A9 hai, ng=C3=A0y 06 th=C3=A1ng m=C6=B0=E1= =BB=9Di n=C4=83m 2014, dont.sp...@gmail.com =C4=91=C3=A3 vi=E1=BA=BFt: > Hi all, >=20 >=20 >=20 > I'm posting to ask about a completion model I have in mind. Before I code= it up myself I'm trying to find any packages that already implement most o= r all of this functionality. >=20 >=20 >=20 > The Emacs Wiki Category page for Completion lists packages for minibuffer= completion and text completion: >=20 > http://www.emacswiki.org/emacs/CategoryCompletion >=20 >=20 >=20 > I want a package for completion both INSIDE and OUTSIDE of the minibuffer= with a universal UI: >=20 > - Minibuffer Input Completion: >=20 > - finding files >=20 > - switching buffers >=20 > - apropos for functions and variables >=20 > - and any other minibuffer history lists >=20 > - Text Completion in a Buffer: >=20 > - code completion >=20 > - executables/commands at a comint prompt >=20 > - i-searching in the current buffer >=20 > - cycling through killed text for yanking >=20 >=20 >=20 > Further, I want to navigate via a couple "dimensions" of context, both hi= storical (previous inputs I've entered), and alphabetical (previous and nex= t alphabetically, as in files in a directory). >=20 >=20 >=20 > The UI model and keybindings for this might be as simple as: >=20 > - show prefix candidates with TAB >=20 > - show substring candidates with S-TAB >=20 > - with candidates already shown, the second TAB/S-TAB would select the fi= rst candidate >=20 > - navigate candidates alphabetically with C-r, C-s >=20 > - navigate candidates historically with C-p, C-n >=20 >=20 >=20 > Do any packages implement this already? >=20 >=20 >=20 > Thanks, >=20 > Earl I wrote a Helm guide here: http://tuhdo.github.io/helm-intro.html . A lot o= f demos are in there.=20 Here is code completion using Helm: http://tuhdo.github.io/static/c-ide/sem= antic-boost-demo.gif . The picture is in C/C++ guide: http://tuhdo.github.i= o/c-ide.html . Visit the page for more demos.