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: find-file-project Date: Wed, 06 Jan 2016 23:52:48 -0500 Message-ID: References: <86pp1j4ejm.fsf@stephe-leake.org> <55F899EA.7050700@yandex.ru> <86lhc73wog.fsf@stephe-leake.org> <55F8F2FA.6060902@yandex.ru> <867fnq1oe9.fsf@stephe-leake.org> <55F9A13A.3070101@yandex.ru> <55FB01BD.1070909@yandex.ru> <568C6DE5.8040201@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452142405 31605 80.91.229.3 (7 Jan 2016 04:53:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jan 2016 04:53:25 +0000 (UTC) Cc: Stephen Leake , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 07 05:53:16 2016 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 1aH2ZV-0006x5-SA for ged-emacs-devel@m.gmane.org; Thu, 07 Jan 2016 05:53:14 +0100 Original-Received: from localhost ([::1]:56850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aH2ZU-0006ih-Nt for ged-emacs-devel@m.gmane.org; Wed, 06 Jan 2016 23:53:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aH2ZJ-0006ic-1k for emacs-devel@gnu.org; Wed, 06 Jan 2016 23:53:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aH2ZF-0000cz-1t for emacs-devel@gnu.org; Wed, 06 Jan 2016 23:53:00 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:42986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aH2ZE-0000ci-Sf for emacs-devel@gnu.org; Wed, 06 Jan 2016 23:52:56 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id u074qmsL000944; Wed, 6 Jan 2016 23:52:50 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 3C2B4AE09F; Wed, 6 Jan 2016 23:52:48 -0500 (EST) In-Reply-To: <568C6DE5.8040201@yandex.ru> (Dmitry Gutov's message of "Wed, 6 Jan 2016 03:29:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5542=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5542> : inlines <4177> : streams <1566725> : uri <2115605> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:197725 Archived-At: > Could we want to reuse it for non-project, or non-file completions, in > the future? I'm not sure I understand the question. This category is only there so people can tweak the completion style for this particular use of completion, so I think `project-file' is OK. Maybe what you're getting it at, is that maybe we should introduce a notion of hierarchy within "categories". I think we can do that later if/when the need arise. > + (unicode-name (styles . (basic substring))) > + (project-file (styles . (basic substring partial-completion)))) ^^^^^^^^^^^^^^^^^^ This should not be needed since it's already in completion-styles. Stefan