syntax highlighting in emacs after \e in psql

From: MikeW <wlasenek(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: syntax highlighting in emacs after \e in psql
Date: 2011-11-14 16:08:53
Message-ID: 8989a0da-5f46-42af-9836-f636067a204f@r9g2000vbw.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

I'm sure somebody has already solved this problem on Unix.

When I open *.sql files in my emacs it highlights the SQL and Postgres
syntax correctly. But does anybody know how to make it behave like
that also after invoking \e command in psql (so that I don't need to
say: M-x sql-mode each time). My .profile contains: PSQL_EDITOR=emacs;
export PSQL_EDITOR.

Thanks!
MikeW

Responses

Browse pgsql-general by date

  From Date Subject
Next Message LPlateAndy 2011-11-14 16:25:16 Re: encoding and LC_COLLATE
Previous Message Adrian Klaver 2011-11-14 15:13:56 Re: encoding and LC_COLLATE