From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 5e43955 1/2: Don't declare vc-exec-after anymore Date: Thu, 22 Oct 2015 18:04:39 +0300 Message-ID: <83eggnt054.fsf@gnu.org> References: <20151020190758.14547.6515@vcs.savannah.gnu.org> <5628D1C5.4070300@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445526313 6460 80.91.229.3 (22 Oct 2015 15:05:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 15:05:13 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 22 17:05:03 2015 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 1ZpHQK-0004Oa-4K for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 17:05:00 +0200 Original-Received: from localhost ([::1]:60531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHQJ-00004s-Cf for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 11:04:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHQ3-0008W4-BO for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:04:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpHPz-00068j-86 for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:04:43 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:47550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHPy-00068J-W5 for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:04:39 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NWM00100MX1H200@mtaout27.012.net.il> for emacs-devel@gnu.org; Thu, 22 Oct 2015 18:00:23 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWM00INPN0N7480@mtaout27.012.net.il>; Thu, 22 Oct 2015 18:00:23 +0300 (IDT) In-reply-to: <5628D1C5.4070300@yandex.ru> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192396 Archived-At: > From: Dmitry Gutov > Date: Thu, 22 Oct 2015 15:08:37 +0300 > Cc: emacs-devel > > address@hidden:\...\vc> for %i in (svn mtn hg cvs git bzr) do emacs -batch -Q > -f batch-byte-compile vc-%i.el > > In end of data: > vc-mtn.el:378:1:Warning: the function `vc-exec-after' might not be > defined at > runtime. > > No direct calls to vc-exec-after appear in any of these files anymore. All of them call vc-run-delayed, yet, as you say, the warning is displayed only when compiling some of them. FWIW, on my system I see that warning with all the vc-*.el files that call vc-run-delayed. The only exception is vc-svn.el, and the reason is this single line: (autoload 'vc-expand-dirs "vc") If you remove it, the warning will appear in vc-svn.el as well. (Loading vc loads vc-dispatcher as a side effect.) Another data point: replace this: (eval-when-compile (require 'vc)) with this: (require 'vc) and the warning also goes way. So evidently there's some difference between these two, or maybe a byte-compiler bug.