[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: project--completing-read-strict breaks ada-mode project completion t
From: |
Stephen Leake |
Subject: |
Re: project--completing-read-strict breaks ada-mode project completion table |
Date: |
Sat, 04 May 2019 02:39:40 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) |
Dmitry Gutov <address@hidden> writes:
> Here is my counter-proposal (attached). It both nicely factors out the
> common-parent-directory logic (which had no place in
> completing-read-strict anyway) and creates a customization point.
>
> You can write a different project-find-file-read-fn that would render
> the file names differently. For instance, with the alist example, you
> could build it, call project--completing-read-strict on it, and cdr at
> the end. Or use a hash-table, etc. Let me know if you need any help
> with implementing that.
Looks good; I'm testing this now.
--
-- Stephe