[PATCH 3 of 5] extensions: improve the consistency of synopses

Martin Geisler mg at lazybytes.net
Wed Jun 24 05:31:22 CDT 2009


Dirkjan Ochtman <dirkjan at ochtman.nl> writes:

> On Wed, Jun 24, 2009 at 11:44, Martin Geisler<mg at lazybytes.net> wrote:
>> The main texts are wrapped at 70 chars, partly because it is the default
>> in Emacs and partly because it gives a nice indent on both sides (though
>> it's 4 chars on left and 10 on right). We could increase this to 76
>> chars to get a symmetric indent?
>
> BTW, I think it being the default in Emacs is not a very good reason
> at all. We're keeping to 80 chars for the code, why not do the same
> for comments?

Yeah, it's not a very good reason, but it is one of the reasons for the
current style. Having a symmetic margin/indent is a better reason in my
opinion.

What do people think about adding a local-variables block at the bottom
of each file:

# Local Variables:
# fill-column: 76
# End:

We should also add the corresponding block for vim, I think.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.


More information about the Mercurial-devel mailing list