GNU bug report logs - #11692
(featurep 'xemacs) not protecting against warnings

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Wed, 13 Jun 2012 11:28:02 UTC

Severity: minor

Found in version 24.1.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11692 in the body.
You can then email your comments to 11692 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11692; Package emacs. (Wed, 13 Jun 2012 11:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juanma Barranquero <lekktu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Jun 2012 11:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: (featurep 'xemacs) not protecting against warnings
Date: Wed, 13 Jun 2012 13:23:36 +0200
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




Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Wed, 13 Jun 2012 13:21:02 GMT) Full text and rfc822 format available.

Notification sent to Juanma Barranquero <lekktu <at> gmail.com>:
bug acknowledged by developer. (Wed, 13 Jun 2012 13:21:02 GMT) Full text and rfc822 format available.

Message #10 received at 11692-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 11692-done <at> debbugs.gnu.org
Subject: Re: bug#11692: (featurep 'xemacs) not protecting against warnings
Date: Wed, 13 Jun 2012 09:17:15 -0400
> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 12 Jul 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.