Re: [HACKERS] Source code format votes
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Peter Mount <petermount@it.maidstone.gov.uk>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 1999-12-24T17:21:30Z
Lists: pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes: >> BTW, Bruce suggested adding Local-variables settings to all the source >> files to push Emacs into making the right settings, but I much prefer >> doing it as above. Local-variables is an insecure feature if you ask >> me; I keep it disabled. > OK. I just know some developers added them on their own, so it > certainly is an issue for them. Yes, I notice Thomas has all of the .sgml files set up with Local-variables settings. I think that adding a pgsql-sgml-mode along the same lines as I just illustrated would be a much better way of handling it. > Also, is there a way to add a dot-file in a directory to control default > formatting, but still allow the main .emacs to be read? I don't think so. If there were, it'd have the same kinds of security risks as Local-variables has (visit someone else's file, auto-execute someone else's code ... not cool). regards, tom lane