all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Dmitry Gutov'" <dgutov@yandex.ru>
Cc: 'Christopher Schmidt' <christopher@ristopher.com>, emacs-devel@gnu.org
Subject: RE: completion.el users?
Date: Sat, 11 May 2013 11:19:56 -0700	[thread overview]
Message-ID: <0BA3DA32EEC343739CFE4229CA94FD5B@us.oracle.com> (raw)
In-Reply-To: <87li7lo4p8.fsf@yandex.ru>

> >> 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).




  reply	other threads:[~2013-05-11 18:19 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-10 19:44 completion.el users? Stefan Monnier
2013-05-10 20:50 ` Drew Adams
2013-05-11 12:10 ` Richard Stallman
2013-05-11 14:11   ` Vibhav Pant
2013-05-11 14:23     ` Drew Adams
2013-05-11 15:15       ` Vibhav Pant
2013-05-11 15:09 ` Christopher Schmidt
2013-05-11 15:16   ` Drew Adams
2013-05-11 16:34     ` Dmitry Gutov
2013-05-11 18:19       ` Drew Adams [this message]
2013-05-11 18:31         ` Dmitry Gutov
2013-05-11 19:33           ` Drew Adams
2013-05-11 19:24         ` Christopher Schmidt
2013-05-11 21:16           ` Drew Adams
2013-05-11 22:05             ` Christopher Schmidt
2013-05-11 22:20               ` Drew Adams
2013-05-12  9:09               ` Vitalie Spinu
2013-05-13 17:57   ` T.V. Raman
2013-05-13 17:54 ` T.V. Raman
2013-05-13 18:09   ` Lluís

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0BA3DA32EEC343739CFE4229CA94FD5B@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=christopher@ristopher.com \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.