Hello Ilya,
thank you very much for the excellent cperl-mode!
I have been using an unmodified cperl-mode.el version 4.24 for half a
year under XEmacs 21.1.x and XEmacs 21.2-byy with no trouble at all.
Now I am looking into updating XEmacs's prog-modes lisp package to
contain your latest version 4.32 of cperl-mode.el.
Here is a little patch to make
Perl
Perl docs
Perldoc
Perldoc on word at point
work with XEmacs's version of man.el.
Are you interested in integrating this patch into a future version of
cperl-mode.el?
Best regards,
Adrian
ChangeLog:
2000-06-25 Adrian Aichner <aichner(a)ecf.teradyne.com>
* cperl-mode.el (cperl-perldoc): Make function work under XEmacs.
cd c:\XEmacs\site-packages\lisp\
diff -u cperl-mode-4-32.el cperl-mode.el
Compilation started at Sun Jun 25 19:23:48 2000 +0200 (W. Europe Daylight Time)
--- cperl-mode-4-32.el Sun Jun 25 18:21:41 2000
+++ cperl-mode.el Sun Jun 25 19:05:29 2000
@@ -8083,7 +8083,13 @@
'variable-documentation))))
(manual-program (if is-func "perldoc -f" "perldoc")))
(require 'man)
- (Man-getpage-in-background word)))
+ (cond
+ (cperl-xemacs-p
+ (let ((Manual-program "perldoc")
+ (Manual-switches (if is-func (list "-f"))))
+ (manual-entry word)))
+ (t
+ (Man-getpage-in-background word)))))
(defun cperl-perldoc-at-point ()
"Run a `perldoc' on the word around point."
Compilation exited abnormally with code 1 at Sun Jun 25 19:23:52
--
Adrian Aichner <adrian(a)xemacs.org>