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: Emacs completion matches selection UI Date: Sun, 05 Jan 2014 23:03:45 -0500 Message-ID: References: <20140106023943.GA31643@c3po> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1388981039 12960 80.91.229.3 (6 Jan 2014 04:03:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jan 2014 04:03:59 +0000 (UTC) Cc: emacs-devel@gnu.org, Toby Cubitt , Dmitry Gutov To: Toby Cubitt Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 06 05:04:05 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 1W01Q4-0003is-JC for ged-emacs-devel@m.gmane.org; Mon, 06 Jan 2014 05:04:04 +0100 Original-Received: from localhost ([::1]:60540 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W01Q4-0004Ou-75 for ged-emacs-devel@m.gmane.org; Sun, 05 Jan 2014 23:04:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W01Pt-0004NI-UR for emacs-devel@gnu.org; Sun, 05 Jan 2014 23:04:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W01Pm-00072d-LS for emacs-devel@gnu.org; Sun, 05 Jan 2014 23:03:53 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:47816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W01Pm-00072U-Hl for emacs-devel@gnu.org; Sun, 05 Jan 2014 23:03:46 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFG4rwsm/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IPAS-Result: Av4EABK/CFG4rwsm/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="44165019" Original-Received: from 184-175-11-38.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([184.175.11.38]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 05 Jan 2014 23:03:45 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id A2270AEA58; Sun, 5 Jan 2014 23:03:45 -0500 (EST) In-Reply-To: <20140106023943.GA31643@c3po> (Toby Cubitt's message of "Mon, 6 Jan 2014 02:39:43 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.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:167438 Archived-At: > I agree. The `completion-at-point-functions' API is convoluted compared > to either the Company-native API or the Completion-UI API. Partly for historical reasons, but partly because it handles more complex kinds of completions, such as file-name completion with partial-completion. > On the other hand, it's already part of Emacs and is sufficiently > flexible (if a little ugly). So we may be stuck with it now... Extending the company API or the completion-ui API to handle things like filename completion (including the issues linked to handling quoting/unquoting) is far from obvious, so whether we like it or not, I think that completion-at-point-functions is not really negotiable. Stefan