all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: cperl-mode and fontlock
Date: Fri, 25 Sep 2009 20:46:34 -0500	[thread overview]
Message-ID: <873a6ao4ud.fsf@newsguy.com> (raw)
In-Reply-To: slrnhbp5li.ole.nospam-abuse@chorin.math.berkeley.edu

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





  parent reply	other threads:[~2009-09-26  1:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6904.1253227091.2239.help-gnu-emacs@gnu.org>
2009-09-25 10:08 ` cperl-mode and fontlock Ilya Zakharevich
2009-09-25 22:29   ` Harry Putnam
2009-09-26  1:46   ` Harry Putnam [this message]
2009-09-26  2:30   ` Harry Putnam
     [not found]   ` <mailman.7552.1253917816.2239.help-gnu-emacs@gnu.org>
2009-09-28 14:57     ` Ted Zlatanov
2009-10-09  9:04       ` Ilya Zakharevich
2009-10-09 14:50         ` Ted Zlatanov
2009-10-09 21:48           ` Ilya Zakharevich
2009-10-14 15:55             ` Ted Zlatanov
2009-10-09  8:29     ` Ilya Zakharevich
2009-10-09 13:41       ` Harry Putnam
     [not found]   ` <mailman.7555.1253929616.2239.help-gnu-emacs@gnu.org>
2009-09-29  9:48     ` Ilya Zakharevich
2009-09-29 16:03       ` Harry Putnam
2009-09-30  6:25         ` Kevin Rodgers
2009-09-30  6:28           ` Harry Putnam
2009-09-17 22:37 Harry Putnam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873a6ao4ud.fsf@newsguy.com \
    --to=reader@newsguy.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.