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

On 11.05.2013 22:19, Drew Adams wrote:
>>>> 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.

You asked, I answered. Who's diverting what now?

> 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?

Like I said, the feature is similar, not identical.

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

Yes.

> 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?

It allows to use "word in buffer" and "words in buffers in the same 
mode" as sources of completions, so yes, to an extent. Similarly to 
`dabbrev-expand'.

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

Past sessions? No.



  reply	other threads:[~2013-05-11 18:31 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
2013-05-11 18:31         ` Dmitry Gutov [this message]
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=518E8E93.1010804@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=christopher@ristopher.com \
    --cc=drew.adams@oracle.com \
    --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.