From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 55ec674: * lisp/multifile.el: New file, extracted from etags.el Date: Tue, 8 Jan 2019 02:22:41 +0300 Message-ID: References: <20180922154639.23195.66360@vcs0.savannah.gnu.org> <20180922154640.9D58220310@vcs0.savannah.gnu.org> <54108dbc-9d12-06ff-3f1d-151118e9b234@yandex.ru> <385f6543-2214-101c-30b8-a8115a8dbede@yandex.ru> <87zhsi7mlt.fsf@mail.linkov.net> <6ff6f811-29eb-6e08-e95c-46bdfee08993@yandex.ru> <878t02d0cz.fsf@mail.linkov.net> <875zv579pu.fsf@mail.linkov.net> <4beac027-166a-ce0e-9976-ad4a6cd40fd1@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1546903348 18377 195.159.176.226 (7 Jan 2019 23:22:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2019 23:22:28 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Thunderbird/65.0 Cc: Michael Albinus , Stefan Monnier , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 08 00:22:24 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggeDv-0004g3-Ox for ged-emacs-devel@m.gmane.org; Tue, 08 Jan 2019 00:22:23 +0100 Original-Received: from localhost ([127.0.0.1]:34698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggeG1-0007hl-3R for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2019 18:24:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggeEJ-00061G-Dx for emacs-devel@gnu.org; Mon, 07 Jan 2019 18:22:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggeEI-0006Lo-C0 for emacs-devel@gnu.org; Mon, 07 Jan 2019 18:22:47 -0500 Original-Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:38172) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggeEI-0006Jb-4J for emacs-devel@gnu.org; Mon, 07 Jan 2019 18:22:46 -0500 Original-Received: by mail-lf1-x12a.google.com with SMTP id a8so1585468lfk.5 for ; Mon, 07 Jan 2019 15:22:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=VU/myMVaR5V6+VxwC5lSudFcKvhYTYsvRxtxZvBwXyo=; b=Z/d4vmsUvdfSPtnpcB1le5Mwgi85Q3JFb3NxF3KDiVwadtDzbhl9PPYJukzbnUDNZ2 v90bYqIMW2WLbLIngH3uQPPTpeHyMQelxUT4HpEiJSLwETzel0fRPGCSoWTqFvZnWH9s A+3e/qtuSq71i9NUcmDKvA8SekhSpXFKewOkTO//mPinYvN+nE3AV7q1ol48TMcBDsiq 8aI+mehQoMzR1Ff/BdETSmwvD2iNJMBBHlvpi5gW95rwWzIEamyEH6oV2XA2DUkj2o4/ GAulTsFuCw6VS+mHaOsVLWfMadJAgKG3mTKhLl0CCxSMKUiL+5cODz3hk0mxdonb1f7U yYJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:from:to:cc:references:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VU/myMVaR5V6+VxwC5lSudFcKvhYTYsvRxtxZvBwXyo=; b=RRCT/olmreqQ0s+JphEPDnDCYNc50+TDNBPbBarp3C+BGeg1eyX0HSMYE1dx+S9dwV L63bbDpxWgHqlXuB5yVbBQDiUIdwGoj58o+vyYGVxmXuG+IBqhYmTAPJWdIunpXSqcK5 n1lk425a9LbRAVZ46p784OETS0Ti92KxO02nLtZGZ/FwwxBpWL/L+G/Xq0dFtdJUHqsL 2cP2+rIiYohGFhuEsOohmBVnkGlqeXr6cm9eHIobnSWYw+xIq00eBMDPWvn0DjC0OJhf eHwZSNgis77dhbKX6T7lAUISmz0/AgWDB9P6ARpccClYFAqbsSS/5FfjLZ/ZvGBC0m3O LQ9Q== X-Gm-Message-State: AA+aEWaPktyZaQi/mG4FOkx/XBrxLzN1es6vYa7v9L+jXeN4OtJA8gsw Sb5fAJGUUVWD7Al6KlFui4U= X-Google-Smtp-Source: AFSGD/WGzQW7Nu4e9h4R1AITE+/JWq+9dFeIwyXF8WK+2UpStkkn4y1Zcovp0q2f5Qa0PXFlz5QSQQ== X-Received: by 2002:a19:e601:: with SMTP id d1mr33653009lfh.71.1546903363949; Mon, 07 Jan 2019 15:22:43 -0800 (PST) Original-Received: from [192.168.1.174] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id t81sm12923424lfe.84.2019.01.07.15.22.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Jan 2019 15:22:42 -0800 (PST) In-Reply-To: <4beac027-166a-ce0e-9976-ad4a6cd40fd1@yandex.ru> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::12a 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:232242 Archived-At: On 06.01.2019 04:22, Dmitry Gutov wrote: > I've pushed a change that makes project-files the canonical generic and > thus cuts down on some overhead, but it makes no perceptible difference > on my end. Please try it out if you have the time, though. OK, I've pushed two more changes that now show better performance (a bit, but still) than project-find-regexp, at least on my machine. Testing welcome. Unfortunately, it uses call-process-region which has no Tramp counterpart. I'm really tempted to leave solving that problem up to Michael, either but adding a proper public counterpart (like a file file-process-region, with a Tramp handler), or by encapsulating the choice of whether to use call-process-region or a temporary file, in a private function. Neither seems too hard to do, though.