Dernière modification
Modifié(e) :
< Emacs::PDE is available from [http://search.cpan.org/search?query=Emacs-PDE&mode=all CPAN]. You can install it using the CPAN shell (untested) or download the compress file to a local directory and install as described in the following section.
à
> Emacs::PDE is available from [http://search.cpan.org/search?query=Emacs-PDE&mode=all CPAN]. You can install it using the CPAN shell (untested) or download the compressed file to a local directory and install as described in the following section.
Modifié(e) :
< Installing Emacs::PDE is quit easy. When you download the archive of the Emacs::PDE distribution, uncompress the archive to a folder, for example, ~/elisp/pde, then put this into your ~/.emacs:
à
> Installing Emacs::PDE is quite easy. When you download the archive of the Emacs::PDE distribution, uncompress the archive to a folder, for example, ~/elisp/pde, then put this into your ~/.emacs:
Modifié(e) :
< That is all what you need to do for a typical installation.
à
> That is all you need to do for a typical installation.
Modifié(e) :
< Note that test before build, so perl can test whether you have Emacs in your PATH. The default place to install lisp files is "$ENV{HOME}/.emacs.d/pde". You can use option --elispdir to tell Perl where to put the lisp files. Note that if you use this install option, you should add ##~/elisp/pde## to `load-path'. Use the following in your .emacs:
à
> Note: test before building, so perl can test whether you have Emacs in your PATH. The default place to install lisp files is "$ENV{HOME}/.emacs.d/pde". You can use option <code>--elispdir</code> to tell Perl where to put the lisp files. Note that if you use this install option, you should add ##~/elisp/pde## to `load-path'. Use the following in your .emacs:
Modifié(e) :
< ----
< [new]
< Should this not be ~/.emacs.d/pde? -- AlexSchroeder
< [new]
< Because I see many libraries wrote this path in their installation instruction, I thought it is a convention. In fact, I also prefer put all things related to emacs to ~/.emacs.d. The default place to install PDE is ~/.emacs.d/pde when install by cpan.
à
> ---- [new] Should this not be ~/.emacs.d/pde? -- AlexSchroeder
> ---- [new] Because I see many libraries wrote this path in their installation instruction, I thought it is a convention. In fact, I also prefer to put all things related to emacs to ~/.emacs.d. The default place to install PDE is ~/.emacs.d/pde when installing by cpan.
Modifié(e) :
< The minimal enable features after load `pde-load' are:
< * make perl script associate with cperl-mode not perl-mode
< * setup new indent style "PDE"
à
> The minimal enabled features after load `pde-load' are:
> * make perl scripts associate with cperl-mode not perl-mode
> * setup a new indent style "PDE"
Modifié(e) :
< * search document with M-x `perldoc' or using M-x `perldoc-tree'
à
> * search documents with M-x `perldoc' or M-x `perldoc-tree'
Modifié(e) :
< * auto chmod when saving perl script
< * create new file with template
à
> * auto chmod when saving perl scripts
> * create new files with a template
Modifié(e) :
< * find perl module in cperl-mode using M-x `ffap'
< * enable show brief info of buildin function under point in minibuffer
< The extra features toggle by pde-extra-setting including:
< * turn on ido-mode and using ido completion read imenu tag
< * automatic update imenu-tree and make tree always visible
< * complete read ingore case
< * turn on partial-completion-mode, and you can find perl module using M-x `find-file' by add prefix char '<'.
à
> * find a perl module in cperl-mode using M-x `ffap'
> * enable minibuffer display summarizing built-in function under point
> The extra features toggled by pde-extra-setting include:
> * turn on ido-mode and use ido completion read imenu tag
> * automatically update imenu-tree and make it always visible
> * complete read ignore case
> * turn on partial-completion-mode and you can find any perl module using M-x `find-file' by prefix-ing find-file with '<'.
Modifié(e) :
< * Debug regexp using interface of re-builder.
à
> * Debug regexps using the re-builder interface.
Modifié(e) :
< The manual of Emacs::PDE is in lisp/doc/pde.info. There is a tutorial for novice: <nowiki>lisp/doc/QuickStart.html</nowiki> in chinese and <nowiki>lisp/doc/QuickStartEn.html</nowiki> in english.
à
> The manual of Emacs::PDE is in lisp/doc/pde.info. For novices, there is a tutorial in <nowiki>lisp/doc/QuickStart.html</nowiki> in Chinese and <nowiki>lisp/doc/QuickStartEn.html</nowiki> in English.
Modifié(e) :
< If you found some bugs, or you got some problems or ideas, please do let me known.
à
> If you find some bugs, or you have problems or ideas, please let me know.
Emacs::PDE is a collection of Emacs Lisp extensions to facilitate Perl programming. CPerl Mode has provided an excellent environment for coding; Emacs::PDE provides other common tools such as creating files using templates, smart compiling, perldoc, perltidy, debugger, tags tree view and so on. PDE also provides an easy configuration for Perl programing, and a tutorial for novices to start using Emacs.
Emacs::PDE is available from CPAN. You can install it using the CPAN shell (untested) or download the compressed file to a local directory and install as described in the following section.
Installing Emacs::PDE is quite easy. When you download the archive of the Emacs::PDE distribution, uncompress the archive to a folder, for example, ~/elisp/pde, then put this into your ~/.emacs:
(add-to-list 'load-path "~/elisp/pde/lisp")
(load "pde-load")
That is all you need to do for a typical installation.
You can also use a Perl style installation:
./Build.PL
./Build test
./Build
./Build install
Note: test before building, so perl can test whether you have Emacs in your PATH. The default place to install lisp files is “$ENV{HOME}/.emacs.d/pde”. You can use option --elispdir to tell Perl where to put the lisp files. Note that if you use this install option, you should add ~/elisp/pde to ‘load-path’. Use the following in your .emacs:
(add-to-list 'load-path "~/elisp/pde")
(load "pde-load")
[new] Should this not be ~/.emacs.d/pde? – AlexSchroeder
[new] Because I see many libraries wrote this path in their installation instruction, I thought it is a convention. In fact, I also prefer to put all things related to emacs to ~/.emacs.d. The default place to install PDE is ~/.emacs.d/pde when installing by cpan.
The minimal enabled features after load ‘pde-load’ are:
‘perldoc’ or M-x ‘perldoc-tree’‘imenu-tree’‘inf-perl’‘perldb-ui’‘compile-dwim-compile’ and ‘compile-dwim-run’.‘ffap’The extra features toggled by pde-extra-setting include:
‘find-file’ by prefix-ing find-file with ‘<’.The manual of Emacs::PDE is in lisp/doc/pde.info. For novices, there is a tutorial in lisp/doc/QuickStart.html in Chinese and lisp/doc/QuickStartEn.html in English.
If you find some bugs, or you have problems or ideas, please let me know.