From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: (if (and (featurep 'xemacs) blah) not optimized anymore Date: Sun, 21 Oct 2007 20:00:55 -0700 Message-ID: <200710220300.l9M30tGB003742@oogie-boogie.ics.uci.edu> References: <200710201609.l9KG9PFJ006092@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193022185 8961 80.91.229.12 (22 Oct 2007 03:03:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2007 03:03:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 22 05:03:03 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IjnZH-0004q0-KF for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2007 05:03:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjnZ9-0003Q1-RN for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 23:02:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IjnZ7-0003PF-8t for emacs-devel@gnu.org; Sun, 21 Oct 2007 23:02:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IjnZ5-0003MX-N0 for emacs-devel@gnu.org; Sun, 21 Oct 2007 23:02:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjnZ5-0003MN-Gr for emacs-devel@gnu.org; Sun, 21 Oct 2007 23:02:51 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IjnZ4-00037M-Sv for emacs-devel@gnu.org; Sun, 21 Oct 2007 23:02:51 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l9M30tGB003742; Sun, 21 Oct 2007 20:00:55 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Sun\, 21 Oct 2007 16\:10\:24 -0400") Original-Lines: 32 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81423 Archived-At: Stefan Monnier writes: > > Byte compiling this: > > > (if (and (featurep 'xemacs) blah) > > (foo)) > > > with emacs-22.1 does not result in any warning, doing it with the > > emacs from trunk results in this: > > > In end of data: > > foo.el:2:11:Warning: the function `foo' is not known to be defined. > > > Any idea what went wrong? > > Stupid typo. Sorry. Should be fixed now, Thanks! Can you please take a look at these: In end of data: printing.el:6704:1:Warning: the following functions are not known to be defined: pr-menu-lookup, pr-menu-alist, pr-even-or-odd-pages, pr-menu-get-item, pr-menu-set-item-name, pr-menu-lock, pr-menu-set-utility-title, pr-menu-set-ps-title, pr-menu-set-txt-title, pr-region-active-p, pr-do-update-menus, pr-update-mode-line, pr-f-read-string, pr-f-set-keymap-parents, pr-keep-region-active The functions are defined inside a cond. Is the byte compiler supposed to deal with that?