GNU bug report logs - #39502
[PATCH] Use one src status -a call for vc-src-dir-status-files

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Wolfgang Scherer <Wolfgang.Scherer@HIDDEN>; Keywords: patch; dated Fri, 7 Feb 2020 22:53:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 39502 <at> debbugs.gnu.org:


Received: (at 39502) by debbugs.gnu.org; 10 Feb 2020 00:48:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 09 19:48:05 2020
Received: from localhost ([127.0.0.1]:53488 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j0xF6-0004MC-TA
	for submit <at> debbugs.gnu.org; Sun, 09 Feb 2020 19:48:05 -0500
Received: from mout.gmx.net ([212.227.15.15]:38465)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Wolfgang.Scherer@HIDDEN>) id 1j0xF4-0004Lc-40
 for 39502 <at> debbugs.gnu.org; Sun, 09 Feb 2020 19:48:03 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1581295675;
 bh=B/Wtr/JJHK8LXG4J9YL8r4Z72sL8Y3HmlhbTbhzPSnE=;
 h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To;
 b=klSI0DEkvGHLmt/vkYzuh/pNWughaI7FaUYBlm4HXJvMErugLHVs4gtUXx16bN3Ln
 OddJMmVN2Y9/sSA/8V7qrpAYhc3c3pP25hkr8vGvyjGYkd41FaNHqpuP5jRqCsDfE0
 SsPN9toptS5XVIkBcxXF4Zr+DheY7ZRCjA7OdZ6A=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from sheckley.simul.de ([87.160.210.52]) by mail.gmx.com (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MbzyP-1je8fs2uyt-00dSyL; Mon, 10
 Feb 2020 01:47:55 +0100
Received: from [127.0.0.1] (sheckley.simul.de [127.0.0.1])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by sheckley.simul.de (Postfix) with ESMTPSA id 2C5D919431CE;
 Mon, 10 Feb 2020 01:47:55 +0100 (CET)
Subject: Re: bug#39502: [PATCH] Use one src status -a call for
 vc-src-dir-status-files
To: Dmitry Gutov <dgutov@HIDDEN>, 39502 <at> debbugs.gnu.org
References: <2f9fe676-e135-a931-53bc-654954aead3c@HIDDEN>
 <7a12e354-a1ee-8208-eb08-b0d7281bce39@HIDDEN>
From: Wolfgang Scherer <Wolfgang.Scherer@HIDDEN>
Openpgp: preference=signencrypt
Autocrypt: addr=Wolfgang.Scherer@HIDDEN; prefer-encrypt=mutual; keydata=
 xsDiBEb46IgRBACMHOAb1KNo1Ylk+ebri+4R+bG4tyKlqBlrpv8D9/ZwRdXSGt+0DyCHoaAd
 7KW7noHapLe87DunABOjKG4nqTGv+dRiWuUBlp3I4aYRFDVa3Da+XnIYkMHKqhK59VEHQCdp
 Km42nuLS7TS+n99at9YwzTG6VBdOlBKTlRFngOjVLwCg1RGXJ6X3EjS1FKCQeXziURVpWlkD
 /2zY6Ayhxi62TS84VjikXrrmjXykAAaAmMVEyKKYb9L5pGlqiZz9g/K9xw1EUoZTYuaufquD
 v4rAGR58K/3V4CYfJLEeshMWiaXHvMmlxMznlG16/um4MvmR8B3r+cx0nOPK1JBdD2qrkNnF
 Mw8FB+zouLFB4Gt2IUC5IlOmZ8OQA/4qdU53CItzWsCr9Nux4L0qUlRweSmCnV8xGQ2wP5XI
 MawIQxxREvSrsYDG8cNnYETMg4iQFfIktwAoxCJvuFAwIB6ZxHGF4FcEZm64CXc2u7CmFLqt
 rVhXhIfMz9oEYC+HhGczGamn9ofbGTFd2hJEtPcQgWNR4f7+aKknmi2+OM0fV29sZmdhbmcg
 U2NoZXJlciA8d3NAc3ctYW10LndzPsJhBBMRAgAhBQJYmz3YAhsjBQsJCAcCBhUICQoLAgQW
 AgMBAh4BAheAAAoJEIUCr3Gr112VZZoAoLTBSTp1qGuNhLdXY04iaWCMYmHCAJ4kHPtQ6nTw
 kEq9qCHgVgXDaY7wjs7ATQRG+OiIEAQAhi0wjcxvA4tychg2NQuwBIf9LX/46l+74+QbewCn
 a4a+mw/9s5KYqLGtYMuu3/KYq9yBd53OYc7LWTLMxsGOIATSOQRhdCKYW1AanupYrC/bKNW/
 8i2QEXc7LIeYiaII0TkVdQTVZxrg9kKLQ+Vf6z04Lbfv91sVCkHKI9jxgVMAAwUD/0mkDeN0
 tllPH+NOjbkkqlOj6UOwzwIYgXmALhuAEFGXVLM2HfRV9TtJa2OoGZiuhyGXat3Jl9QK9NNv
 d/J4HSal93ZHWstPU4YIRc5uhJ1eeWwKsfTmPvbZXMKMkh+hBBJ39SZnmxfoeUzkK0EQNE2p
 PZDyjAlz03qOx6D0DHnZwkkEGBECAAkFAkb46IgCGwwACgkQhQKvcavXXZU8PwCdGmUH5mbh
 dsLYyx7qthe4hOWnW54AoJQMfmHP4uUI6ji8VkdlvO8LKtLP
Message-ID: <e26b2abe-799c-1ca7-bc72-23adb11ea872@HIDDEN>
Date: Mon, 10 Feb 2020 01:47:54 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <7a12e354-a1ee-8208-eb08-b0d7281bce39@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Language: de-DE
X-Provags-ID: V03:K1:OICREU1iDKEkEX0kz4xxEG7R1CDRL2gxseY4Sn0lG9BPDy0XaQV
 KQVd50GxwoGZmCq1Cu6CCEzyWWmXe0tzJVFw5u4zQj97YuU4xUrXBiTgWqbcNotlT01Fi/3
 /opxjjmiwhDe79O/zuZgybG9f8N7dd4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V+Eq8Ajj9bGXFjykPs5hw/tLlfZFfUkY64VwEg1zUJEA
 vxrKYv2A5Je8OzZLrmb+HT5lEgzb4co+AfPWjkPRaluPsjqUn4B/vhWYc5wS5aa47A4u0fcQW
 aPwhxoUHDop8vPoOmbcgGUR0FFu7KPfx7XCmnMrfZf3oXta5wbxrLxLYqITKyO4lcXz0anQ57
 cg69+FMjzbJj6FJ8db4cM9u0nRLRzC5CeJ3/DQPZemoxH5lLX2ojm0EQTurFolIeADqOqEtFD
 4POKZkiIPJxl2+LQHYdzonJfz9YHoEqonEjJw4UIjUfG+u4rntz5e7+eHnxnq0oudUTfz5sxe
 e/Wbd52dc++K/XSdy
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39502
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi Dmitry,

Am 08.02.20 um 10:39 schrieb Dmitry Gutov:
>
> On 08.02.2020 1:52, Wolfgang Scherer wrote:
>> Here is a patch that implements that.
>
> Hopefully someone familiar with SRC can review this. If that doesn't happen in a reasonable amount of time, you (or someone else) can please go ahead and install the latest patch version on master.
I am not sure what you mean by "install the latest patch version on master"?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39502; Package emacs. Full text available.

Message received at 39502 <at> debbugs.gnu.org:


Received: (at 39502) by debbugs.gnu.org; 8 Feb 2020 09:39:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 08 04:39:13 2020
Received: from localhost ([127.0.0.1]:50623 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j0Ma1-0003ZP-7n
	for submit <at> debbugs.gnu.org; Sat, 08 Feb 2020 04:39:13 -0500
Received: from mail-lj1-f175.google.com ([209.85.208.175]:40368)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1j0MZz-0003ZC-HI
 for 39502 <at> debbugs.gnu.org; Sat, 08 Feb 2020 04:39:11 -0500
Received: by mail-lj1-f175.google.com with SMTP id n18so1864542ljo.7
 for <39502 <at> debbugs.gnu.org>; Sat, 08 Feb 2020 01:39:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=0eCiNIg23/NHclbvDpQcQpxDwNydf/n7UDRuuLs/6QQ=;
 b=QFwx7rHs3vsY3mFOvIC3Ik0/VlYHRoH4lWA80Mupd3PxZbBxLDXvJMwtvdlY3xFgjg
 MmNd7ZjGEbhIAAv6PEH7VrRnLyrUGKjvIAymIwCK9yAPZax0/LxZWJli2py4iq1mUUkY
 WrAfPMQLlJgfuRkIGTCI1Pmn3TpFOJm3w+e366qgKHZbL4FbCLBSdkm/9VyPakf7zeGS
 yU5NahRdJyCkypPnDmY/lR6Evq9zsudCrXjNvYpcZA2gRJAAYB7qr2y2mkaA1dhcMKEd
 6gopePivvpBwucZh9iqAGWM4sE/YC0593ODvLhXheDQVV0Ne7glsOkWBMgmcAO2CVMkx
 t65g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:subject:to:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=0eCiNIg23/NHclbvDpQcQpxDwNydf/n7UDRuuLs/6QQ=;
 b=jA3cgytffwYPrrzuW1SCHaVB+AbTn8pSeypUAWHpbpTcy4rhBSXe7k0qBBHBbzMN0E
 sUfA4D8f4n6CEZNHAO8qdwGvXRHqVz9+Hedgj2eVw6gT/MMZe3msBR8sqSTe/3JqPtEU
 N7Jp9hs3pBQh2OifywUvcJMhER51ifsbmDeQO9uR/+a04zmJY+VaAsOhi8M+MCVZIM+r
 gAYwZZTRQMzlJOW35JYsfYHc8tBcoEbPj/vkddf0J8T7/eBxudIIyLmcM3bmJmLtFZyS
 H8i+ZA8qHpLDDxVp3H0mEsoUzwzfcYQJwjbTdIbcFcecgveWMXrMn8vSGlnMjUMGEjvJ
 OHKw==
X-Gm-Message-State: APjAAAUVxA+2vMR9VqI3VdcA0GWG2criMECOTL31F73dvn+n7yY1H77Z
 9msMjh6g/yb/DM6fximxuCKGY8cp7Ck=
X-Google-Smtp-Source: APXvYqwbJ+3LXkUIoArN2dvjeXABOaPHxlrgxU+xXO3/+8oyuPD9pvVRnRBDYsYONAfJN4imciajzA==
X-Received: by 2002:a2e:99da:: with SMTP id l26mr2198973ljj.272.1581154745580; 
 Sat, 08 Feb 2020 01:39:05 -0800 (PST)
Received: from [192.168.1.142] ([178.252.127.239])
 by smtp.googlemail.com with ESMTPSA id y66sm2346772lfa.53.2020.02.08.01.39.04
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 08 Feb 2020 01:39:05 -0800 (PST)
Subject: Re: bug#39502: [PATCH] Use one src status -a call for
 vc-src-dir-status-files
To: Wolfgang Scherer <Wolfgang.Scherer@HIDDEN>, 39502 <at> debbugs.gnu.org
References: <2f9fe676-e135-a931-53bc-654954aead3c@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <7a12e354-a1ee-8208-eb08-b0d7281bce39@HIDDEN>
Date: Sat, 8 Feb 2020 12:39:04 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <2f9fe676-e135-a931-53bc-654954aead3c@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hi Wolfgang, On 08.02.2020 1:52, Wolfgang Scherer wrote: >
 Here is a patch that implements that. Hopefully someone familiar with SRC
 can review this. If that doesn't happen in a reasonable amount of time, you
 (or someone else) can please go ahead and install the latest patch version
 on master. 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.5 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
 [178.252.127.239 listed in dnsbl.sorbs.net]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (dgutov[at]yandex.ru)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
 mail domains are different
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [209.85.208.175 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [209.85.208.175 listed in wl.mailspike.net]
 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
 EnvelopeFrom freemail headers are different
X-Debbugs-Envelope-To: 39502
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Hi Wolfgang,

On 08.02.2020 1:52, Wolfgang Scherer wrote:
> Here is a patch that implements that.

Hopefully someone familiar with SRC can review this. If that doesn't 
happen in a reasonable amount of time, you (or someone else) can please 
go ahead and install the latest patch version on master.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39502; Package emacs. Full text available.

Message received at 39502 <at> debbugs.gnu.org:


Received: (at 39502) by debbugs.gnu.org; 8 Feb 2020 05:35:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 08 00:35:10 2020
Received: from localhost ([127.0.0.1]:50551 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j0Ilq-0005wz-JY
	for submit <at> debbugs.gnu.org; Sat, 08 Feb 2020 00:35:10 -0500
Received: from mout.gmx.net ([212.227.15.19]:36787)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Wolfgang.Scherer@HIDDEN>) id 1j0Ilo-0005wh-UI
 for 39502 <at> debbugs.gnu.org; Sat, 08 Feb 2020 00:35:09 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1581140102;
 bh=fxiuSpePFbYtMtGzzXSJ3TA2ZavWoAxvcxJ3dhon9mY=;
 h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To;
 b=d0nI7O7FM3xs1Nc+vg7bp/A32MNMt9vglXbvTkxly2KlNVFGMlRvbm3TYl1wfZKm5
 1kdy0mY9w34QtFkbDUwtMWi93PLBo60mvBcEo4C+cEcOIcTgd6pR0i1ygNmUs2k8Z1
 XZYoy+/QUuAVvGewUycECB+HkL1ZVtV+6ylqjXdw=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from sheckley.simul.de ([87.160.210.52]) by mail.gmx.com (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MOzT4-1jA95W2TOe-00PP3A for
 <39502 <at> debbugs.gnu.org>; Sat, 08 Feb 2020 06:35:02 +0100
Received: from [127.0.0.1] (sheckley.simul.de [127.0.0.1])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by sheckley.simul.de (Postfix) with ESMTPSA id 0881719431CB
 for <39502 <at> debbugs.gnu.org>; Sat,  8 Feb 2020 06:35:01 +0100 (CET)
Subject: Re: bug#39502: Acknowledgement ([PATCH] Use one src status -a call
 for vc-src-dir-status-files)
To: 39502 <at> debbugs.gnu.org
References: <2f9fe676-e135-a931-53bc-654954aead3c@HIDDEN>
 <handler.39502.B.158111597418374.ack <at> debbugs.gnu.org>
From: Wolfgang Scherer <Wolfgang.Scherer@HIDDEN>
Openpgp: preference=signencrypt
Autocrypt: addr=Wolfgang.Scherer@HIDDEN; prefer-encrypt=mutual; keydata=
 xsDiBEb46IgRBACMHOAb1KNo1Ylk+ebri+4R+bG4tyKlqBlrpv8D9/ZwRdXSGt+0DyCHoaAd
 7KW7noHapLe87DunABOjKG4nqTGv+dRiWu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5mbh
 dsLYyx7qthe4hOWnW54AoJQMfmHP4uUI6ji8VkdlvO8LKtLP
Message-ID: <f7e4b0c8-e66e-1024-dca2-b88e34ee275d@HIDDEN>
Date: Sat, 8 Feb 2020 06:35:01 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <handler.39502.B.158111597418374.ack <at> debbugs.gnu.org>
Content-Type: multipart/mixed; boundary="------------22F5438F6CDA6F0CC9DA3FB5"
Content-Language: de-DE
X-Provags-ID: V03:K1:D4sRkTiVNJAcRvJhGpOLaHCGyTlDQXj5gxuKQy82YtPkjOxr9QC
 ZL8aMaVYgMlHUx0GJkPEDhjjRgxRiiGCAl0ybGT/fi95DnSW62e1wk1jcc18eIc6Gh6YbUE
 6TglKU7NAhP4pzILx0vI0BeL7GGNfe5x+ObfnB7x3gdBq4sJ6Gv+OZvwJZokZESYzQ72ezM
 GBMi+4rF5Mnj/vZjb3XsQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:w1FMGPEIJ1E=:CnsAQPfNPquJrDITgkeBdh
 Gio0zUxoNj4FrA78GY4Eh7zSk4SeQZuxYWigzz/QBw50gMcTh6/dKTtFYB7uP6TerU6lCm/6+
 zWvIVBMZp9HvIwlxE4cGC3Yq/emXqsOwOUdbUZjx4MQMpNERODAQj5KllyPJFy3jaGbnyPyCc
 8fLgOpwxnRbKFg1qylS7r3qqcMGwp0vq0toVzQEJYsidBAyGSxkZVqcw1xIAWQkz9UcNrgvtj
 exP2dRmg5q6NZ14UBJy3iroYH8AwmFrIPNqmQTR8s1kwoK/tEvkRaJ1yWyYk3eHax/eyA/Suy
 F2OmBq9lLS4r1GxblaYfSZfDH9CiUeX3NOWP3JDJI7C3kUtq66mLUIWobG1MaVeoVdWOBgzCr
 bmZiiivI0oWV0sUEyr4WN79YOh3DdXFwU7FRAgR8e7XS7zVEsT+XTe6E5A6zkKgzFkpxsULUa
 nmzJKUyHS3kt+ldEOAme5lhG6i0RDM55NtrTZ8S5SZlOnBCmfvandh4/zDwAD/DynfAT/x55X
 3JobX/u7e4QZ7q6xAghGlmMV/9uwzXQ9wUwYM9w58tNKn61t7OLh5OC06AjFlgihfN7YIGIgG
 EQlzLDbhayvpHyhz09R2theqzXcVhN9Oif0ebnJeT6MwVw5QogkFdLyL1+fjdLaVod9+Lm4iZ
 G7b+yxDrXo/I+WgP/bz+KXzNmkPEGGRrym8baPgOjWoKLtZOUHxJ4HsTve1JuFYPrrZpaTn2n
 RXdA5x2s29cP1LKFoyKKk1/VrM2yW8nekyhtFTgYpG1Du+g9sUBn0RbFymyGyL1Ex+8YpIRUF
 6GDMxKZdhOlIANcGdI7uAW2glaReR8S3dG60XvAnE4D33kEFWR6qcm8ASFR34sI/JfbYS5Kkr
 JNTSRj71zFozmZyC4y89jHjueIf3kUZmxNKjsVRPmSqrJmIl83s/S64LVtZ1f5hEmmvRcGabQ
 /xv4bQB9BhbWbSthhCUxjYxr9qwIfojNrMVEHQhaczaYt3M7rxRi+ZyMRNwfV0B9GNM5NINNE
 kbhDZuWCrRQKkgiyDzzZevez9s4tNTiE9CZdXJGDDlLOY0imJcPQgUv170JoUaFIgVmj+mozt
 +CcOODLlrx293Ed1PJZjvFAn+lTdZ5R0K5Att9bGHszNsemVNZup/JLCLnn3ArB26b6XS9EkA
 zv2GQBypWMG/mAHeeUMIh2cBqx/dC/++P2NqsZvecHChegSbxgF2dA1F62iC02fuYdeqdop8r
 mejb1y8IRD2xJpK/7
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39502
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

This is a multi-part message in MIME format.
--------------22F5438F6CDA6F0CC9DA3FB5
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Additional recursion into sub-directories.

--------------22F5438F6CDA6F0CC9DA3FB5
Content-Type: text/x-patch;
 name="0001-Use-one-src-status-a-call-for-vc-src-dir-status-file.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename*0="0001-Use-one-src-status-a-call-for-vc-src-dir-status-file.pa";
 filename*1="tch"

=46rom 3ccf917bab849e438998d4717176efec46df6b98 Mon Sep 17 00:00:00 2001
From: Wolfgang Scherer <wolfgang.scherer@HIDDEN>
Date: Sat, 8 Feb 2020 06:15:10 +0100
Subject: [PATCH] Use one src status -a call for vc-src-dir-status-files
MIME-Version: 1.0
Content-Type: text/plain; charset=3DUTF-8
Content-Transfer-Encoding: 8bit

lisp/vc/vc-src.el: (vc-src--parse-state) new function.
(vc-src-state) use vc-src--parse-state.
(vc-src-dir-status-files) use recursive calls to =E2=80=98src status -a=E2=
=80=99.
=2D--
 lisp/vc/vc-src.el | 90 +++++++++++++++++++++++++++++++++++---------------=
-----
 1 file changed, 58 insertions(+), 32 deletions(-)

diff --git a/lisp/vc/vc-src.el b/lisp/vc/vc-src.el
index db127ee..ca1b7d6 100644
=2D-- a/lisp/vc/vc-src.el
+++ b/lisp/vc/vc-src.el
@@ -146,49 +146,75 @@ For a description of possible values, see `vc-check-=
master-templates'."
 (progn
 (defun vc-src-registered (f) (vc-default-registered 'src f)))

+(defun vc-src--parse-state (out)
+  (when (null (string-match "does not exist or is unreadable" out))
+    (let ((state (aref out 0)))
+      (cond
+       ;; FIXME: What to do about L code?
+       ((eq state ?.) 'up-to-date)
+       ((eq state ?A) 'added)
+       ((eq state ?M) 'edited)
+       ((eq state ?I) 'ignored)
+       ((eq state ?R) 'removed)
+       ((eq state ?!) 'missing)
+       ((eq state ??) 'unregistered)
+       (t 'up-to-date)))))
+
 (defun vc-src-state (file)
   "SRC-specific version of `vc-state'."
   (let*
       ((status nil)
        (default-directory (file-name-directory file))
        (out
-	(with-output-to-string
-	  (with-current-buffer
-	      standard-output
-	    (setq status
-		  ;; Ignore all errors.
-		  (condition-case nil
-		      (process-file
-		       vc-src-program nil t nil
-		       "status" "-a" (file-relative-name file))
-		    (error nil)))))))
+        (with-output-to-string
+          (with-current-buffer
+              standard-output
+            (setq status
+                  ;; Ignore all errors.
+                  (condition-case nil
+                      (process-file
+                       vc-src-program nil t nil
+                       "status" "-a" (file-relative-name file))
+                    (error nil)))))))
     (when (eq 0 status)
-      (when (null (string-match "does not exist or is unreadable" out))
-	(let ((state (aref out 0)))
-	  (cond
-	   ;; FIXME: What to do about A and L codes?
-	   ((eq state ?.) 'up-to-date)
-	   ((eq state ?A) 'added)
-	   ((eq state ?M) 'edited)
-	   ((eq state ?I) 'ignored)
-	   ((eq state ?R) 'removed)
-	   ((eq state ?!) 'missing)
-	   ((eq state ??) 'unregistered)
-	   (t 'up-to-date)))))))
+      (vc-src--parse-state out))))

 (autoload 'vc-expand-dirs "vc")

 (defun vc-src-dir-status-files (dir files update-function)
-  ;; FIXME: Use one src status -a call for this
-  (if (not files) (setq files (vc-expand-dirs (list dir) 'SRC)))
-  (let ((result nil))
-    (dolist (file files)
-      (let ((state (vc-state file))
-	    (frel (file-relative-name file)))
-	(when (and (eq (vc-backend file) 'SRC)
-		   (not (eq state 'up-to-date)))
-	  (push (list frel state) result))))
-    (funcall update-function result)))
+  (let*
+      ((result nil)
+       (status nil)
+       (default-directory (or dir default-directory))
+       (out
+        (with-output-to-string
+          (with-current-buffer
+              standard-output
+            (setq status
+                  ;; Ignore all errors.
+                  (condition-case nil
+                      (apply
+                       #'process-file vc-src-program nil t nil
+                       "status" "-a"
+                       (mapcar (lambda (f) (file-relative-name f)) files)=
)
+                    (error nil))))))
+       dlist)
+    (when (eq 0 status)
+      (dolist (line (split-string out "[\n\r]" t))
+        (let* ((pair (split-string line "[\t]" t))
+               (state (vc-src--parse-state (car pair)))
+               (frel (cadr pair)))
+          (if (file-directory-p frel)
+              (push frel dlist)
+            (when (not (eq state 'up-to-date))
+              (push (list frel state) result)))
+          ))
+      (dolist (drel dlist)
+        (let* ((dresult (vc-src-dir-status-files (expand-file-name drel) =
nil #'identity)))
+          (dolist (dres dresult)
+            (push (list (concat (file-name-as-directory drel) (car dres))=
 (cadr dres)) result)))
+            )
+      (funcall update-function result))))

 (defun vc-src-command (buffer file-or-list &rest flags)
   "A wrapper around `vc-do-command' for use in vc-src.el.
=2D-
2.7.4


--------------22F5438F6CDA6F0CC9DA3FB5--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39502; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Feb 2020 22:52:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 07 17:52:54 2020
Received: from localhost ([127.0.0.1]:50405 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j0CUY-0004mI-2a
	for submit <at> debbugs.gnu.org; Fri, 07 Feb 2020 17:52:54 -0500
Received: from lists.gnu.org ([209.51.188.17]:41877)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Wolfgang.Scherer@HIDDEN>) id 1j0CUW-0004mA-47
 for submit <at> debbugs.gnu.org; Fri, 07 Feb 2020 17:52:53 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:56629)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <Wolfgang.Scherer@HIDDEN>) id 1j0CUU-00088P-Hx
 for bug-gnu-emacs@HIDDEN; Fri, 07 Feb 2020 17:52:51 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
 RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Wolfgang.Scherer@HIDDEN>) id 1j0CUT-0002LT-4o
 for bug-gnu-emacs@HIDDEN; Fri, 07 Feb 2020 17:52:50 -0500
Received: from mout.gmx.net ([212.227.17.22]:42343)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <Wolfgang.Scherer@HIDDEN>)
 id 1j0CUS-0002K2-N1
 for bug-gnu-emacs@HIDDEN; Fri, 07 Feb 2020 17:52:49 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1581115966;
 bh=CJ8tMKmX/SYGgjFdU2DG/GOP8RZo0ulAaAbTsKjB5EU=;
 h=X-UI-Sender-Class:To:From:Subject:Date;
 b=bNt3sb5YpMMXKdhWEtAjxYzOAMqQDK33L2qvI/Bh/2MvyepRsj+6HFbf1hafMkVCV
 tKWCeTIZviOnxqZ92Tmviv5ccaAOk3vkZPfel6VVPNuqnUgux+Erh9p2XEgZols90W
 prxOy831qV0Xg4/rWtGhRZL1n7hstX6oqJCe45e8=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from sheckley.simul.de ([87.160.210.52]) by mail.gmx.com (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N2mBQ-1jeeaA0CFQ-0138s3 for
 <bug-gnu-emacs@HIDDEN>; Fri, 07 Feb 2020 23:52:46 +0100
Received: from [127.0.0.1] (sheckley.simul.de [127.0.0.1])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by sheckley.simul.de (Postfix) with ESMTPSA id A3E7419431CB
 for <bug-gnu-emacs@HIDDEN>; Fri,  7 Feb 2020 23:52:45 +0100 (CET)
To: Emacs Bugs <bug-gnu-emacs@HIDDEN>
From: Wolfgang Scherer <Wolfgang.Scherer@HIDDEN>
Subject: [PATCH] Use one src status -a call for vc-src-dir-status-files
Openpgp: preference=signencrypt
Autocrypt: addr=Wolfgang.Scherer@HIDDEN; prefer-encrypt=mutual; keydata=
 xsDiBEb46IgRBACMHOAb1KNo1Ylk+ebri+4R+bG4tyKlqBlrpv8D9/ZwRdXSGt+0DyCHoaAd
 7KW7noHapLe87DunABOjKG4nqTGv+dRiWuUBlp3I4aYRFDVa3Da+XnIYkMHKqhK59VEHQCdp
 Km42nuLS7TS+n99at9YwzTG6VBdOlBKTlRFngOjVLwCg1RGXJ6X3EjS1FKCQeXziURVpWlkD
 /2zY6Ayhxi62TS84VjikXrrmjXykAAaAmMVEyKKYb9L5pGlqiZz9g/K9xw1EUoZTYuaufquD
 v4rAGR58K/3V4CYfJLEeshMWiaXHvMmlxMznlG16/um4MvmR8B3r+cx0nOPK1JBdD2qrkNnF
 Mw8FB+zouLFB4Gt2IUC5IlOmZ8OQA/4qdU53CItzWsCr9Nux4L0qUlRweSmCnV8xGQ2wP5XI
 MawIQxxREvSrsYDG8cNnYETMg4iQFfIktwAoxCJvuFAwIB6ZxHGF4FcEZm64CXc2u7CmFLqt
 rVhXhIfMz9oEYC+HhGczGamn9ofbGTFd2hJEtPcQgWNR4f7+aKknmi2+OM0fV29sZmdhbmcg
 U2NoZXJlciA8d3NAc3ctYW10LndzPsJhBBMRAgAhBQJYmz3YAhsjBQsJCAcCBhUICQoLAgQW
 AgMBAh4BAheAAAoJEIUCr3Gr112VZZoAoLTBSTp1qGuNhLdXY04iaWCMYmHCAJ4kHPtQ6nTw
 kEq9qCHgVgXDaY7wjs7ATQRG+OiIEAQAhi0wjcxvA4tychg2NQuwBIf9LX/46l+74+QbewCn
 a4a+mw/9s5KYqLGtYMuu3/KYq9yBd53OYc7LWTLMxsGOIATSOQRhdCKYW1AanupYrC/bKNW/
 8i2QEXc7LIeYiaII0TkVdQTVZxrg9kKLQ+Vf6z04Lbfv91sVCkHKI9jxgVMAAwUD/0mkDeN0
 tllPH+NOjbkkqlOj6UOwzwIYgXmALhuAEFGXVLM2HfRV9TtJa2OoGZiuhyGXat3Jl9QK9NNv
 d/J4HSal93ZHWstPU4YIRc5uhJ1eeWwKsfTmPvbZXMKMkh+hBBJ39SZnmxfoeUzkK0EQNE2p
 PZDyjAlz03qOx6D0DHnZwkkEGBECAAkFAkb46IgCGwwACgkQhQKvcavXXZU8PwCdGmUH5mbh
 dsLYyx7qthe4hOWnW54AoJQMfmHP4uUI6ji8VkdlvO8LKtLP
Message-ID: <2f9fe676-e135-a931-53bc-654954aead3c@HIDDEN>
Date: Fri, 7 Feb 2020 23:52:45 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.9.1
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------388C5D07AC57D95D935C4275"
Content-Language: de-DE
X-Provags-ID: V03:K1:nyPY6Q6raNu9H6S45Hw313IsYcxDn89VLaFn4d9b3ZD+eVpsLJr
 Gdvt11gBFvV5j53e1sOHSJnLBdL5jk+8+CZGEisdglvcyhtjkloN5G3HPNzuduSG6J7GQ2b
 fYTe7YVFqXs/GgzDBFLNVw7/CB7Hu71UQWKH8qr7AYuUaQz86gmiIrquWxWv78Y3x6+tG6m
 aL0ene+3ERtMMdDeZqXFw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:b7LV9JZm4d8=:tPEUOFMZD2SqGJMs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BFzM+ioOMsNfOSYSZf61hbBlyh6lsnly5EgBnnCSZ4vitJHF
 g5W/Fe5QsJeZga+GcgIw/j/mXvi2d3LSkmijPx14hb/361pu8FgBQu8W/6hERnJzkiFGbo3CY
 1Il/xh2guN49kj5XZCeCjkFQWTwtogy7sK3oHC4BEQGgGa4/BimkU5gYavmEw/O+7f9Zq+k/8
 Ig5xz7nO8dAzUZ0Be
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 212.227.17.22
X-Spam-Score: 2.2 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  While working on the ignore feature for SRC, I found that
   unregistered files were not displayed in vc-dir-mode. The source code specified
    in a comment:    ;; FIXME: Use one src status -a call for this 
 
 Content analysis details:   (2.2 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
                             blocked.  See
                             http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
                              for more information.
                             [URIs: gmx.de]
  0.9 SPF_FAIL               SPF: sender does not match SPF record (fail)
 [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=wolfgang.scherer%40gmx.de;ip=209.51.188.17;r=debbugs.gnu.org]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (wolfgang.scherer[at]gmx.de)
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [209.51.188.17 listed in list.dnswl.org]
  2.0 SPOOFED_FREEMAIL       No description available.
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

This is a multi-part message in MIME format.
--------------388C5D07AC57D95D935C4275
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

While working on the ignore feature for SRC, I found that unregistered fil=
es were not displayed in vc-dir-mode.

The source code specified in a comment:

=C2=A0=C2=A0 ;; FIXME: Use one src status -a call for this

Here is a patch that implements that.


--------------388C5D07AC57D95D935C4275
Content-Type: text/x-patch;
 name="0001-Use-one-src-status-a-call-for-vc-src-dir-status-file.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename*0="0001-Use-one-src-status-a-call-for-vc-src-dir-status-file.pa";
 filename*1="tch"

=46rom 5c3dd425d30ecb7f6afe4748d10f398dfda11ca8 Mon Sep 17 00:00:00 2001
From: Wolfgang Scherer <wolfgang.scherer@HIDDEN>
Date: Fri, 7 Feb 2020 23:46:48 +0100
Subject: [PATCH] Use one src status -a call for vc-src-dir-status-files
MIME-Version: 1.0
Content-Type: text/plain; charset=3DUTF-8
Content-Transfer-Encoding: 8bit

lisp/vc/vc-src.el: (vc-src--parse-state) new function.
(vc-src-state) use vc-src--parse-state.
(vc-src-dir-status-files) use a single call to =E2=80=98src status -a=E2=
=80=99.
=2D--
 lisp/vc/vc-src.el | 80 ++++++++++++++++++++++++++++++++++----------------=
-----
 1 file changed, 49 insertions(+), 31 deletions(-)

diff --git a/lisp/vc/vc-src.el b/lisp/vc/vc-src.el
index db127ee..8f0836f 100644
=2D-- a/lisp/vc/vc-src.el
+++ b/lisp/vc/vc-src.el
@@ -146,48 +146,66 @@ For a description of possible values, see `vc-check-=
master-templates'."
 (progn
 (defun vc-src-registered (f) (vc-default-registered 'src f)))

+(defun vc-src--parse-state (out)
+  (when (null (string-match "does not exist or is unreadable" out))
+    (let ((state (aref out 0)))
+      (cond
+       ;; FIXME: What to do about L code?
+       ((eq state ?.) 'up-to-date)
+       ((eq state ?A) 'added)
+       ((eq state ?M) 'edited)
+       ((eq state ?I) 'ignored)
+       ((eq state ?R) 'removed)
+       ((eq state ?!) 'missing)
+       ((eq state ??) 'unregistered)
+       (t 'up-to-date)))))
+
 (defun vc-src-state (file)
   "SRC-specific version of `vc-state'."
   (let*
       ((status nil)
        (default-directory (file-name-directory file))
        (out
-	(with-output-to-string
-	  (with-current-buffer
-	      standard-output
-	    (setq status
-		  ;; Ignore all errors.
-		  (condition-case nil
-		      (process-file
-		       vc-src-program nil t nil
-		       "status" "-a" (file-relative-name file))
-		    (error nil)))))))
+        (with-output-to-string
+          (with-current-buffer
+              standard-output
+            (setq status
+                  ;; Ignore all errors.
+                  (condition-case nil
+                      (process-file
+                       vc-src-program nil t nil
+                       "status" "-a" (file-relative-name file))
+                    (error nil)))))))
     (when (eq 0 status)
-      (when (null (string-match "does not exist or is unreadable" out))
-	(let ((state (aref out 0)))
-	  (cond
-	   ;; FIXME: What to do about A and L codes?
-	   ((eq state ?.) 'up-to-date)
-	   ((eq state ?A) 'added)
-	   ((eq state ?M) 'edited)
-	   ((eq state ?I) 'ignored)
-	   ((eq state ?R) 'removed)
-	   ((eq state ?!) 'missing)
-	   ((eq state ??) 'unregistered)
-	   (t 'up-to-date)))))))
+      (vc-src--parse-state out))))

 (autoload 'vc-expand-dirs "vc")

 (defun vc-src-dir-status-files (dir files update-function)
-  ;; FIXME: Use one src status -a call for this
-  (if (not files) (setq files (vc-expand-dirs (list dir) 'SRC)))
-  (let ((result nil))
-    (dolist (file files)
-      (let ((state (vc-state file))
-	    (frel (file-relative-name file)))
-	(when (and (eq (vc-backend file) 'SRC)
-		   (not (eq state 'up-to-date)))
-	  (push (list frel state) result))))
+  (let*
+      ((result nil)
+       (status nil)
+       (default-directory (or dir default-directory))
+       (out
+        (with-output-to-string
+          (with-current-buffer
+              standard-output
+            (setq status
+                  ;; Ignore all errors.
+                  (condition-case nil
+                      (apply
+                       #'process-file vc-src-program nil t nil
+                       "status" "-a"
+                       (mapcar (lambda (f) (file-relative-name f)) files)=
)
+                    (error nil)))))))
+    (when (eq 0 status)
+      (dolist (line (split-string out "[\n\r]" t))
+        (let* ((pair (split-string line "[\t]" t))
+               (state (vc-src--parse-state (car pair)))
+               (frel (cadr pair)))
+          (when (not (eq state 'up-to-date))
+            (push (list frel state) result))
+          )))
     (funcall update-function result)))

 (defun vc-src-command (buffer file-or-list &rest flags)
=2D-
2.7.4


--------------388C5D07AC57D95D935C4275--




Acknowledgement sent to Wolfgang Scherer <Wolfgang.Scherer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#39502; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 10 Feb 2020 01:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.