diff options
| author | Richard M. Stallman | 1998-06-08 00:02:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-06-08 00:02:30 +0000 |
| commit | 46c724685762ee0013ab45f95f201a5c34fee2d8 (patch) | |
| tree | 54a987ac5bf28495c570fcc1a4079d628ad5c2fa | |
| parent | bab27c0c4dd739fbc4d4db11a8a137e5b7f629d0 (diff) | |
| download | emacs-46c724685762ee0013ab45f95f201a5c34fee2d8.tar.gz emacs-46c724685762ee0013ab45f95f201a5c34fee2d8.zip | |
(cperl-problems): Doc fix.
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 0cfed6739de..eacd0f8eabe 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -455,11 +455,7 @@ know about them.") | |||
| 455 | install choose-color.el, available from | 455 | install choose-color.el, available from |
| 456 | ftp://ftp.math.ohio-state.edu/pub/users/ilya/emacs/ | 456 | ftp://ftp.math.ohio-state.edu/pub/users/ilya/emacs/ |
| 457 | 457 | ||
| 458 | Emacs had a _very_ restricted syntax parsing engine until RMS's Emacs | 458 | Even with newer Emacsen interaction of `font-lock' and |
| 459 | 20.1. Most problems below are corrected starting from this version of | ||
| 460 | Emacs, and all of them should go with (future) RMS's version 20.3. | ||
| 461 | |||
| 462 | Note that even with newer Emacsen interaction of `font-lock' and | ||
| 463 | syntaxification is not cleaned up. You may get slightly different | 459 | syntaxification is not cleaned up. You may get slightly different |
| 464 | colors basing on the order of fontification and syntaxification. This | 460 | colors basing on the order of fontification and syntaxification. This |
| 465 | might be corrected by setting `cperl-syntaxify-by-font-lock' to t, but | 461 | might be corrected by setting `cperl-syntaxify-by-font-lock' to t, but |
| @@ -485,7 +481,7 @@ to insert it as $ {aaa} (legal in perl5, not in perl4). | |||
| 485 | Similar problems arise in regexps, when /(\\s|$)/ should be rewritten | 481 | Similar problems arise in regexps, when /(\\s|$)/ should be rewritten |
| 486 | as /($|\\s)/. Note that such a transposition is not always possible. | 482 | as /($|\\s)/. Note that such a transposition is not always possible. |
| 487 | 483 | ||
| 488 | The solution is to upgrade your Emacs. Note that RMS's 20.2 has some | 484 | The solution is to upgrade your Emacs. Note that Emacs 20.2 has some |
| 489 | bugs related to `syntax-table' text properties. Patches are available | 485 | bugs related to `syntax-table' text properties. Patches are available |
| 490 | on the main CPerl download site, and on CPAN. | 486 | on the main CPerl download site, and on CPAN. |
| 491 | 487 | ||
| @@ -1307,7 +1303,7 @@ or as help on variables `cperl-tips', `cperl-problems', | |||
| 1307 | (not cperl-msb-fixed) | 1303 | (not cperl-msb-fixed) |
| 1308 | (cperl-msb-fix)) | 1304 | (cperl-msb-fix)) |
| 1309 | (if (featurep 'easymenu) | 1305 | (if (featurep 'easymenu) |
| 1310 | (easy-menu-add cperl-menu)) ; A NOP in RMS Emacs. | 1306 | (easy-menu-add cperl-menu)) ; A NOP in Emacs. |
| 1311 | (run-hooks 'cperl-mode-hook) | 1307 | (run-hooks 'cperl-mode-hook) |
| 1312 | ;; After hooks since fontification will break this | 1308 | ;; After hooks since fontification will break this |
| 1313 | (if cperl-pod-here-scan | 1309 | (if cperl-pod-here-scan |