unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* CPerl behaves differently on XP in 21.3 and 21.3.50.1
@ 2004-11-25 10:57 Ekkehard Goerlach
  2004-11-25 12:56 ` Kai Grossjohann
       [not found] ` <mailman.1429.1101388079.27204.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Ekkehard Goerlach @ 2004-11-25 10:57 UTC (permalink / raw)



I have parallel installation of Emacs 21.1 and 21.3.50.1 (nqmacs on
sf). Both Emacsen use the same .emacs and site-lisp directory which
contains the (only) cperl-mode.el V5.0

If I open a perl file in both emacsen, the font-locking is slightly
different. POD documentation, for example, does not show up in comment
face in the 21.3.50.1 and the following code 

my $revision = (split(/ /,'$Revision: 1.48 $'))[1];

looks fine in 21.3 but for the more recent emacs I have to insert an
extra space in the revision string:

my $revision = (split(/ /,'$Revision: 1.48 $ '))[1];

Is there some customizaton possible to get the same font-locking in
both Emacs versions?

Thanks,
Ekkehard

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

* Re: CPerl behaves differently on XP in 21.3 and 21.3.50.1
  2004-11-25 10:57 CPerl behaves differently on XP in 21.3 and 21.3.50.1 Ekkehard Goerlach
@ 2004-11-25 12:56 ` Kai Grossjohann
       [not found] ` <mailman.1429.1101388079.27204.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Kai Grossjohann @ 2004-11-25 12:56 UTC (permalink / raw)


Ekkehard Goerlach <ekkehard.goerlach@pharma.novartis.com> writes:

> I have parallel installation of Emacs 21.1 and 21.3.50.1 (nqmacs on
> sf). Both Emacsen use the same .emacs and site-lisp directory which
> contains the (only) cperl-mode.el V5.0

Are you sure you're using the same cperl-mode.el in both versions of
Emacs?  Emacs comes with cperl-mode.el.

M-x locate-library RET can help you find out.

Kai

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

* Re: CPerl behaves differently on XP in 21.3 and 21.3.50.1
       [not found] ` <mailman.1429.1101388079.27204.help-gnu-emacs@gnu.org>
@ 2004-11-26  9:25   ` Ekkehard Goerlach
  2004-11-27 20:10     ` Kai Grossjohann
  0 siblings, 1 reply; 4+ messages in thread
From: Ekkehard Goerlach @ 2004-11-26  9:25 UTC (permalink / raw)


Kai Grossjohann <kai@emptydomain.de> writes:

> Are you sure you're using the same cperl-mode.el in both versions of
> Emacs?  Emacs comes with cperl-mode.el.
>
> M-x locate-library RET can help you find out.
>

Hmmm, yes both use the same cperl-mode.elc. I even recompiled it under
the newer Emacs. May be there is sth underneath cperl what is
different.

Ekkehard

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

* Re: CPerl behaves differently on XP in 21.3 and 21.3.50.1
  2004-11-26  9:25   ` Ekkehard Goerlach
@ 2004-11-27 20:10     ` Kai Grossjohann
  0 siblings, 0 replies; 4+ messages in thread
From: Kai Grossjohann @ 2004-11-27 20:10 UTC (permalink / raw)


Ekkehard Goerlach <ekkehard.goerlach@pharma.novartis.com> writes:

> Kai Grossjohann <kai@emptydomain.de> writes:
>
>> Are you sure you're using the same cperl-mode.el in both versions of
>> Emacs?  Emacs comes with cperl-mode.el.
>>
>> M-x locate-library RET can help you find out.
>>
>
> Hmmm, yes both use the same cperl-mode.elc. I even recompiled it under
> the newer Emacs. May be there is sth underneath cperl what is
> different.

Hm.  It is also possible that cperl-mode.el is loaded earlier than you
think.  I guess you have some spot in ~/.emacs where you set up
cperl-mode, and where you frob load-path.  Just before that spot, you
could try this:

(when (featurep 'cperl-mode)
  (error "cperl-mode already loaded"))

Then start Emacs again and see whether it issues that error.

Kai

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

end of thread, other threads:[~2004-11-27 20:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-25 10:57 CPerl behaves differently on XP in 21.3 and 21.3.50.1 Ekkehard Goerlach
2004-11-25 12:56 ` Kai Grossjohann
     [not found] ` <mailman.1429.1101388079.27204.help-gnu-emacs@gnu.org>
2004-11-26  9:25   ` Ekkehard Goerlach
2004-11-27 20:10     ` Kai Grossjohann

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).