From unknown Sun Sep 07 17:04:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#11692 <11692@debbugs.gnu.org> To: bug#11692 <11692@debbugs.gnu.org> Subject: Status: (featurep 'xemacs) not protecting against warnings Reply-To: bug#11692 <11692@debbugs.gnu.org> Date: Mon, 08 Sep 2025 00:04:57 +0000 retitle 11692 (featurep 'xemacs) not protecting against warnings reassign 11692 emacs submitter 11692 Juanma Barranquero severity 11692 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 13 07:27:28 2012 Received: (at submit) by debbugs.gnu.org; 13 Jun 2012 11:27:28 +0000 Received: from localhost ([127.0.0.1]:40545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SeljU-0004Ch-7r for submit@debbugs.gnu.org; Wed, 13 Jun 2012 07:27:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35587) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SeljS-0004Ca-Ag for submit@debbugs.gnu.org; Wed, 13 Jun 2012 07:27:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Selgf-0001A5-5R for submit@debbugs.gnu.org; Wed, 13 Jun 2012 07:24:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:37650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Selge-00019z-UJ for submit@debbugs.gnu.org; Wed, 13 Jun 2012 07:24:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SelgY-0003rc-Qg for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 07:24:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SelgS-00018m-Ki for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 07:24:26 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:38604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SelgS-00018c-CG for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 07:24:20 -0400 Received: by pbbrp2 with SMTP id rp2so2384738pbb.0 for ; Wed, 13 Jun 2012 04:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=gHa5oiAJqb6FT7Gdexx+DJ4dyDZSretXUcwaIhzJtfY=; b=nFbI4ZHCYMPGafOszFniFKNGk/XodyWP4YVxXvkBDlThfGZsnq+inrdLYngFUtd93D 2DSezZVeLYlCXc/ZMsdsqqdt1gt+kC9KzI3LBLoUQOyQhEafpC4rOxgZ9hzRivfJs8/Q qb2G2hyyVQ/SHMV4tFboMWPnh0BHjhTRKu+KUtzReVl08IpOkpPJ4SzEgRQQRZGp5IMF HAMDGh2/Nop8sPPGcm1DBX5GgUa7uYlm4kn/eksUuAuu7fLRcG9GeYQ8IlgoPHLhtw0a Zlgq8xu7qQsXOLxn0LzC6qf4E8ImtVY2UmhSFGkf+2FP/dem+XhhtFYSqNk1bx4aDAbC xGMA== Received: by 10.68.212.138 with SMTP id nk10mr50423118pbc.93.1339586657931; Wed, 13 Jun 2012 04:24:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.162.16 with HTTP; Wed, 13 Jun 2012 04:23:36 -0700 (PDT) From: Juanma Barranquero Date: Wed, 13 Jun 2012 13:23:36 +0200 Message-ID: Subject: (featurep 'xemacs) not protecting against warnings To: Bug-Gnu-Emacs Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Package: emacs Version: 24.1.50 Severity: minor New "not known to be defined" warnings are thrown for some (not all) unknown functions protected with (if (featurep 'xemacs) (xemacs-func) (emacs-func)) or (cond ((featurep 'xemacs) (xemacs-func)) (t (emacs-func))) Some examples: emulation/edt-mapper.el:550:1:Warning: the function `console-type' is not known to be defined. emulation/tpu-mapper.el:168:48:Warning: the function `event-key' is not known to be defined. vc/ediff-hook.el:263:1:Warning: the following functions are not known to be defined: add-submenu, add-menu-button, ediff-xemacs-init-menus vc/ediff-init.el:1828:1:Warning: the following functions are not known to be defined: device-type, selected-device From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 13 09:20:09 2012 Received: (at 11692-done) by debbugs.gnu.org; 13 Jun 2012 13:20:09 +0000 Received: from localhost ([127.0.0.1]:40597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SenUW-0007W0-Gm for submit@debbugs.gnu.org; Wed, 13 Jun 2012 09:20:08 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:3134) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SenUT-0007Vt-TO for 11692-done@debbugs.gnu.org; Wed, 13 Jun 2012 09:20:06 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxIKb/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLDiYSFBgNJIgcBboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="191281309" Received: from 69-196-130-155.dsl.teksavvy.com (HELO pastel.home) ([69.196.130.155]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 13 Jun 2012 09:17:17 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0FD9058E8D; Wed, 13 Jun 2012 09:17:16 -0400 (EDT) From: Stefan Monnier To: Juanma Barranquero Subject: Re: bug#11692: (featurep 'xemacs) not protecting against warnings Message-ID: References: Date: Wed, 13 Jun 2012 09:17:15 -0400 In-Reply-To: (Juanma Barranquero's message of "Wed, 13 Jun 2012 13:23:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11692-done Cc: 11692-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > New "not known to be defined" warnings are thrown for some (not all) > unknown functions protected with > (if (featurep 'xemacs) (xemacs-func) (emacs-func)) Indeed, thanks for spotting this (it was because byte-opt was loaded too late). Should be fixed now, Stefan From unknown Sun Sep 07 17:04:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 12 Jul 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator