From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: message-fetch-field vs require Date: Thu, 24 Dec 2015 18:25:21 +0100 Message-ID: <87ziwzsqri.fsf@gnus.org> References: <86615aet2v.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450977981 13962 80.91.229.3 (24 Dec 2015 17:26:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Dec 2015 17:26:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 24 18:26:11 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 1aC9eT-0004YV-3H for ged-emacs-devel@m.gmane.org; Thu, 24 Dec 2015 18:26:09 +0100 Original-Received: from localhost ([::1]:32833 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC9eS-00015B-9v for ged-emacs-devel@m.gmane.org; Thu, 24 Dec 2015 12:26:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC9eA-00014r-Mz for emacs-devel@gnu.org; Thu, 24 Dec 2015 12:25:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aC9e5-0007GU-Ke for emacs-devel@gnu.org; Thu, 24 Dec 2015 12:25:50 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:59261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC9e5-0007FM-Dl for emacs-devel@gnu.org; Thu, 24 Dec 2015 12:25:45 -0500 Original-Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aC9di-0001do-0i; Thu, 24 Dec 2015 18:25:22 +0100 In-Reply-To: <86615aet2v.fsf@stephe-leake.org> (Stephen Leake's message of "Thu, 23 Jul 2015 11:28:56 -0500") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aC9di-0001do-0i MailScanner-NULL-Check: 1451582722.88314@yACzHJ4/F7j8UZmHVkfPXA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:196772 Archived-At: Stephen Leake writes: > I've got a function that uses message-fetch-field. The file has (require > 'message). But the byte compiler still complains: > > bzr-gnus.el:155:1:Warning: the following functions might not be defined at > runtime: message-fetch-field, mm-save-part-to-file > > I've tried wrapping the require in "eval-and-compile"; no help. > > Can anyone explain what's going on? No, sounds really odd to me. `message-fetch-field' is a totally normal function, so if you require `message' (and your load path points to the version of message.el you're really using), then this shouldn't be happening... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no