603 |
|
|
604 |
For best results apply to an older Emacs the patches from |
For best results apply to an older Emacs the patches from |
605 |
ftp://ftp.math.ohio-state.edu/pub/users/ilya/cperl-mode/patches |
ftp://ftp.math.ohio-state.edu/pub/users/ilya/cperl-mode/patches |
606 |
\(this upgrades syntax-parsing abilities of RMS Emaxen v19.34 and |
\(this upgrades syntax-parsing abilities of Emaxen v19.34 and |
607 |
v20.2 up to the level of RMS Emacs v20.3 - a must for a good Perl |
v20.2 up to the level of Emacs v20.3 - a must for a good Perl |
608 |
mode.) You will not get much from XEmacs, it's syntax abilities are |
mode.) |
|
too primitive. |
|
609 |
|
|
610 |
Get support packages choose-color.el (or font-lock-extra.el before |
Get support packages choose-color.el (or font-lock-extra.el before |
611 |
19.30), imenu-go.el from the same place. \(Look for other files there |
19.30), imenu-go.el from the same place. \(Look for other files there |
661 |
paragraph. Parsing of lines with several <<EOF is not implemented |
paragraph. Parsing of lines with several <<EOF is not implemented |
662 |
yet. |
yet. |
663 |
|
|
664 |
Emacs had a _very_ restricted syntax parsing engine until RMS's Emacs |
Emacs had a _very_ restricted syntax parsing engine until version |
665 |
20.1. Most problems below are corrected starting from this version of |
20.1. Most problems below are corrected starting from this version of |
666 |
Emacs, and all of them should go with RMS's version 20.3. (Or apply |
Emacs, and all of them should be fixed in version 20.3. (Or apply |
667 |
patches to Emacs 19.33/34 - see tips.) XEmacs is very backward in |
patches to Emacs 19.33/34 - see tips.) |
|
this respect. |
|
668 |
|
|
669 |
Note that even with newer Emacsen in some very rare cases the details |
Note that even with newer Emacsen in some very rare cases the details |
670 |
of interaction of `font-lock' and syntaxification may be not cleaned |
of interaction of `font-lock' and syntaxification may be not cleaned |
693 |
as /($|\\s)/. Note that such a transposition is not always possible. |
as /($|\\s)/. Note that such a transposition is not always possible. |
694 |
|
|
695 |
The solution is to upgrade your Emacs or patch an older one. Note |
The solution is to upgrade your Emacs or patch an older one. Note |
696 |
that RMS's 20.2 has some bugs related to `syntax-table' text |
that Emacs 20.2 has some bugs related to `syntax-table' text |
697 |
properties. Patches are available on the main CPerl download site, |
properties. Patches are available on the main CPerl download site, |
698 |
and on CPAN. |
and on CPAN. |
699 |
|
|
704 |
(defvar cperl-non-problems 'please-ignore-this-line |
(defvar cperl-non-problems 'please-ignore-this-line |
705 |
"As you know from `problems' section, Perl syntax is too hard for CPerl on |
"As you know from `problems' section, Perl syntax is too hard for CPerl on |
706 |
older Emacsen. Here is what you can do if you cannot upgrade, or if |
older Emacsen. Here is what you can do if you cannot upgrade, or if |
707 |
you want to switch off these capabilities on RMS Emacs 20.2 (+patches) or 20.3 |
you want to switch off these capabilities on Emacs 20.2 (+patches) or 20.3 |
708 |
or better. Please skip this docs if you run a capable Emacs already. |
or better. Please skip this docs if you run a capable Emacs already. |
709 |
|
|
710 |
Most of the time, if you write your own code, you may find an equivalent |
Most of the time, if you write your own code, you may find an equivalent |
759 |
as far as bugs reports I see are concerned.") |
as far as bugs reports I see are concerned.") |
760 |
|
|
761 |
(defvar cperl-praise 'please-ignore-this-line |
(defvar cperl-praise 'please-ignore-this-line |
762 |
"RMS asked me to list good things about CPerl. Here they go: |
"Advantages of CPerl mode. |
763 |
|
|
764 |
0) It uses the newest `syntax-table' property ;-); |
0) It uses the newest `syntax-table' property ;-); |
765 |
|
|