unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* cperl-mode $variable
@ 2002-12-17  4:34 Tribhuvan
  0 siblings, 0 replies; 2+ messages in thread
From: Tribhuvan @ 2002-12-17  4:34 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* cperl-mode $variable
@ 2002-12-17  4:11 Tribhuvan
  0 siblings, 0 replies; 2+ messages in thread
From: Tribhuvan @ 2002-12-17  4:11 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-17  4:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-17  4:34 cperl-mode $variable Tribhuvan
  -- strict thread matches above, loose matches on Subject: below --
2002-12-17  4:11 Tribhuvan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).