Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] Plans for Sympa

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Guillaume Rousse <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-developpers] Plans for Sympa
  • Date: Mon, 18 Mar 2013 09:57:48 +0100

Le 13/03/2013 12:22, IKEDA Soji a écrit :
Would you like to make up .perltidyrc not far from your formatting
rules?
This seems to be the closest match.

However, it does far more than just fixing indentation, which is my main grief against this kind of tools. For instance, it turns human-crafted constructs such as
$foo->bar({
param1 => value1,
param2 => value2
});
into an additional useless indentation step:
$foo->bar(
{
param1 => value1,
param2 => value2
}
);

My point is just than perltidy is just one way to help achieving desired result, not the the desired result itself.
--
Guillaume Rousse
INRIA, Direction des systèmes d'information
Domaine de Voluceau
Rocquencourt - BP 105
78153 Le Chesnay
Tel: 01 39 63 58 31
-bar # Opening brace always on right (* no)
-bbt=1 # Medium block brace tightness
-bt=2 # Medium brace tightness (* 1)
-ce # Cuddled else (* no)
-ci=8 # Continuation indent is 8 cols
-cti=0 # No extra indentation for closing brackets
-et=8 # Entab leading 8 whitespace (* none)
-i=8 # Indent level is 8 cols
-l=78 # Max line witdh is 78 cols
-nolq # Don't outdent long quoted strings
-nsbl # No opening sub brace on new line (* -sbl)
-nsfs # No space before semicolons
-pt=2 # Medium parenthesis tightness (* 1)
-sbt=2 # Medium square bracket tightness (* 1)
-se # Errors to STDERR
#-st # Output to STDOUT
-vt=2 # Maximal vertical tightness
-wba="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /=
|= >>= ||= .= %= ^= x= || && . ? : and or xor"
# Break after all operators (* not contains "||" and tokens appear after it)

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page