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: A Modest Proposal Date: Sun, 1 May 2016 18:28:04 +0300 Message-ID: <9c426b06-f6d9-64f8-0581-6ce221676348@yandex.ru> References: <874mai4qhz.fsf@gnus.org> <83a8kao624.fsf@gnu.org> <270c962c-11c4-4b0c-9d62-211cbc6f9f47@default> <87y47t256w.fsf@gnus.org> <8337q1olk5.fsf@gnu.org> 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 1462116551 1303 80.91.229.3 (1 May 2016 15:29:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 15:29:11 +0000 (UTC) Cc: jwiegley@gmail.com, drew.adams@oracle.com, emacs-devel@gnu.org To: Eli Zaretskii , Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 01 17:29:06 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 1awtIw-0002PS-6D for ged-emacs-devel@m.gmane.org; Sun, 01 May 2016 17:29:06 +0200 Original-Received: from localhost ([::1]:33443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awtIs-0003Eu-4F for ged-emacs-devel@m.gmane.org; Sun, 01 May 2016 11:29:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awtIi-00033h-6J for emacs-devel@gnu.org; Sun, 01 May 2016 11:28:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awtIW-0004X9-88 for emacs-devel@gnu.org; Sun, 01 May 2016 11:28:46 -0400 Original-Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:34642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awtIU-0004Rw-Ul; Sun, 01 May 2016 11:28:40 -0400 Original-Received: by mail-wm0-x241.google.com with SMTP id n129so13744274wmn.1; Sun, 01 May 2016 08:28:10 -0700 (PDT) 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-transfer-encoding; bh=LxPcdayVSl1QfWjoaqbI4DLvf6+c3+TreA0lzicUJ5A=; b=UGzGTGC/SnsjACLdEZm8Ta79A9W8iQmHdoJeqG1I66ASoIEfn5JkJmqa0f5CyNgit2 xycYa72Bv0eJ7pKP0mqIvV4erbPnBWuZuwg817SuMlL8CjzVxwjARy8nM337JFdRaVv0 friC2/DMT7LAF3hrqWFzz7YPFKCYdyCA+fWSjuee+HrwKV4dC6TknTDy6GBCiSoxKyLZ O3bWvkgr+MU1+3tWCTKrdWt7DTDkyUedFv42438WWtk1RRs+f+2KBFniGPHzh72kLIzh LG87MbdUCBT10zokDiiQITZqBCjUnsBEV5tNnjqnmfII4GhrtpMGH94VBPumB/Qere/C 11lQ== 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-transfer-encoding; bh=LxPcdayVSl1QfWjoaqbI4DLvf6+c3+TreA0lzicUJ5A=; b=kyzTfjnWlg51NeKHjmNQjOGhhES6Bavqyp1Hs5l4Uux2EqzF3jNqM4WJ2za/d4KDkU ZZO2csQ4tQFCEtsduVcf8Dweb8S9yshcsC2rNbnJQudkng2jPqvoO5HLq+GRaDCg55xt v3ThZdycsujYXbmMSM/G2PWh/dSYJYAWQ97irxi0C3VKLB2NDw5IANmv1ssRfnRmGQD9 l0bYCvCRhRfPcQDy0fJutKln60lDh27+CkQ0MIJV4QOrDnNwVf0LN/MsSIm3c3hP9ZWy lMAoM0QBVIQKeaIQnYqh40VP2FdPxxKXJk2QQGEDbQz+vtaYK/3vOneQHNS+3meZI8Bf uBPA== X-Gm-Message-State: AOPr4FX8xvTODaytO9xaaVCllV/wBAyhsJP+zZfeqsxTw+4niEcFvc2whFGZ9IVqrzKTIQ== X-Received: by 10.28.133.129 with SMTP id h123mr14344700wmd.33.1462116486718; Sun, 01 May 2016 08:28:06 -0700 (PDT) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id yr1sm25437279wjc.9.2016.05.01.08.28.05 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 01 May 2016 08:28:05 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1 In-Reply-To: <8337q1olk5.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::241 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:203485 Archived-At: On 05/01/2016 06:16 PM, Eli Zaretskii wrote: >> My modest proposal is kinda suggesting that `insert-directory' would go >> away -- to be replaced by (something like) `ls-lisp--insert-directory'. > > Users of Posix platforms will curse you if you do. Yes. Listing files using external tools is usually faster. After digging into grep.el and using it a bit, I've been hoping we could construct a high-level pluggable API inside it, so that instead of customizing grep-program, etc, it would be possible to use third-party alternatives (such as Ag) to list files, and to search through files, from the core packages. Using ls-files instead of find could work like one such alternative (used by default as fallback).