From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: make project--find-in-file generic, add interactive filename to project-find-file Date: Fri, 29 Jan 2016 05:10:40 +0300 Message-ID: <56AACA20.1050000@yandex.ru> References: <86wpqu8qf9.fsf@stephe-leake.org> <56A9DDA8.9080504@yandex.ru> <86si1i813n.fsf@stephe-leake.org> <56A9EF4B.7020406@yandex.ru> <56AA6CCA.10103@yandex.ru> <56AA8698.9050805@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1454033455 18364 80.91.229.3 (29 Jan 2016 02:10:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jan 2016 02:10:55 +0000 (UTC) Cc: Stephen Leake , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 29 03:10:54 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 1aOyWR-0007lu-Iz for ged-emacs-devel@m.gmane.org; Fri, 29 Jan 2016 03:10:51 +0100 Original-Received: from localhost ([::1]:59409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOyWQ-0004fc-KW for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2016 21:10:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOyWN-0004fX-Fp for emacs-devel@gnu.org; Thu, 28 Jan 2016 21:10:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOyWI-0007RT-G8 for emacs-devel@gnu.org; Thu, 28 Jan 2016 21:10:47 -0500 Original-Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:36858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOyWI-0007RB-6K for emacs-devel@gnu.org; Thu, 28 Jan 2016 21:10:42 -0500 Original-Received: by mail-lf0-x22b.google.com with SMTP id 78so298654lfy.3 for ; Thu, 28 Jan 2016 18:10:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=3hN1crbHA/vZsLv1EB/sVTRzAG4PKI0IPbbIQYSPuy4=; b=L91eOV+0s9QZWd2TQOCtezcANmayobDrDFq6Rki+k8zr2m/0tPN7+hQAt/ZlNeWaXu QC8NDC3rKLeFvTuqnavWBVQ7QDn8GyaIcNc7nSfVqLiySMsj51RYmTIOTAPlUwLmuNdx jQuy+MOisa7ozkQMfQCfbU6F2rRv1/a8oxEsN9Gxo9XtLCz/pSaEWP6Xmy8Tz9WDaUL4 JLYiyfASpxk4yuvmApkiRiabgrhPgWDJcbqrdGF4yRhVbVxIFPPXQ7W6kh8uPRCH/8c+ L73AKojvBuPxaYylaMwHyT6bZ+cNyuCPjX5PEUJTn6DBu+8CGQWZs66NjDsPnC+vEj4E IIEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=3hN1crbHA/vZsLv1EB/sVTRzAG4PKI0IPbbIQYSPuy4=; b=PKQL+kgbwkRlIjNqRtME9p6iDhpLvXfXeuDW1NDGGXSjm8XcebSNWMZixdSpaN69l7 akASwNDNV6lsRJwIBfZq566RcIvRdOyxDsk0KpFEq9rt0W27pihlOgc98IETjQHd8m7X TklR73NZ2G3eY2w/ZagTZJ79yDf2Q39sZBD8WNxLVWlVn8A31zcH9LCi2/eeoHgpFyjE 5rZYS1d6SBPKkr6Ow2ORO71Kg2Q5rLtWxkmwtj/ktlDGegVN3jQ7rccz88Y7FkEzwjvE q02QJBwggSbhtxZCl+oAt5OIG2DA0Avg05bAgAEQvTb+p1FoIHbFHRfuqtW0cGuxWORx XYPQ== X-Gm-Message-State: AG10YOSr4rMy6IZoGsF8T0p6ON8EwoCsXQ+aDnP5sPwqCHC5ShVL9pDHWIPfuruMXNd99w== X-Received: by 10.25.65.5 with SMTP id o5mr903231lfa.38.1454033441504; Thu, 28 Jan 2016 18:10:41 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id ax1sm1809863lbc.20.2016.01.28.18.10.40 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Jan 2016 18:10:40 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22b 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:198972 Archived-At: On 01/29/2016 01:44 AM, Stefan Monnier wrote: >> If I pass filename-at-point as DEFAULT, I don't get either of these items. > > Not with completing-read, no. But the new function would do that (as Will it make completing-read-function deprecated as well? Unless we can implement the new function in terms of the old one, it seems like we'll have to deal with lots of moving parts. For instance, with keeping icomplete-mode working appropriately in both cases. That probably means that we can't just use a keymap that makes C-m work differently, because icomplete-mode uses its own bindings. For 25.1, I'd prefer a less-breaking solution than that. > well as change the calling convention so it'd be in charge of adding > DEFAULT into the prompt). Can we still call the argument DEFAULT, if it won't always be defaulted to? Similarly, would it still be justified to call it "default" in the prompt?