>>>> "Noah" == Noah Romer
<noah.romer(a)lsil.com> writes:
Noah> I don't know that this is the right place to send
Noah> this, but I can't find any mention of this in the FAQ on
Noah>
www.xemacs.org and this is the only email address I can find
Noah> associated w/ the prog-modes package.
Noah> I recently installed xemacs 21.1 on a Solaris system
Noah> (SunOS 5.6) and am in the process of installing various
Noah> packages to get it up to the functionality of the previous
Noah> installation (19.x). However, I've run into the problem that
Noah> despite having installed prog-modes (and mail-lib,
Noah> xemacs-devel, and xemacs-base, as specified by the package
Noah> index on the ftp site), xemacs still doesn't recognize my
Noah> perl code as being perl (it just uses the fundamental
Noah> mode). Is their something I have to turn on besides
Noah> prog-modes-package?
Noah,
I assume you built XEmacs from sources.
If so, check out (e:\export\home\tmp\21.1\xemacs\)README.packages
Also have a look at
Help->Samples->Sample .emacs
and search for font-lock and auto-mode-alist.
Try starting
xemacs -vanilla
and visit a perl file (.pl).
For me it is displayed in cperl-mode with font-lock-mode turned on.
The modeline shows (CPerl Font).
If this does not work for you, try
M-x cper-mode RET
M-x font-lock-mode RET
If this still does not work for you, send me your values for
late-packages
("c:\\Program Files\\XEmacs\\site-packages\\" "c:\\Program
Files\\XEmacs\\site-packages\\pgnus-0.85\\" "c:\\Program
Files\\XEmacs\\xemacs-packages\\" "c:\\Program
Files\\XEmacs\\xemacs-packages\\man\\")
auto-mode-alist
(("\\.idl\\b" . TerIDL-mode) ("\\.verilog\\'" . verilog-mode)
("\\.vlog\\'" . verilog-mode) ("\\.f\\'" . verilog-mode)
("\\.dv\\'" . verilog-mode) ("\\.v\\'" . verilog-mode)
("\\.asc$" . asc-mode) ("\\.C$" . c++-mode) ("\\.cc$" .
c++-mode) ("\\.hh$" . c++-mode) ("\\.t$" . c++-mode)
("\\.c$" . c-mode) ("\\.h$" . c++-mode) ("\\.s$" . asm-mode)
("\\.n?awk$" . awk-mode) ("\\.csh$" . csh-sh-mode)
("\\.ksh$" . ksh-sh-mode) ("\\.sh$" . sh-sh-mode)
("\\.i[abcg]$" . bib-mode) ("\\.[ce]l$" . lisp-mode)
("\\.m$" . objc-mode) ("\\..*adr$" . lisp-mode) ("\\..*tdl$"
. lisp-mode) ("\\.A$" . mim-mode) ("\\.[1-9]$" . nroff-mode)
("\\.p[lm]$" . perl-mode) ("\\.e?ps$" . postscript-mode)
("\\.py$" . python-mode) ("\\.sgml$" . sgml-mode) ("\\.hex"
. hexl-mode) ("\\.html$" . html-mode) ("\\.tcl$" . tcl-mode)
("\\.tex$" . tex-mode) ("\\.txt$" . text-mode) ("\\.mk$" .
makefile-mode) ("[Mm]akefile" . makefile-mode)
("\\.?\\(cshrc\\|login\\)\\([^\\/]+\\)?$" . csh-sh-mode)
("\\.?\\(profile\\)\\([^\\/]+\!
!
\)?$" . sh-sh-mode) ("\\.C$" . c++-mode) ("\\.cc$" . c++-mode)
("\\.hh$" . c++-mode) ("\\.c$" . c-mode) ("\\.h$" . c-mode)
("\\.\\(tar\\|tgz\\|tar\\.gz\\)\\'" . tar-mode) ("\\.java\\'"
. jde-mode) ("\\.te?xt\\'" . text-mode) ("\\.[chi]\\'" .
c-mode) ("\\.el\\'" . emacs-lisp-mode)
("\\.\\(?:[CH]\\|cc\\|hh\\)\\'" . c++-mode)
("\\.[ch]\\(pp\\|xx\\|\\+\\+\\)\\'" . c++-mode) ("\\.java\\'"
. java-mode) ("\\.idl\\'" . idl-mode) ("\\.f\\(?:or\\)?\\'" .
fortran-mode) ("\\.F\\(?:OR\\)?\\'" . fortran-mode)
("\\.[fF]90\\'" . f90-mode) ("\\.\\([pP][Llm]\\|al\\)\\'" .
perl-mode) ("\\.py\\'" . python-mode)
("\\.texi\\(?:nfo\\)?\\'" . texinfo-mode) ("\\.ad[abs]\\'" .
ada-mode) ("\\.c?l\\(?:i?sp\\)?\\'" . lisp-mode)
("\\.p\\(?:as\\)?\\'" . pascal-mode) ("\\.ltx\\'" .
latex-mode) ("\\.[sS]\\'" . asm-mode)
("[Cc]hange.?[Ll]og?\\(?:.[0-9]+\\)?\\'" . change-log-mode)
("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode)
("\\.scm?\\(?:\\.[0-9]*\\)?\\'" . scheme-mode) ("\\.e\\'" .
eiffel-mode) ("\\.mss\\'" .!
!
scribe-mode) ("\\.m\\(?:[mes]\\|an\\)\\'" . nroff-mode)
("\\.icn\\'" . icon-mode) ("\\.\\(?:[ckz]?sh\\|shar\\)\\'" .
sh-mode) ("/\\.\\(?:bash_\\|z\\)?\\(profile\\|login\\|logout\\)\\'" .
sh-mode) ("/\\.\\(?:[ckz]sh\\|bash\\|tcsh\\|es\\|xinit\\|startx\\)rc\\'" .
sh-mode) ("/\\.\\(?:[kz]shenv\\|xsession\\)\\'" . sh-mode)
("\\.[12345678]\\'" . nroff-mode) ("\\.[tT]e[xX]\\'" .
tex-mode) ("\\.\\(?:sty\\|cls\\|bbl\\)\\'" . latex-mode)
("\\.bib\\'" . bibtex-mode) ("\\.article\\'" . text-mode)
("\\.letter\\'" . text-mode) ("\\.\\(?:tcl\\|exp\\)\\'" .
tcl-mode) ("\\.wrl\\'" . vrml-mode) ("\\.awk\\'" . awk-mode)
("\\.prolog\\'" . prolog-mode)
("\\.\\(?:arc\\|zip\\|lzh\\|zoo\\)\\'" . archive-mode)
("\\`/tmp/Re" . text-mode) ("/Message[0-9]*\\'" . text-mode)
("/drafts/[0-9]+\\'" . mh-letter-mode) ("^/tmp/fol/" . text-mode)
("\\.y\\'" . c-mode) ("\\.lex\\'" . c-mode)
("\\.m\\'" . objc-mode) ("\\.oak\\'" . scheme-mode)
("\\.s?html?\\'" . html-mode) ("\\.htm?l?3\\'" . html3-mode)
("\\.\\(?:!
!
sgml?\\|dtd\\)\\'" . sgml-mode) ("\\.c?ps\\'" . postscript-mode)
("[/\\][._].*emacs\\'" . emacs-lisp-mode) ("\\.m4\\'" .
autoconf-mode) ("configure\\.in\\'" . autoconf-mode)
("\\.ml\\'" . lisp-mode) ("\\.ma?k\\'" . makefile-mode)
("[Mm]akefile\\(\\.\\|\\'\\)" . makefile-mode)
("\\.X\\(defaults\\|environment\\|resources\\|modmap\\)\\'" . xrdb-mode)
("/app-defaults/" . xrdb-mode) ("\\.[^/]*wm2?\\(?:rc\\)?\\'" .
winmgr-mode)
("\\.\\(?:jpe?g\\|JPE?G\\|png\\|PNG\\|gif\\|GIF\\|tiff?\\|TIFF?\\)\\'" .
image-mode))
Noah> In case it's of any use, this is the section of my .emacs
Noah> file that xemacs is using to turn various packages on:
Your .emacs does not look right.
Where do all the (*-package t) come from?
Regards,
Adrian
Noah> (custom-set-variables '(speedbar-package t) '(efs-package t)
Noah> '(sh-script-package t) '(cperl-electric-parens t)
Noah> '(text-modes-package t) '(prog-modes-package t)
Noah> '(ediff-package t) '(vc-package t) '(textools-package t)
Noah> '(strokes-package t) '(edit-utils-package t)
Noah> '(texinfo-package t) '(time-package t) '(ispell-package t)
Noah> '(pcl-cvs-package t) '(reftex-package t) '(c-support-package
Noah> t) '(eudc-package t) '(debug-package t) '(apel-package t)
Noah> '(mailcrypt-package t) '(tm-package t)
Noah> '(hm--html-menus-package t) '(cc-mode-package t)
Noah> '(auctex-package t) '(net-utils-package t)
Noah> '(mail-lib-package t) '(xemacs-base-package t) '(cperl-hairy
Noah> t) '(gnus-package t) '(font-lock-mode t nil (font-lock)))
Noah> (custom-set-faces)
Noah> Thanks, Noah Romer
--
Adrian Aichner Teradyne GmbH, European Design Center
Integra Test Division Telephone +49/89/41861(0)-208
Dingolfinger Strasse 2 Fax +49/89/41861-217 (What is a Fax?)
D-81673 MUENCHEN E-mail adrian.aichner(a)teradyne.com