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: summary for the remaining byte compiler warnings Date: Thu, 08 Nov 2007 22:57:02 -0800 Message-ID: <200711090657.lA96v27o006808@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 1194591505 11794 80.91.229.12 (9 Nov 2007 06:58:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2007 06:58:25 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 09 07:58:29 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 1IqNoy-0006cM-Fg for ged-emacs-devel@m.gmane.org; Fri, 09 Nov 2007 07:58:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqNon-0001sa-6J for ged-emacs-devel@m.gmane.org; Fri, 09 Nov 2007 01:58:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IqNoi-0001pr-Sv for emacs-devel@gnu.org; Fri, 09 Nov 2007 01:58:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IqNoh-0001os-UE for emacs-devel@gnu.org; Fri, 09 Nov 2007 01:58:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqNoh-0001ok-E8 for emacs-devel@gnu.org; Fri, 09 Nov 2007 01:58:11 -0500 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 1IqNog-0004Yz-T8 for emacs-devel@gnu.org; Fri, 09 Nov 2007 01:58:11 -0500 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 lA96v27o006808 for ; Thu, 8 Nov 2007 22:57:17 -0800 (PST) Original-Lines: 131 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_PG 0.08) 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:82845 Archived-At: Below is the list of byte compiler warnings when bootstrapping (excluding about 200 unknown function warnings which are hard to fix without fixing a few bugs in the byte compiler and adding some features) together with some brief analysis. Please help fix these issues. A patch was posted some time ago for this one: In toplevel form: cc-vars.el:158:1:Warning: !! The file uses old-style backquotes !! This functionality has been obsolete for more than 10 years already and will be removed soon. See (elisp)Backquote in the manual. No idea about this one: In toplevel form: pgg-parse.el:183:8:Warning: reference to free variable `pgg-parse-crc24' These probably need fixing: In toplevel form: simple.el:2564:2:Warning: `make-variable-frame-local' is an obsolete function (as of Emacs 22.2); use a frame-parameter instead simple.el:2592:2:Warning: `make-variable-frame-local' is an obsolete function (as of Emacs 22.2); use a frame-parameter instead What's the best way to silence this one? In tex-mode: tex-mode.el:910:8:Warning: function `tex-mode' defined multiple times in this file No idea here: In toplevel form: cc-subword.el:147:5:Warning: `make-variable-buffer-local' should be called at toplevel Not sure what to do about this: In cperl-mode: cperl-mode.el:1793:9:Warning: `vc-header-alist' is an obsolete variable; use `vc-BACKEND-header' instead. cperl-mode.el:1805:25:Warning: reference to free variable `compilation-error-regexp-alist' cperl-mode.el:1806:19:Warning: assignment to free variable `compilation-error-regexp-alist' How about this? In toplevel form: python.el:2067:1:Warning: reference to free variable `python-mode-abbrev-table' These probably need fixing: In toplevel form: viper-init.el:433:6:Warning: `make-variable-frame-local' is an obsolete function (as of Emacs 22.2); use a frame-parameter instead viper-init.el:440:6:Warning: `make-variable-frame-local' is an obsolete function (as of Emacs 22.2); use a frame-parameter instead viper-init.el:450:6:Warning: `make-variable-frame-local' is an obsolete function (as of Emacs 22.2); use a frame-parameter instead viper-init.el:455:6:Warning: `make-variable-frame-local' is an obsolete function (as of Emacs 22.2); use a frame-parameter instead This looks like it might be a bug in the code: In reftex-make-separate-toc-frame: reftex-toc.el:998:35:Warning: `focus-frame' is an obsolete function (as of Emacs 22.1); it does nothing. These are all for gnus: In gnus-batch-score: gnus-kill.el:690:11:Warning: `nnmail-spool-file' is an obsolete variable; This option is obsolete in Gnus 5.9. Use `mail-sources' instead. In nnkiboze-generate-groups: nnkiboze.el:201:10:Warning: `nnmail-spool-file' is an obsolete variable; This option is obsolete in Gnus 5.9. Use `mail-sources' instead. In gnus-jog-cache: gnus-cache.el:623:10:Warning: `nnmail-spool-file' is an obsolete variable; This option is obsolete in Gnus 5.9. Use `mail-sources' instead. In gnus-display-x-face-in-from: gnus-fun.el:225:38:Warning: reference to free variable `gnus-face-properties-alist' In gnus-registry-wash-for-keywords: gnus-registry.el:512:34:Warning: reference to free variable `gnus-adaptive-word-syntax-table' In toplevel form: gnus.el:2033:28:Warning: reference to free variable `gnus-spam-resend-to' gnus.el:2051:28:Warning: reference to free variable `gnus-ham-resend-to' In message-insert-formated-citation-line: message.el:3706:43:Warning: reference to free variable `gnus-extract-address-components' In toplevel form: mm-util.el:187:27:Warning: reference to free variable `mm-mime-mule-charset-alist' In mml-smime-get-ldap-cert: mml-smime.el:205:37:Warning: reference to free variable `gnus-extract-address-components' In mml-mode: mml.el:1079:20:Warning: reference to free variable `mml-dnd-protocol-alist' In nnheader-generate-fake-message-id: nnheader.el:231:33:Warning: reference to free variable `gnus-newsgroup-name' In nnheader-insert-head: nnheader.el:619:35:Warning: reference to free variable `nnheader-file-coding-system'