[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: invoke cper-mode instead of perl-mode
From: |
Rob Thorpe |
Subject: |
Re: invoke cper-mode instead of perl-mode |
Date: |
2 Jul 2003 06:44:51 -0700 |
Harry Putnam <reader@newsguy.com> wrote in message
news:<mailman.8944.1057028668.21513.help-gnu-emacs@gnu.org>...
> Harry Putnam <reader@newsguy.com> writes:
> >
> > A further problem is that files that emacs knows how to open get
> > opened with abbrev-mode enabled. But the ones openned in cperl-mode
> > do not have abbrev-mode enabled.
> >
> > I have these in .emacs:
> > (setq default-abbrev-mode t)
> > (read-abbrev-file)
>
> Still not getting abbrev-mode turned on when opening a perl script.
> All other language modes seems to come up with abbrev-mode turned on.
Ey, I haven't even got a variable called default-abbrev-mode, do you mean:
(setq-default abbrev-mode t) ??
There again line 1146 of cperl-mode.el says:
(abbrev-mode (if (cperl-val 'cperl-electric-keywords) 1 0))
So cperl-mode resets it internally. How irritating, this might be a bug.
- Re: invoke cper-mode instead of perl-mode,
Rob Thorpe <=