Re: [Postfixadmin-devel] SF.net SVN: postfixadmin:[560] trunk
Brought to you by:
christian_boltz,
gingerdog
From: Christian B. <pos...@cb...> - 2009-02-03 23:30:59
|
Hello, Am Dienstag, 3. Februar 2009 schrieb David Goodwin: > Christian Boltz wrote : ... > Oh really? I thought we used 4 spaces... at least I'm pretty sure I'm > reindenting code to this etc. At least the vim: lines say ts=3 in most files ;-) I grepped around a bit - only 9 of 72 files have ts=4. In the future (read: when doing the long-planned rewrite etc.) we should really use ts=4 (and maybe use real tabs instead of spaces), but the historically grown files come with ts=3. > > If you use vim as editor, the vim: line in each file should setup > > this automatically (except if you have disabled modelines - which > > is the case on most newer installations because modelines can be > > security relevant somehow [don't ask for the details]). > > Ah.. so that explains why the magic lines aren't working any longer.. > *grr* Hint: Add something like this to your ~/.vimrc to re-enable it: set modelines=15 (see also ":help modelines") Regards, Christian Boltz -- .: Schneewittchen & die Pfälzer Waldconnection :. Ein polit-kabarettistisches Märchenstück mit viel Musik gesungen & gespielt von Mitgliedern der Landjugend RheinhessenPfalz 18.1.2009 Berlin - 6.2.2009 Neustadt - Infos: www.LJ-RheinhessenPfalz.de |