help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[h-e-w] ntemacs21 & activestate perl problem


From: Sivaram Neelakantan
Subject: [h-e-w] ntemacs21 & activestate perl problem
Date: Sun, 16 Dec 2001 14:04:33 +0530

Hello,
Whe i use mode-compile with cperl-mode on NT, I get the following
error
when i  try C-c c on a perl buffer.

Loading mode-compile (source)...
Loading cl-macs...
byte-code: Tried to load `cl-macs' before `cl'!

my perl settings from  the _emacs file are below.
;;;;;;for  perl
(autoload 'mode-compile "mode-compile"
   "Command to compile current buffer file based on the major mode"
t)
  (global-set-key "\C-cc" 'mode-compile)
  (autoload 'mode-compile-kill "mode-compile"
   "Command to kill a compilation launched by `mode-compile'" t)
  (global-set-key "\C-ck" 'mode-compile-kill)

(autoload 'perl-mode "cperl-mode" "alternate mode for editing Perl
programs"
t)
(setq cperl-hairy t)
(setq cperl-font-lock-enhanced t)
(setq cperl-highlight-variables-indiscriminately t)
(setq interpreter-mode-alist
      (append interpreter-mode-alist '(("miniperl" . perl-mode))))
(setq auto-mode-alist
      (append '(("\\.\\([pP][Llm]\\|al\\)$" . cperl-mode))
          auto-mode-alist ))
(setq cperl-auto-newline t)
(setq cperl-syntaxify-by-font-lock t)
(setq cperl-indent-level 4)
(add-hook 'cperl-mode-hook
     '(lambda ()
          (imenu-add-to-menubar "IMenu")
          (local-set-key "\C-x\C-i" 'imenu)
          (local-set-key "\r" 'cperl-linefeed)
          (local-set-key [C-return] 'newline)
          )
)
;;;; end of perl



How do i get perl to compile the buffer? mode-compile version is
2.27.
regards,
Sivaram


Attachment: InterScan_Disclaimer.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]