stas 01/11/13 19:41:35 Modified: src/devel/modperl_style modperl_style.pod Log: - Add the vim settings for the right tab/indent (by Tim Henigan) Revision Changes Path 1.5 +28 -16 modperl-docs/src/devel/modperl_style/modperl_style.pod Index: modperl_style.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/devel/modperl_style/modperl_style.pod,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- modperl_style.pod 2001/11/12 02:44:40 1.4 +++ modperl_style.pod 2001/11/14 03:41:35 1.5 @@ -33,32 +33,37 @@ =over 4 -=item Indentation +=item Indentation and Tabs Do use 4 characters indentation. -emacs: cperl-mode: .xemacs/custom.el - - (custom-set-variables - '(cperl-indent-level 4) - '(cperl-continued-statement-offset 4) - ) - -vi: ??? +Do NOT use tabs. -=item Tabs +Here is how to setup your editor to do the right thing: -Do NOT use tabs. +=over -emacs: cperl-mode: .xemacs/custom.el +=item * x?emacs: cperl-mode + .xemacs/custom.el: + ------------------ (custom-set-variables + '(cperl-indent-level 4) + '(cperl-continued-statement-offset 4) '(cperl-tab-always-indent t) '(indent-tabs-mode nil) ) -vi: ??? +=item * vim + .vimrc: + ------- + set expandtab " replaces any tab keypress with the appropriate number of spaces + set tabstop=4 " sets tabs to 4 spaces + +=back + + =item Block Braces Do use a style similar to K&R style, not the same. The following @@ -312,12 +317,19 @@ Maintainer is the person(s) you should contact with updates, corrections and patches. -Stas Bekman E<lt>[EMAIL PROTECTED]<gt> +Stas Bekman E<lt>stas *at* stason.orgE<gt> =head1 Authors + +=over -Stas Bekman E<lt>[EMAIL PROTECTED]<gt> -Doug MacEachern +=item * Stas Bekman E<lt>stas *at* stason.orgE<gt> + +=item * Doug MacEachernE<lt>dougm *at* covalent.netE<gt> + +=item * Tim Henigan E<lt>t.henigan *at* verizon.netE<gt> + +=back =cut
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]