From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.ciao.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: project--completing-read-strict breaks ada-mode project completion table Date: Tue, 22 Jan 2019 03:20:08 +0300 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> <86womxls4p.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.org; posting-host="ciao.gmane.org:195.159.176.228"; logging-data="35460"; mail-complaints-to="usenet@ciao.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Thunderbird/65.0 To: Stephen Leake , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 22 01:21:04 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gljoL-00095b-35 for ged-emacs-devel@m.gmane.org; Tue, 22 Jan 2019 01:21:01 +0100 Original-Received: from localhost ([127.0.0.1]:36355 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gljoK-0007dD-3e for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2019 19:21:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gljne-0007cv-4K for emacs-devel@gnu.org; Mon, 21 Jan 2019 19:20:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gljnd-0008J4-Hr for emacs-devel@gnu.org; Mon, 21 Jan 2019 19:20:18 -0500 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:34533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gljnd-0008ID-8p for emacs-devel@gnu.org; Mon, 21 Jan 2019 19:20:17 -0500 Original-Received: by mail-lf1-x135.google.com with SMTP id p6so16809272lfc.1 for ; Mon, 21 Jan 2019 16:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=H0A7uXSZCqrLsZcwI9n2hpjchf+7A6N4w+IuEURZHnc=; b=i8k3QlCM6ZG30n+c6Btqla1rlZZbuIWme0B+oRXiafnAhr1OzDSWiYWksZnCmIP8cO v2Ihji7gz4VKwuii7GppspHhheePWied7AX5hLTGPxV5bfjTSVkDYRezmZ4dSjAw7LAo 6YRTadkFjGO5A8o191HRcLDaGMoqCR9m+ZyU9yui6JRLJLFUV2KXWAm3HN0War+2ZSCL R+aezkaHai1q4IHzGuEKYM+PQnG/clsTxQEq78aTOOM2Wq4YxzwqMCK9PgUPj32HWeOw LQkoq4/qMKtJd0PEyYOjAhmWRg3hoXuQu0hbsg7qjslLMSH6zL8OmEEOz2+XC8xnC2jL D/zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=H0A7uXSZCqrLsZcwI9n2hpjchf+7A6N4w+IuEURZHnc=; b=eH2u67yFMdkAnsmofUYyQFhA6q4mOqqL0ywEYOOJqJtl3t0CUi+/UURCExeoIaVCtP k1HaCgAAbmQXuFXlzUGeV5KAjCciKKiI+BCryswjcnPOJXkVaghEw0ELz7gWrn5L0nln EFuagnzVPxE97qUia5bFbsCdg2qxoUmsGVBsOJ2N+B00iu1S51qAJkwXl90E0kKy7R49 5l/p2v6dZhjhXsFcVjl9RrJbxiFW/xtfFuRJvsFtBsNHqWPSq1hbeXQiXUbj/xQgWw2w t4cT2oNl7GhnEW5aPwGDDY1jFhoO8EMH9XDwmFWP88t9cOya2S7ru6KvrNJWrsDVs3Io wPZw== X-Gm-Message-State: AJcUukeIDB/bySOvdkkScdq6a/1XmA1ipXsrx17O50K7oxGdiLBDYI+M bCSu2GE0T3LWb8GxVIGw86xpODD9 X-Google-Smtp-Source: ALg8bN7TpxVujc+fa9WU7YffQeE+XyE5NT38qc8SY5fvSysoZLt5PXddTXe0qxpL/J0RHvUqBEY0eQ== X-Received: by 2002:a19:c4cc:: with SMTP id u195mr18598101lff.141.1548116415454; Mon, 21 Jan 2019 16:20:15 -0800 (PST) Original-Received: from [192.168.0.108] ([79.175.3.65]) by smtp.googlemail.com with ESMTPSA id y10-v6sm2586254ljy.65.2019.01.21.16.20.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 16:20:14 -0800 (PST) In-Reply-To: <86womxls4p.fsf@stephe-leake.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::135 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:232595 Archived-At: On 21.01.2019 22:36, Stephen Leake wrote: > The completion table in uniquify files completes on base names first, > then on uniquifying directories. This table won't be returned by a generic, though, right? It will be constructed inside project-find-file, depending on a particular value of a new user option. And the function that builds it will need take a list of files as input, right? > Given an empty completion string, it will return a list of all files (as > absolute file names), but completing on that is not equivalent to using > the table. > > I don't know whether that completion table is "flat". We could define > "flat" to mean 'equivalent to a list of files"; that seems like a useful > definition. OK, let's call it that. Not sure if we're going to use this definition a lot in the future, though.