From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Split off some backends from Company? Date: Wed, 13 Aug 2014 08:38:56 -0400 Message-ID: References: <53E917A2.2080409@yandex.ru> <53EAC60F.6030104@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1407933570 20710 80.91.229.3 (13 Aug 2014 12:39:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2014 12:39:30 +0000 (UTC) Cc: emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 13 14:39:23 2014 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 1XHXpp-0006ZV-8e for ged-emacs-devel@m.gmane.org; Wed, 13 Aug 2014 14:39:21 +0200 Original-Received: from localhost ([::1]:47237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHXpm-0004Ff-2z for ged-emacs-devel@m.gmane.org; Wed, 13 Aug 2014 08:39:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHXpc-0004EF-Ur for emacs-devel@gnu.org; Wed, 13 Aug 2014 08:39:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHXpS-0002Er-IN for emacs-devel@gnu.org; Wed, 13 Aug 2014 08:39:08 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:33051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHXpS-0002En-Er for emacs-devel@gnu.org; Wed, 13 Aug 2014 08:38:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVPAqyKr/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgElB6WZYNMIQ X-IPAS-Result: ArUGAIDvNVPAqyKr/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgElB6WZYNMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="86629649" Original-Received: from 192-171-34-171.cpe.pppoe.ca (HELO pastel.home) ([192.171.34.171]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 Aug 2014 08:38:56 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 92D5C6056D; Wed, 13 Aug 2014 08:38:56 -0400 (EDT) In-Reply-To: <53EAC60F.6030104@yandex.ru> (Dmitry Gutov's message of "Wed, 13 Aug 2014 05:57:35 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:173618 Archived-At: > 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