From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: master c8ee570: Suppress undesired error messages in filenotify-tests.el Date: Wed, 08 Feb 2017 12:40:07 -0500 Message-ID: <5fh944r37s.fsf@fencepost.gnu.org> References: <20170207204223.17232.75787@vcs0.savannah.gnu.org> <20170207204224.F29C22301C@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1486575664 5290 195.159.176.226 (8 Feb 2017 17:41:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2017 17:41:04 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: Michael Albinus To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 08 18:41:00 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 1cbWEl-00012e-WD for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2017 18:41:00 +0100 Original-Received: from localhost ([::1]:60729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbWEr-0005cU-MR for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2017 12:41:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbWDy-0004sL-Dd for emacs-devel@gnu.org; Wed, 08 Feb 2017 12:40:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbWDx-0007Io-Hr for emacs-devel@gnu.org; Wed, 08 Feb 2017 12:40:10 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbWDx-0007Ij-Ev; Wed, 08 Feb 2017 12:40:09 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cbWDv-0005fs-FT; Wed, 08 Feb 2017 12:40:07 -0500 X-Spook: Albania Suicide attack Burn Strain Zachawi Subway Mara X-Ran: ?mG\O&u$(4>2SZ"yY"*C)YB\{tnnn69zorSWgV:9)[gVEJ-q>r,hqBI#IQAatOIIt_e\aV X-Hue: black X-Attribution: GM In-Reply-To: <20170207204224.F29C22301C@vcs0.savannah.gnu.org> (Michael Albinus's message of "Tue, 7 Feb 2017 15:42:24 -0500 (EST)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:212141 Archived-At: Michael Albinus wrote: > branch: master > commit c8ee570a8be7afaae3ea318b9d7dbffb62a7bbd0 > Author: Michael Albinus > Commit: Michael Albinus > > Suppress undesired error messages in filenotify-tests.el [...] > --- 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?