all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tribhuvan <loka@rcn.com>
Subject: cperl-mode $variable
Date: Tue, 17 Dec 2002 04:11:12 GMT	[thread overview]
Message-ID: <3DFEA431.4060301@rcn.com> (raw)

SUBJECT: cperl-mode not interperting "$" as in $variable
		causing emacs to bypass the font-lock
		color setting.

emacs 21.1
perl 5.8 cperl-mode.el (installed correctly)

cperl-mode works beautifully, but not recognising that
a "$" in the source is a variable and should therefore use the

(font-lock-variable-name-face ((t (:bold t :foreground "DeepSkyBlue4"))))

setting like every other mode does. (including perl-mode)

HINT:
with the cursor on a $variable in the source -
go to emacs-menu:
edit-> TextProperties-> ListProperties

returns:
Text property at 298:  fontified  t
(rather than the special qualities of a $variable)

edit-> TextProperties-> DisplayFaces

and emacs shows the correct color (like all other modes
also show correctly)

So I think it's something in cperl-mode.el that is not catching
the "$" and treating the $variable as plain (default) text.

Any suggestions?

Namaskar,
Tribhuvanji

             reply	other threads:[~2002-12-17  4:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-17  4:11 Tribhuvan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-17  4:34 cperl-mode $variable Tribhuvan

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=3DFEA431.4060301@rcn.com \
    --to=loka@rcn.com \
    /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.