help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cperl-mode and fontlock


From: Harry Putnam
Subject: Re: cperl-mode and fontlock
Date: Fri, 25 Sep 2009 20:46:34 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux)

Ilya Zakharevich <nospam-abuse@ilyaz.org> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]