chora patch... (cleaned ? )

Mathieu CLABAUT mathieu.clabaut@free.fr
Mon, 18 Mar 2002 12:14:21 +0100 (CET)


---------------------- multipart/mixed attachment

 Hello,

  Here is the cleaned version of chora patch I sent a week ago.... (A
  patch which memorize last file cvsroot/file opened).

  I must say I've not find so many thing to clean. I've replaced the
  Horde tag line in the prefs file (which was taken from IMP prefs) by
  an empty one, and I add and suppress some spaces before open
  parentheses

  I also configure vim to use 4 spaces for tabulation....

  I hope it will suffice. If not, I'll be glade to ear back some comment
  on what should have been done..... Yes, I think I can learn, if
  someone help me  ;-) !!!

  Read u later...

-mat


-- 
___________________________________________________________________________
Mathieu CLABAUT                            mailto:mathieu.clabaut@free.fr
DIGINEXT                                     http://mathieu.clabaut.free.fr
45, impasse de la draille, P.A. La Duranne,   tel: 04 42 90 82 91
13857 Aix En Provence - cedex 3               fax: 04 42 90 82 80

---------------------- multipart/mixed attachment
ZGlmZiAtY3JiQndOIGNob3JhL2NvbmZpZy9wcmVmcy5waHAgL3Zhci93d3cv
ZGlnaW5leHQvZGV2ZWwvaG9yZGUvY2hvcmEvY29uZmlnL3ByZWZzLnBocA0K
KioqIGNob3JhL2NvbmZpZy9wcmVmcy5waHAJVGh1IEphbiAgMSAwMTowMDow
MCAxOTcwDQotLS0gL3Zhci93d3cvZGlnaW5leHQvZGV2ZWwvaG9yZGUvY2hv
cmEvY29uZmlnL3ByZWZzLnBocAlNb24gTWFyIDE4IDEyOjAxOjM4IDIwMDIN
CioqKioqKioqKioqKioqKg0KKioqIDAgKioqKg0KLS0tIDEsMzYgLS0tLQ0K
KyA8P3BocA0KKyAvLyAkSG9yZGU6JA0KKyANCisgJHByZWZHcm91cHNbJ2xv
Z2ludGFza3MnXSA9IGFycmF5KA0KKyAgICAgJ2NvbHVtbicgPT4gXygiT3Ro
ZXIgT3B0aW9ucyIpLA0KKyAgICAgJ2xhYmVsJyA9PiBfKCJMb2dpbiBUYXNr
cyIpLA0KKyAgICAgJ2Rlc2MnID0+IF8oIkN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