From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dont.spam.earl@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Looking for universal completion with simple UI Date: Fri, 17 Oct 2014 08:18:08 -0700 (PDT) Message-ID: <0a28d84a-6aa4-4cf7-95a7-7741e0a3a2ae@googlegroups.com> References: <6e3bbb36-8bdb-476a-9924-ead2536e702a@googlegroups.com> 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 1413559225 14069 80.91.229.3 (17 Oct 2014 15:20:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2014 15:20:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 17 17:20: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 1Xf9KF-0006Eo-HG for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Oct 2014 17:20:19 +0200 Original-Received: from localhost ([::1]:32962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf9KE-0000QJ-Vt for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Oct 2014 11:20:18 -0400 X-Received: by 10.236.229.193 with SMTP id h61mr6200804yhq.40.1413559089060; Fri, 17 Oct 2014 08:18:09 -0700 (PDT) X-Received: by 10.50.20.198 with SMTP id p6mr422092ige.10.1413559088958; Fri, 17 Oct 2014 08:18:08 -0700 (PDT) Original-Path: usenet.stanford.edu!s7no3407469qap.0!news-out.google.com!rp1ni32382igb.0!nntp.google.com!uq10no12530689igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <6e3bbb36-8bdb-476a-9924-ead2536e702a@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=207.198.105.21; posting-account=QyAvTQoAAADtRdvZ5VbKTpUdY2nZ1GFk Original-NNTP-Posting-Host: 207.198.105.21 User-Agent: G2/1.0 Injection-Date: Fri, 17 Oct 2014 15:18:08 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:208202 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:100478 Archived-At: Eric, Tu, thanks for the pointers to Helm and the documentation! On Tuesday, October 7, 2014 10:42:14 PM UTC-7, Tu, Do wrote: > 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: >=20 > > Hi all, >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > I'm posting to ask about a completion model I have in mind. Before I co= de it up myself I'm trying to find any packages that already implement most= or all of this functionality. >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > The Emacs Wiki Category page for Completion lists packages for minibuff= er completion and text completion: >=20 > >=20 >=20 > > http://www.emacswiki.org/emacs/CategoryCompletion >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > I want a package for completion both INSIDE and OUTSIDE of the minibuff= er with a universal UI: >=20 > >=20 >=20 > > - Minibuffer Input Completion: >=20 > >=20 >=20 > > - finding files >=20 > >=20 >=20 > > - switching buffers >=20 > >=20 >=20 > > - apropos for functions and variables >=20 > >=20 >=20 > > - and any other minibuffer history lists >=20 > >=20 >=20 > > - Text Completion in a Buffer: >=20 > >=20 >=20 > > - code completion >=20 > >=20 >=20 > > - executables/commands at a comint prompt >=20 > >=20 >=20 > > - i-searching in the current buffer >=20 > >=20 >=20 > > - cycling through killed text for yanking >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > Further, I want to navigate via a couple "dimensions" of context, both = historical (previous inputs I've entered), and alphabetical (previous and n= ext alphabetically, as in files in a directory). >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > The UI model and keybindings for this might be as simple as: >=20 > >=20 >=20 > > - show prefix candidates with TAB >=20 > >=20 >=20 > > - show substring candidates with S-TAB >=20 > >=20 >=20 > > - with candidates already shown, the second TAB/S-TAB would select the = first candidate >=20 > >=20 >=20 > > - navigate candidates alphabetically with C-r, C-s >=20 > >=20 >=20 > > - navigate candidates historically with C-p, C-n >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > Do any packages implement this already? >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > Thanks, >=20 > >=20 >=20 > > Earl >=20 >=20 >=20 > I wrote a Helm guide here: http://tuhdo.github.io/helm-intro.html . A lot= of demos are in there.=20 >=20 >=20 >=20 > Here is code completion using Helm: http://tuhdo.github.io/static/c-ide/s= emantic-boost-demo.gif . The picture is in C/C++ guide: http://tuhdo.github= .io/c-ide.html . Visit the page for more demos.