From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: pacifying "might not be defined at runtime" warning Date: Mon, 9 May 2016 09:35:41 -0700 Organization: UCLA Computer Science Department Message-ID: <85e67092-e3ae-b38c-6587-6ed61a445949@cs.ucla.edu> References: <573031FB.8090709@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1462811776 28456 80.91.229.3 (9 May 2016 16:36:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 May 2016 16:36:16 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 09 18:36:08 2016 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 1azoAA-00035e-VI for ged-emacs-devel@m.gmane.org; Mon, 09 May 2016 18:36:07 +0200 Original-Received: from localhost ([::1]:42162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azoA6-0000Cg-VO for ged-emacs-devel@m.gmane.org; Mon, 09 May 2016 12:36:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azo9r-0000BM-4u for emacs-devel@gnu.org; Mon, 09 May 2016 12:35:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azo9n-0004Ql-Sg for emacs-devel@gnu.org; Mon, 09 May 2016 12:35:46 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:56995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azo9n-0004QY-Md for emacs-devel@gnu.org; Mon, 09 May 2016 12:35:43 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D6D1E1611B7; Mon, 9 May 2016 09:35:42 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id znti9tt_PNyU; Mon, 9 May 2016 09:35:42 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2861716126C; Mon, 9 May 2016 09:35:42 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Gw3b8ZROzJnj; Mon, 9 May 2016 09:35:42 -0700 (PDT) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 0FC5C1611B7; Mon, 9 May 2016 09:35:42 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:203727 Archived-At: On 05/09/2016 05:20 AM, Stefan Monnier wrote: > vc-.el is autoloaded as soon as you visit > a file that's managed by , even if you never have and never > will use VC, so a (require 'vc) in those files would load VC > too eagerly. Thanks for explaining. What is the recommended way to pacify the byte=20 compiler in this situation? I tried prepending (eval-when-compile=20 (require 'vc)) to vc-bzr.el, but that doesn=E2=80=99t suffice, as the=20 byte-compiler still complains =E2=80=9Cvc/vc-bzr.el:1337:1:Warning: the f= unction=20 =E2=80=98vc-deduce-fileset=E2=80=99 might not be defined at runtime.=E2=80= =9D