From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: project--completing-read-strict breaks ada-mode project completion table Date: Fri, 18 Jan 2019 05:04:40 +0300 Message-ID: <5d2000c5-0a44-4263-07d0-df462708862f@yandex.ru> 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> <86fttsntw5.fsf@stephe-leake.org> <86zhrynaaz.fsf@stephe-leake.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1547777766 4388 195.159.176.226 (18 Jan 2019 02:16:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 18 Jan 2019 02:16:06 +0000 (UTC) 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 Fri Jan 18 03:16:01 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 1gkJhR-00011g-5n for ged-emacs-devel@m.gmane.org; Fri, 18 Jan 2019 03:16:01 +0100 Original-Received: from localhost ([127.0.0.1]:58815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkJjY-0001Uh-AV for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2019 21:18:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkJhW-0000WR-4g for emacs-devel@gnu.org; Thu, 17 Jan 2019 21:16:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkJWY-0000BL-8P for emacs-devel@gnu.org; Thu, 17 Jan 2019 21:04:47 -0500 Original-Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:43047) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gkJWY-000093-0j for emacs-devel@gnu.org; Thu, 17 Jan 2019 21:04:46 -0500 Original-Received: by mail-lf1-x136.google.com with SMTP id u18so9307627lff.10 for ; Thu, 17 Jan 2019 18:04:45 -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=JKo3qdqj2QC4Jy7yDD341vsEtngazy1tAlSdOffxw5Q=; b=U8waqLXNlpDpV1uqJe2dzAnIuk51ME/zgsFBJM/Lq4OstYbO+Q8rundqKr8TcRfvbR BNHG6X9XmTgzBk9M+3ZwiNDpqRx318zd7eNb6JNRWNKpU6RLRaJAPKdPQfCxjwG4GvBf C0X9KcIz4xURGGSPtsP4yrSE7Ld8t1zp40v2Hoi/l8br5Q9+sgZqfLnBfr86PDE6EqZj AVk8zUvLn32fuIDdVLMtrh4AmuvVn9krRUJD2eE1t0Hq/jEm8XaYN8W1pZVdwSZEbnlP +kjw7ZNa7mMs30FFwDQuLQJbMm+auNlmN+r1L/V3ix96m7FQCZSRwvHEPj5km6s7rYJH mAGA== 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=JKo3qdqj2QC4Jy7yDD341vsEtngazy1tAlSdOffxw5Q=; b=OgonIhgCB9AFbMekbr/ucAg1kLS/23Yzil/MXOjZIzTCYU+opTYwVejhoW+/TgEpD9 9HU43MUFGMzB7dMO4M3x3rVZfowiJgOpG73aXvIp41YOx3tMdrqFwmIBnX+mgkhrjufU 8BhsnKSiuxottmV0QTFCKApp6gt9EY86b2j9hykx7d2q3XXlVr9yaW3+b9KFDMaAAvC1 UMGRWvn4Dy8j71ZExia1xm1JufZXWgheFsqHGs5xfLPzdL6QYQTNvIv3uK52ySLt2PWr qlT8w3uqA009y8zxvwffrBrO+0n2wyJRxIQDQr4ROXHgRLUDP95T6sktF4HaTvkaQr7l efcQ== X-Gm-Message-State: AJcUukcF7HbeCVzmrasrV3hF6VnzaIi1B6oBYKE2mS6UMJu5kmkB7pJP SG5xJftsa9sSfDkJPn4JhieiNwMo X-Google-Smtp-Source: ALg8bN4PJuA8v6cDZCcHLULfpm2pp8QJTwQoYxCwT1OMS5cJfIh+uJHYsgavb9kaiEDt+33pEMf3TA== X-Received: by 2002:a19:4849:: with SMTP id v70mr11343929lfa.62.1547777083939; Thu, 17 Jan 2019 18:04:43 -0800 (PST) Original-Received: from [192.168.0.108] ([79.175.3.65]) by smtp.googlemail.com with ESMTPSA id x18-v6sm556440lji.27.2019.01.17.18.04.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jan 2019 18:04:42 -0800 (PST) In-Reply-To: <86zhrynaaz.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::136 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:232448 Archived-At: On 18.01.2019 02:17, Stephen Leake wrote: > Stephen Leake writes: > >> These are now in the ELPA master branch: >> >> elpa/packages/ada-mode/ada-project.el >> elpa/packages/ada-mode/env-package.el >> elpa/packages/path-iterator/path-iterator.el >> elpa/packages/uniquify-files/uniquify-files.el > > Attached is an example project for emacs source to play with. To use it, > eval the following in emacs master *scratch* (adjust paths); I've tried it out, and it's pretty nice. The latency seemed to be a bit bigger than with the default completion table based on 'find', but not significantly so. path-iterator doesn't have to handle the contents of .gitignore, so it's not a huge surprise. If support is added, it's sure to become slower. I don't think it can be *the* UI for everybody. Yeah, being able to type abbreviated names can be nice, but a lot of users will prefer full directories and fuzzy matching based on completion styles. Segregating by project types probably won't work well either. > There's a bug in path-iterator; I've set :ignore-function to ignore any > dir under ".git", but they are showing up anyway. The first thing I've noticed, actually.