From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: master c8ee570: Suppress undesired error messages in filenotify-tests.el Date: Wed, 08 Feb 2017 19:00:02 +0100 Message-ID: <87r3387ecd.fsf@gmx.de> References: <20170207204223.17232.75787@vcs0.savannah.gnu.org> <20170207204224.F29C22301C@vcs0.savannah.gnu.org> <5fh944r37s.fsf@fencepost.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1486576875 11712 195.159.176.226 (8 Feb 2017 18:01:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2017 18:01:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 08 19:01:04 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbWYC-0002XE-EX for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2017 19:01:04 +0100 Original-Received: from localhost ([::1]:60778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbWYH-0003Ev-Ri for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2017 13:01:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbWXN-0003As-Pt for emacs-devel@gnu.org; Wed, 08 Feb 2017 13:00:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbWXH-0004z2-E4 for emacs-devel@gnu.org; Wed, 08 Feb 2017 13:00:13 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:54084) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbWXH-0004wq-4B; Wed, 08 Feb 2017 13:00:07 -0500 Original-Received: from detlef.gmx.de ([93.197.208.125]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M6zkD-1cGOkj1xav-00wlkv; Wed, 08 Feb 2017 19:00:04 +0100 In-Reply-To: <5fh944r37s.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 08 Feb 2017 12:40:07 -0500") X-Provags-ID: V03:K0:N9VcXOG5GXSmICYH7kzK58vE5W/KRhqn2Tpj/cSuBOjKXhESiwG aWduEuUn1E4vMYlIUMZoG1vcOkQTmLMp3Ko99EQsioYSB/OqXuC3r80yiXkpouCsiKw3RG0 vu8S+7Dzpsx5uUgn5Ysj/IDF4lkRNK+rnJwT4UEC9WclJYK962Q+xLKR+DnROaWcSRbLaDX ecT6bvO/VNyKOaOnPRiQw== X-UI-Out-Filterresults: notjunk:1;V01:K0:nWiBd/YNpHY=:FDdrrPJsEx8LvxCEoRR70p rDws7+ZFDnZRsEPJIWHqGmvtXz8dqq1Bh0CL/bsWDwK7ArdOqf1hVF8GvZcmLjL2Uh1rT8I7S Iwp2OXJZYnrqRbM10eWbXImvzPT2o4OfYmhqwfFlHdFuMWUXtOfokOCcMIzAFpdgGJzZubF2b 5hZD5Ks9QQeHEfjRHHAgLcKsWsbHP3VnQ0dMVtstSRFHJVuIIPjtB8+PwzF8UZfsKzOXQ4WQj 5EJ2W/ZPOWonCwmA5hCVoiIqBHhxgG61bxELHLQtT1aOFjUCXG7cgZjXUZRz2WAV+Uau+vJIB Io5EtdXrfHmPsdFtyK/ediOs2S4WEHoQOwp0q9U8xnyc2kElbTTLkFR1LKSDOhgM0DhTkG1t2 B5L08SvqGAhDQ/VFz1FI3TS8wpOnTNTELgtWF8iId572jNUMfqBNpsgBTORSSaIKga3/WcTIT TodVnp3QcjnqZUmfhDbgvP3tkS3MNFLtM6/v4YTh2O5lmV/H/9+49U9zXOg13c0YiyiyU1twH reHYJYyFKICe7VIa6gG5AEeE4KUeVoCDbiq4whXx/HdMVROOV8wi0VoGcX4EZtcTWhd8u3hF6 pMEBSeALVl6NTxmLX83pHjLDc3ei1zhHwDu4fFlL4furQdP24wJFVyyZKnUDc0I5GtWNTudOX WUNUYU0b6/7BrEQRNnsrymKZa3ILUPqXNhtry3xjveYM4rgXAPNbLHc+MssqCTPC3MjSd0ewL TtdPmcJrr1MA9ZSwC5IsCO6P5P0MCZXX+bAU1HSD3ujONMk3NnBq/42CJ58C4XKGummUVdjz X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.19 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:212144 Archived-At: Glenn Morris writes: >> --- a/test/lisp/filenotify-tests.el >> +++ b/test/lisp/filenotify-tests.el >> @@ -665,6 +665,9 @@ delivered." >> (setq auto-revert-notify-exclude-dir-regexp "nothing-to-be-excluded" >> auto-revert-remote-files t >> auto-revert-stop-on-user-input nil) >> +;; In the remote case, `vc-refresh-state' returns undesired error >> +;; messages. Let's suppress them. >> +(defalias 'vc-refresh-state 'ignore) > > > Hi - this means that loading filenotify-tests.el breaks Emacs VC normal > operation for the rest of the session, which seems undesirable. Is there > an alternative solution? I'm aware of the problem. I've tried to use `cl-letf' in the test. Unfortunately, this doesn't work, because the revert is called when an event arrives; the `cl-letf' settings do not work there. Hmmm. Usually, the test is not called by average Emacs users, so I believe it would be acceptable. If not, we must find something else. Best regards, Michael.