From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: completion.el users? Date: Sat, 11 May 2013 11:19:56 -0700 Message-ID: <0BA3DA32EEC343739CFE4229CA94FD5B@us.oracle.com> References: <87vc6p8sdi@ch.ristopher.com> <87li7lo4p8.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368296415 27600 80.91.229.3 (11 May 2013 18:20:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 May 2013 18:20:15 +0000 (UTC) Cc: 'Christopher Schmidt' , emacs-devel@gnu.org To: "'Dmitry Gutov'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 11 20:20:14 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 1UbEOz-0005Au-Np for ged-emacs-devel@m.gmane.org; Sat, 11 May 2013 20:20:13 +0200 Original-Received: from localhost ([::1]:60723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbEOy-00015P-VP for ged-emacs-devel@m.gmane.org; Sat, 11 May 2013 14:20:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbEOt-00012s-2d for emacs-devel@gnu.org; Sat, 11 May 2013 14:20:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbEOr-0004IU-95 for emacs-devel@gnu.org; Sat, 11 May 2013 14:20:07 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:18781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbEOr-0004GE-1f for emacs-devel@gnu.org; Sat, 11 May 2013 14:20:05 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r4BIK1Nl013542 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 11 May 2013 18:20:02 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r4BIK1hm008156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 11 May 2013 18:20:01 GMT Original-Received: from abhmt104.oracle.com (abhmt104.oracle.com [141.146.116.56]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r4BIK1qN026463; Sat, 11 May 2013 18:20:01 GMT Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 11 May 2013 11:20:00 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87li7lo4p8.fsf@yandex.ru> thread-index: Ac5OZXh21x50PmJGSuWgpwxV+DhpDwABdwlg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:159514 Archived-At: > >> I think auto-complete-mode is superior to completion.el. > > > > Does it do what completion.el does (and more)? > > It has a similar feature: > http://auto-complete.org/doc/manual.html#candidate-suggestion 1. Is auto-complete-mode part of Emacs? I don't think so. Let's not divert the thread, if not. The question is whether Emacs already contains a reasonable replacement for completion.el. 2. Looking at the auto-complete-mode doc and demo, it's not clear to me that it is comparable to completion.el. It certainly does many things that completion.el does not do. (It is also quite large - multiple directories and files.) But I don't see that a-c-m actually does what completion.el does. Can you confirm that it does? I understand that you can create a dictionary for a-c-m of terms you use. And I understand that a-c-m does lots of useful things wrt completing programming entities that it knows about. And it records the counts and use times of _completions_ that you use. But what about the completion.el use case? Does a-c-m record ordinary words (as well as programming constructs) that you type and thus consider them future completion candidates? IOW, does simply typing text, or moving the cursor over text, suffice to turn the words typed or traversed into completion candidates? That is the feature that completion.el provides. I did not see that expressed in the auto-complete-mode doc or demo. E.g., if you were writing an essay or some documentation, does hitting a key complete a word that you start typing, based on words you have used previously (including during past sessions)? From the doc I couldn't tell. That is what completion.el does well. Please read the complete Commentary of completion.el (which is just a bit more than what I posted).