From: <ekk...@no...> - 2005-07-21 13:43:59
|
Hi, yes, I use ecb with perl and have the following in my .emacs ;; cperl (defalias 'perl-mode 'cperl-mode) (defun my-cperl-mode-hook () ;; bind C-cC-c to comment-dwim if it's available, comment region otherwise (define-key cperl-mode-map "\C-c\C-c" (if (fboundp 'comment-dwim) 'comment-dwim 'comment-region)) (cperl-set-style "GNU")) (add-hook 'cperl-mode-hook 'my-cperl-mode-hook) (if (eq 'windows-nt system-type) (add-hook 'cperl-mode-hook (lambda () (set (make-local-variable 'compile-command) (concat "perl -cwT -I c:/dev/myproject/perl " buffer-file-name))))) ;; Load CEDET (load-file (expand-file-name (concat local-site-path "/cedet/common/cedet.el"))) ;;************************************************ ;;* ECB * ;;************************************************ (add-to-list 'load-path (expand-file-name (concat local-site-path "/ecb"))) (require 'ecb-autoloads) The variable local-site-path is the directory where all my extensions are (c:/prog/elisp). I am using emacs from http://sourceforge.net/projects/nqmacs (cperl included) on WinXP and ecb 2.32 HTH, Ekkehard Marcel Hild <hi...@b4...> Sent by: ecb...@li... 21.07.2005 12:41 Please respond to hild To: ecb...@li... cc: (bcc: Ekkehard Goerlach/PH/Novartis) Subject: [ECB-list] ECB and Perl Category: Hi, I am trying to setup ECB for perl and i got cperl working with imenu but i dont get ECB to work with imenu :( I guess i have to set non-semantic-parsing-function which is currently nil, but i have no glue what to set it to. is somebody activly using ECB and Perl? could you please post your configuration? Thanks -- Marcel Hild <hi...@b4...> GPG: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x0B690C75 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Ecb-list mailing list Ecb...@li... https://lists.sourceforge.net/lists/listinfo/ecb-list |