Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 1/3] Add contrib/credentials/netrc with GPG support

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:03

Ted Zlatanov [off-list ref] writes:
JCH> I thought that we tend to avoid Emacs/Vim formatting cruft left in
JCH> the file.  Do we have any in existing file outside contrib/?

No, but it's a nice way to express the settings so no one is guessing
what the project prefers.  At least for me it's not an issue anymore,
since I understand your criteria better now, so let me know if you want
me to express it in the CodingGuidelines, in a dir-locals.el file, or
somewhere else.
Historically we treated this from CodingGuidelines a sufficient
clue:

    As for more concrete guidelines, just imitate the existing code
    (this is a good guideline, no matter which project you are
    contributing to). It is always preferable to match the _local_
    convention. New code added to git suite is expected to match
    the overall style of existing code. Modifications to existing
    code is expected to match the style the surrounding code already
    uses (even if it doesn't match the overall style of existing code).

but over time people wanted more specific guidelines and added
language specific style guides there.  We have sections that cover
C, shell and Python, and I do not think adding Perl would not hurt.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help