pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Quinney <stephen.quinney@computing-services.oxford.ac.uk>
To: Martin Marques <martin@bugs.unl.edu.ar>
Cc: pgsql-sql@postgresql.org
Subject: Re: colored PL with emacs
Date: Tue, 31 Aug 2004 13:11:41 +0100
Message-ID: <20040831121141.GC8517@computing-services.oxford.ac.uk> (raw)
In-Reply-To: <200408310842.44574.martin@bugs.unl.edu.ar>
References: <200408310842.44574.martin@bugs.unl.edu.ar>

On Tue, Aug 31, 2004 at 08:42:44AM -0300, Martin Marques wrote:
> Does anyone know of a .el file that can be used with Emacs to get colored 
> coding when working with PL/pgSQL?
> 

Emacs 21.3 (and possibly earlier versions) comes with an SQL mode
which I know has a PostgreSQL keyword highlighting option in the
menu. Just just need:

Meta-x sql-mode
Meta-x global-font-lock-mode

(and possibly select the postgres option in the highlighting bit of
the SQL menu that appears if you are using X)

I hope that helps,

Stephen Quinney





view thread (7+ messages)  latest in thread

Message-ID: <20040831121141.GC8517@computing-services.oxford.ac.uk>
Permalink:  ../20040831121141.GC8517@computing-services.oxford.ac.uk/
Also on:    postgresql.org/message-id/20040831121141.GC8517@computing-services.oxford.ac.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: stephen.quinney@computing-services.oxford.ac.uk, martin@bugs.unl.edu.ar
  Subject: Re: colored PL with emacs
  In-Reply-To: <20040831121141.GC8517@computing-services.oxford.ac.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox