Lists: | pgsql-committerspgsql-hackers |
---|
From: | momjian(at)postgresql(dot)org (Bruce Momjian) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Remove tabs from SGML. |
Date: | 2009-08-15 20:23:20 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-committers pgsql-hackers |
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)
From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Bruce Momjian <momjian(at)postgresql(dot)org> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [COMMITTERS] pgsql: Remove tabs from SGML. |
Date: | 2009-08-15 23:13:42 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-committers pgsql-hackers |
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?
cheers
andrew
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | Bruce Momjian <momjian(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [COMMITTERS] pgsql: Remove tabs from SGML. |
Date: | 2009-08-15 23:24:54 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-committers pgsql-hackers |
On lör, 2009-08-15 at 19:13 -0400, Andrew Dunstan wrote:
> Do we have some recommended emacs settings for editing the docs? Do we
> need a pgsql-docs mode?
There are suggested settings in src/tools/editors/emacs.samples .
From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [COMMITTERS] pgsql: Remove tabs from SGML. |
Date: | 2009-08-15 23:42:50 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-committers pgsql-hackers |
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:
However, I don't see any mention of tabs there.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Bruce Momjian <momjian(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [COMMITTERS] pgsql: Remove tabs from SGML. |
Date: | 2009-08-15 23:44:21 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-committers pgsql-hackers |
Peter Eisentraut wrote:
> On lör, 2009-08-15 at 19:13 -0400, Andrew Dunstan wrote:
>
>> Do we have some recommended emacs settings for editing the docs? Do we
>> need a pgsql-docs mode?
>>
>
> There are suggested settings in src/tools/editors/emacs.samples .
>
>
Thanks. I wonder how I missed that.
cheers
andrew
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: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
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: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | Bruce Momjian <momjian(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [COMMITTERS] pgsql: Remove tabs from SGML. |
Date: | 2009-08-16 00:47:18 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-committers pgsql-hackers |
On Sat, Aug 15, 2009 at 07:13:42PM -0400, 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?
Perhaps instead of having people who use a particular text editor do
some special thing, we could use a CVS (later git) pre-commit hook to
look for tabs and reject any commit in this directory or lower that
has tabs in it. :)
Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate