perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <torsten.foert...@gmx.net>
Subject [PATCH 1/9] cleaning up trailing empty lines, expanding tabs and adding emacs local vars
Date Mon, 03 Dec 2007 12:20:17 GMT
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

Mime
View raw message