From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [COMMITTERS] pgsql: Remove tabs from SGML. |
Date: | 2009-08-16 00:02:38 |
Message-ID: | 4A874C9E.90003@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Bruce Momjian wrote:
> Andrew Dunstan wrote:
>
>> Bruce Momjian wrote:
>>
>>> Log Message:
>>> -----------
>>> Remove tabs from SGML.
>>>
>>> Tags:
>>> ----
>>> REL8_3_STABLE
>>>
>>> Modified Files:
>>> --------------
>>> pgsql/doc/src/sgml/ref:
>>> psql-ref.sgml (r1.198.2.1 -> r1.198.2.2)
>>> (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/psql-ref.sgml?r1=1.198.2.1&r2=1.198.2.2)
>>>
>>>
>>>
>> Do we have some recommended emacs settings for editing the docs? Do we
>> need a pgsql-docs mode?
>>
>
> Yes, Emacs/PSGML, as mentioned in our docs:
>
> http://www.postgresql.org/docs/8.4/static/docguide-authoring.html
>
> However, I don't see any mention of tabs there.
>
Well, I picked up this from our sample in src/tools/editors and put it
in my emacs init file:
(defun pgsql-sgml-mode ()
"SGML mode adjusted for PostgreSQL project"
(interactive)
(sgml-mode)
(setq indent-tabs-mode nil)
(setq sgml-basic-offset 1)
)
(setq auto-mode-alist
(cons '("\\(postgres\\|pgsql\\).*\\.sgml\\'" . pgsql-sgml-mode)
auto-mode-alist))
It seems to work.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2009-08-16 00:47:18 | Re: [COMMITTERS] pgsql: Remove tabs from SGML. |
Previous Message | Andrew Dunstan | 2009-08-15 23:44:21 | Re: [COMMITTERS] pgsql: Remove tabs from SGML. |
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2009-08-16 00:47:18 | Re: [COMMITTERS] pgsql: Remove tabs from SGML. |
Previous Message | Jeff Davis | 2009-08-15 23:55:41 | Re: freezing tuples ( was: Why is vacuum_freeze_min_age 100m? ) |