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