On Wed 14 Nov 2007, Philippe M. Chiasson wrote:
> >> /*
> >>  * Local Variables:
> >>  * c-basic-offset: 4
> >>  * indent-tabs-mode: nil
> >>  * End:
> >>  */
> >>
> >> and this to Perl-files:
> >>
> >> # Local Variables: #
> >> # mode: cperl #
> >> # cperl-indent-level: 4 #
> >> # indent-tabs-mode: nil #
> >> # End: #
> >
> > Can I take it as a "not at all" that you have left these comments in the
> > code?
>
> Yes, don't mind at all.

This is the first of set of patches that clean trailing empty lines in C files 
and trailing spaces from lines, expand tabs in C and Perl files and add emacs 
local variables to C and Perl files.

26.diff
deletes existing emacs local vars from modperl_module.c and modperl_interp.c

27.diff
deletes trailing spaces and trailing empty lines from C files

28.diff
adds emacs local vars to C files

29.diff
expands tabs in C files

30.diff
expands tabs in *.p[lm]
This patch is too big for the 100000 byte limit of the mailing list and will 
be sent in 2 parts.

31.diff
adds emacs local vars to *.p[lm]
In perl files this is done in the first line or the line after the shebang 
line. Thus the __DATA__ section is not touched.
This patch is too big for the 100000 byte limit of the mailing list and will 
be sent in 2 parts.

32.diff
does the same to t/.../*.t

33.diff
expands tabs in ModPerl-Registry/t/*.t

34.diff
adds emacs local vars to ModPerl-Registry/t/*.t

The diffs are from my local svn that was almost in sync with the threading 
branch except of t/response/TestPerl/ithreads3.pm and t/perl/ithreads3.t that 
do not exist yet in the threading branch.

Torsten
Index: src/modules/perl/modperl_module.c
===================================================================
--- src/modules/perl/modperl_module.c	(revision 25)
+++ src/modules/perl/modperl_module.c	(revision 26)
@@ -931,9 +931,3 @@
 
     return obj;
 }
-
-/*
- * Local Variables:
- * c-basic-offset: 4
- * End:
- */
Index: src/modules/perl/modperl_interp.c
===================================================================
--- src/modules/perl/modperl_interp.c	(revision 25)
+++ src/modules/perl/modperl_interp.c	(revision 26)
@@ -600,9 +600,3 @@
 }
 
 #endif /* USE_ITHREADS */
-
-/*
- * Local Variables:
- * c-basic-offset: 4
- * End:
- */

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to