Обсуждение: pgsql: Add some instructions on how to customize emacs for working on

Поиск
Список
Период
Сортировка

pgsql: Add some instructions on how to customize emacs for working on

От
petere@postgresql.org (Peter Eisentraut)
Дата:
Log Message:
-----------
Add some instructions on how to customize emacs for working on the SGML
sources.

Modified Files:
--------------
    pgsql/src/tools/editors:
        emacs.samples (r1.1 -> r1.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/editors/emacs.samples?r1=1.1&r2=1.2)

Re: pgsql: Add some instructions on how to customize emacs for working on

От
Andrew Dunstan
Дата:

Peter Eisentraut wrote:
> Log Message:
> -----------
> Add some instructions on how to customize emacs for working on the SGML
> sources.
>
> Modified Files:
> --------------
>     pgsql/src/tools/editors:
>         emacs.samples (r1.1 -> r1.2)
>         (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/editors/emacs.samples?r1=1.1&r2=1.2)
>
>

Is this really what you meant to add?

> (setq auto-mode-alist
>   (cons '("\\(postgres\\|pgsql\\).*\\.sgml\\'" . pgsql-c-mode)
>         auto-mode-alist))


shouldn't that be pgsql-sgml-mode ?

cheers

andrew