* newbie: emacs21 and cperl-mode
@ 2007-02-23 6:34 Matthew.Pettis
2007-02-23 7:05 ` Matthew Flaschen
[not found] ` <mailman.15.1172214317.7795.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: Matthew.Pettis @ 2007-02-23 6:34 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
I am doing this on Ubuntu-6.10... installed emacs21 via synaptic...
I tried switching to cperl-mode (M-x cperl-mode), and the status bar
(I think it's called) tells me I am in cperl mode, but there is no
syntax highlighting, and none of the automatic expansions work.
Actually, perl-mode does nothing as well...
I looked at http://www.emacswiki.org/cgi-bin/wiki/CPerlMode#CPerlMode1,
and it tells me to add some lines to my ~/.emacs file (or ~./xemacs
or ./.xemacs/init.el), none of which exist for me.
Do I need to create these, or should they be there? If I need to
create one, which one should I create? Is this missing file probably
the cause of why nothing works?
Thanks,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: newbie: emacs21 and cperl-mode
2007-02-23 6:34 newbie: emacs21 and cperl-mode Matthew.Pettis
@ 2007-02-23 7:05 ` Matthew Flaschen
[not found] ` <mailman.15.1172214317.7795.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Matthew Flaschen @ 2007-02-23 7:05 UTC (permalink / raw)
To: Matthew.Pettis@gmail.com, emacs
[-- Attachment #1.1: Type: text/plain, Size: 335 bytes --]
Matthew.Pettis@gmail.com wrote:
>
> Do I need to create these, or should they be there?
You need to create ~/.emacs . Make sure you also set
global-font-lock-mode true. To do this, type Meta-x customize-variable
global-font-lock-mode . Then, toggle it to non-nil, and click Save for
future sessions.
Matthew Flaschen
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: newbie: emacs21 and cperl-mode
[not found] ` <mailman.15.1172214317.7795.help-gnu-emacs@gnu.org>
@ 2007-02-23 18:12 ` Matthew.Pettis
0 siblings, 0 replies; 3+ messages in thread
From: Matthew.Pettis @ 2007-02-23 18:12 UTC (permalink / raw)
To: help-gnu-emacs
this worked! my syntax highlighting for perl-mode and cperl-mode both
work... thanks!
matt
On Feb 23, 1:05 am, Matthew Flaschen <matthew.flasc...@gatech.edu>
wrote:
> Matthew.Pet...@gmail.com wrote:
>
> > Do I need to create these, or should they be there?
>
> You need to create ~/.emacs . Make sure you also set
> global-font-lock-mode true. To do this, type Meta-x customize-variable
> global-font-lock-mode . Then, toggle it to non-nil, and click Save for
> future sessions.
>
> Matthew Flaschen
>
> signature.asc
> 1KDownload
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-23 18:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 6:34 newbie: emacs21 and cperl-mode Matthew.Pettis
2007-02-23 7:05 ` Matthew Flaschen
[not found] ` <mailman.15.1172214317.7795.help-gnu-emacs@gnu.org>
2007-02-23 18:12 ` Matthew.Pettis
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).