From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: project--completing-read-strict breaks ada-mode project completion table Date: Thu, 17 Jan 2019 22:05:42 -0500 Message-ID: References: <20180922154639.23195.66360@vcs0.savannah.gnu.org> <20180922154640.9D58220310@vcs0.savannah.gnu.org> <54108dbc-9d12-06ff-3f1d-151118e9b234@yandex.ru> <4e729d1e-bb31-455f-fd44-e99ae5a6b9fa@yandex.ru> <86zhs5r9lr.fsf_-_@stephe-leake.org> <08de4d90-d678-0524-9356-f9a3515bf0c4@yandex.ru> <86a7k2rabi.fsf@stephe-leake.org> <86sgxso27d.fsf@stephe-leake.org> <69076784-83cb-5cc7-be39-fea990b8535e@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1547780630 31011 195.159.176.226 (18 Jan 2019 03:03:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 18 Jan 2019 03:03:50 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 18 04:03:45 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkKRd-0007wg-QI for ged-emacs-devel@m.gmane.org; Fri, 18 Jan 2019 04:03:45 +0100 Original-Received: from localhost ([127.0.0.1]:59192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkKTk-0002FX-ET for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2019 22:05:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkKTb-0002FJ-4u for emacs-devel@gnu.org; Thu, 17 Jan 2019 22:05:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkKTY-0004IJ-SF for emacs-devel@gnu.org; Thu, 17 Jan 2019 22:05:47 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:37300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkKTY-0004Hu-N8 for emacs-devel@gnu.org; Thu, 17 Jan 2019 22:05:44 -0500 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id x0I35gEt020682; Thu, 17 Jan 2019 22:05:42 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5CB7466184; Thu, 17 Jan 2019 22:05:42 -0500 (EST) In-Reply-To: <69076784-83cb-5cc7-be39-fea990b8535e@yandex.ru> (Dmitry Gutov's message of "Fri, 18 Jan 2019 05:19:18 +0300") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6463=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6463> : inlines <6997> : streams <1810399> : uri <2781617> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:232451 Archived-At: > We can't do that if the said behavior already lives inside the completion > table, however. Clearly. >> I'm not sure if it currently can work for any project backend, but its >> design definitely aims for it to be backend-agnostic > By "it", do you mean uniquify-files.el? Yes. >> so it can be used for any (flat) completion table (I don't think >> it'll work well with completion-file-name-table). > Would you agree that a "flat completion table" is basically always a list > of files? In some corner cases maybe not, but in the context of uniquify-files: yes definitely. Stefan