From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: cperl-mode and fontlock Date: Fri, 25 Sep 2009 20:46:34 -0500 Organization: Still searching... Message-ID: <873a6ao4ud.fsf@newsguy.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253929649 14595 80.91.229.12 (26 Sep 2009 01:47:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Sep 2009 01:47:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 26 03:47:22 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MrMNa-0001LC-De for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Sep 2009 03:47:19 +0200 Original-Received: from localhost ([127.0.0.1]:53507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrMNZ-0000Ho-SK for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Sep 2009 21:47:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MrMNC-0000Hj-Al for help-gnu-emacs@gnu.org; Fri, 25 Sep 2009 21:46:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MrMN7-0000HX-Nt for help-gnu-emacs@gnu.org; Fri, 25 Sep 2009 21:46:53 -0400 Original-Received: from [199.232.76.173] (port=55765 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrMN7-0000HU-Hg for help-gnu-emacs@gnu.org; Fri, 25 Sep 2009 21:46:49 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:60134) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MrMN6-0004Uj-Mn for help-gnu-emacs@gnu.org; Fri, 25 Sep 2009 21:46:49 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MrMN5-0001Gu-0A for help-gnu-emacs@gnu.org; Sat, 26 Sep 2009 03:46:47 +0200 Original-Received: from c-98-215-178-110.hsd1.in.comcast.net ([98.215.178.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Sep 2009 03:46:46 +0200 Original-Received: from reader by c-98-215-178-110.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Sep 2009 03:46:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 156 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-110.hsd1.in.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:eEHwDPEtEM29nnQWLwq/wUQ9OXc= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68480 Archived-At: Ilya Zakharevich writes: > a) cperl-mode distributed with RMS Emacs is completely borken. See > "my" versions; Ilya, sorry I don't know enough to know the answer to this but can I safely ignore the list of warnings I get when byte compiling your most recent (6.2) version (using emacs-23 from cvs). Here is the list: Compiling file /usr/share/emacs/23.1.50/lisp/progmodes/cperl-mode.el at Fri Sep 25 20:39:03 2009 cperl-mode.el:1563: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. cperl-mode.el:1645:42:Warning: value returned from (fboundp (quote eval-when-compile)) is unused cperl-mode.el:2140: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. cperl-mode.el:2571: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. cperl-mode.el:2608:11:Warning: assignment to free variable `unread-command-event' cperl-mode.el:2672: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. cperl-mode.el:2674:8:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead cperl-mode.el:2689:17:Warning: value returned from (fboundp (quote eval-when-compile)) is unused cperl-mode.el:3104: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. In cperl-mode: cperl-mode.el:3388:51:Warning: `vc-header-alist' is an obsolete variable (as of Emacs 21.1); use `vc-BACKEND-header' instead. cperl-mode.el:3479:10:Warning: `make-local-hook' is an obsolete function (as of Emacs 21.1); not necessary any more. In cperl-electric-brace: cperl-mode.el:3655:20:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:3694:57:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:3669:33:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:3693:55:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. In cperl-electric-lbrace: cperl-mode.el:3735:14:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:3736:16:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:3740:16:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. In cperl-electric-paren: cperl-mode.el:3761:22:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:3772:32:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:3772:26:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. In cperl-electric-rparen: cperl-mode.el:3796:20:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:3806:32:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:3806:26:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. In cperl-electric-keyword: cperl-mode.el:3818:26:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:3820:28:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:3874:22:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. In cperl-electric-pod: cperl-mode.el:3895:28:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. In cperl-electric-terminator: cperl-mode.el:4115:33:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. cperl-mode.el:4129:31:Warning: `last-command-char' is an obsolete variable (as of Emacs at least 19.34); use `last-command-event' instead. In cperl-calculate-indent: cperl-mode.el:4820:9:Warning: `error' called with 1 args to fill 0 format field(s) cperl-mode.el:4810:25:Warning: `error' called with 1 args to fill 0 format field(s) cperl-mode.el:4821:10:Warning: `format' called with 1 args to fill 0 format field(s) In cperl-find-pods-heres: cperl-mode.el:5713:60:Warning: assignment to free variable `name' cperl-mode.el:6290:38:Warning: reference to free variable `name' In cperl-indent-region: cperl-mode.el:6902:4:Warning: value returned from (fboundp (quote imenu-progress-message)) is unused In cperl-imenu-addback: cperl-mode.el:7098:11:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead cperl-mode.el:7342: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. In cperl-xsub-scan: cperl-mode.el:8580:24:Warning: `imenu-example--name-and-position' is an obsolete function (as of Emacs 23.2); use your own function instead. cperl-mode.el:8578:11:Warning: `imenu-example--name-and-position' is an obsolete function (as of Emacs 23.2); use your own function instead. In cperl-write-tags: cperl-mode.el:8734:12:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead In cperl-tags-hier-init: cperl-mode.el:8858:12:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead cperl-mode.el:8867:10:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead cperl-mode.el:8867:32:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead In cperl-tags-treeify: cperl-mode.el:8933:6:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead cperl-mode.el:8939:6:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead cperl-mode.el:8957:6:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead cperl-mode.el:8947:17:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead cperl-mode.el:8954:55:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead In cperl-time-fontification: cperl-mode.el:10432:11:Warning: `goto-line' used from Lisp code That command is designed for interactive use only In cperl-emulate-lazy-lock: cperl-mode.el:10459:59:Warning: assignment to free variable `font-lock-cache-position' cperl-mode.el:10499:10:Warning: `make-variable-buffer-local' should be called at toplevel