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: Sat, 30 Jan 2016 00:35:27 +0300 Message-ID: <56ABDB1F.9040600@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> <56AAC8E7.8090601@yandex.ru> <56AAE666.7010206@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 1454103364 26463 80.91.229.3 (29 Jan 2016 21:36:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jan 2016 21:36:04 +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 22:35:58 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 1aPGhy-0004wx-98 for ged-emacs-devel@m.gmane.org; Fri, 29 Jan 2016 22:35:58 +0100 Original-Received: from localhost ([::1]:36561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPGhx-0007br-2A for ged-emacs-devel@m.gmane.org; Fri, 29 Jan 2016 16:35:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPGhb-0007Xz-Cj for emacs-devel@gnu.org; Fri, 29 Jan 2016 16:35:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPGhW-0005f1-C5 for emacs-devel@gnu.org; Fri, 29 Jan 2016 16:35:35 -0500 Original-Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]:33465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPGhW-0005eh-4I for emacs-devel@gnu.org; Fri, 29 Jan 2016 16:35:30 -0500 Original-Received: by mail-lb0-x229.google.com with SMTP id x4so48462509lbm.0 for ; Fri, 29 Jan 2016 13:35:29 -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=NIIE/thoNi0s+NNcZoZL5bMJXOTb8TWOUoWoMTDp/x8=; b=0jUCVFjkusmgzDmXpr1+qMWqjaMu0OaGtsOE2OfJdFPYrX08KrmHJH8bHWjapAx7TW hfLdE6rEbyaj1IGChbIfDvZmVTtOBdg7nNj2nzK6z/jj9PuQcywK40R9uI0IAbqEMacW w/x/OI01k+pfACvVF3QzuQHp4IxmjbBc/c4A2YEOBrmzqIFId6TeFucV4RFLzLNgCk03 VKaHdz03TKg/BIpzoBZ6BGLJQ9U8jnCX5mU8sdd39HED1Ie8UftlBjtRmgsPDbygwfPY VVFivNKAjCj2n518q3Bfvm/AFaKfs/BtprlfeynxERvv4vnAjDLhHZPLKMwGYZ0pUvpM 1aaA== 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=NIIE/thoNi0s+NNcZoZL5bMJXOTb8TWOUoWoMTDp/x8=; b=BbdEB7d7H/8AKcIJM/Wyv82+05h+qT7KZwS5zX7Kc/JDudgUZDQZHxNa3VHxD3Q0Fk jGoxA3zVQcmUU1qfNmgSxM6niLORtNJW5PEMHZvIctRcpThqdOqEMndcAJZPKxwLa1zj eWjGvgCnybfLEfnDc4JV7QL+ZIkmBO33kP5DDeWEeT3HV8XWYaYLnoJsCDhXVA6wUxp3 OMBdISHhK84oarRig+SyHX7IMoxZsc5pCKK+rw7OImSgYKY54SrFsoE/2F7sOfsCwVfZ Ara2rKEP7mXzgbpb3yGBpFx2FdHzIAtT2ovtqggWaX6fmUoA4cflyHOOmNPP6h66imYa /juw== X-Gm-Message-State: AG10YOS/ofcLHqFC39zIdSRZrnNjTbnmif5O/Bh89sGTXkC1zESgZwvS+EZBy3dlgP3+gg== X-Received: by 10.112.13.99 with SMTP id g3mr4025798lbc.86.1454103329210; Fri, 29 Jan 2016 13:35:29 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id n96sm538755lfi.45.2016.01.29.13.35.27 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 13:35:27 -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:c04::229 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:199006 Archived-At: On 01/29/2016 05:03 PM, Stefan Monnier wrote: > The main purpose of the new functions would be to improve the handing of > DEFAULT and encourage coders to use it. IIUC the way we handle default > didn't exist when completing-read was first defined, which is why it's > hidden so far down the list of optional arguments. The fact that completing-read is expected to return an empty string on empty input, irrespective of REQUIRE-MATCH, seems to be another problem. On the other hand, if we also fix that, the result would turn out to be overall less versatile. > It so happens that it would also provide good customization points, yes. What customization points, though? Do you expect it to be used with nadvice?