From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: How do I clean up "might not be defined" wrnings? Date: Fri, 21 Nov 2014 17:03:57 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20141121220357.GA24313@thyrsus.com> References: <20141121192849.B55E1382F6B@snark.thyrsus.com> <87h9xs8bd6.fsf@thinkpad-t440p.tsdh.org> Reply-To: esr@thyrsus.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1416607467 19424 80.91.229.3 (21 Nov 2014 22:04:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Nov 2014 22:04:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 21 23:04:21 2014 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 1XrwJR-0002wH-II for ged-emacs-devel@m.gmane.org; Fri, 21 Nov 2014 23:04:21 +0100 Original-Received: from localhost ([::1]:42618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrwJR-0002bw-4d for ged-emacs-devel@m.gmane.org; Fri, 21 Nov 2014 17:04:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrwJ8-0002bk-EN for emacs-devel@gnu.org; Fri, 21 Nov 2014 17:04:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrwJ4-0006mm-6J for emacs-devel@gnu.org; Fri, 21 Nov 2014 17:04:02 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:55468 helo=snark.thyrsus.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrwJ4-0006mY-30 for emacs-devel@gnu.org; Fri, 21 Nov 2014 17:03:58 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 1000) id 8CABC3830C3; Fri, 21 Nov 2014 17:03:57 -0500 (EST) Content-Disposition: inline In-Reply-To: <87h9xs8bd6.fsf@thinkpad-t440p.tsdh.org> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 71.162.243.5 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:177960 Archived-At: Tassilo Horn : > esr@snark (Eric S. Raymond) writes: > > > I've started a significant refactoring and simplification of the VC > > code. This has involved moving functions to different files, which is > > causing "functions might not be defined" warnings. > > > > What is the approved way to prevent these or clean them up? > > ,----[ C-h f declare-function RET ] > | declare-function is a Lisp macro in `subr.el'. This clears up "might not be defined", but doesn't seem to address "might not be defined at runtime". -- Eric S. Raymond