unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Split off some backends from Company?
Date: Wed, 13 Aug 2014 08:38:56 -0400	[thread overview]
Message-ID: <jwvha1gr2kq.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <53EAC60F.6030104@yandex.ru> (Dmitry Gutov's message of "Wed, 13 Aug 2014 05:57:35 +0400")

> Doing that with company-bbdb would be hard, but looks like it'll be obsolete
> as soon as `message-completion-function' starts behaving correctly:
> `message-expand-name-databases' includes `bbdb' by default.

Oh, right, I had forgotten about that one.

>>> Maybe also company-yasnippet.
>> Same here.
> Probably not: using yasnippet as a completion source is a questionable
> decision, which each user should make themselves. It replaces the advertised
> way to interact with yasnippet (type the snippet key, press TAB), and the
> recommended way to use this backend is to group it with others, not by
> itself (think `completion-table-merge' instead of
> `completion-table-in-turn'), so putting it in
> `completion-at-point-functions' would probably be misguided.

I see what you mean, but why does this need another package?
It seems the code could/should be in yasnippet, controlled by
something like a minor-mode.

> Hmm, yes. I guess we could do that if the user explicitly
> installed a backend package.

I think it's "should" rather than "could", because it's important for
the installation to be as straightforward as possible.


        Stefan



  reply	other threads:[~2014-08-13 12:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-11 19:21 Split off some backends from Company? Dmitry Gutov
     [not found] ` <jwva979sonu.fsf-monnier+emacs@gnu.org>
2014-08-13  1:57   ` Dmitry Gutov
2014-08-13 12:38     ` Stefan Monnier [this message]
2014-08-14  2:20       ` Dmitry Gutov
2014-08-14  3:07         ` Stefan Monnier
2014-08-14  4:23           ` Dmitry Gutov

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvha1gr2kq.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).