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

El Mar 31 Ago 2004 09:11, Stephen Quinney escribió:
> 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 have SQL highlighting, but what I want are colors for the PL/pgSQL key 
words. It would make PL programming much easier.

-- 
 09:30:02 up 8 days,  1:17,  2 users,  load average: 0.70, 0.44, 0.54
-----------------------------------------------------------------
Martín Marqués        | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica  |  DBA, Programador, Administrador
             Universidad Nacional
                  del Litoral
-----------------------------------------------------------------



view thread (7+ messages)  latest in thread

Message-ID: <200408310932.36741.martin@bugs.unl.edu.ar>
Permalink:  ../200408310932.36741.martin@bugs.unl.edu.ar/
Also on:    postgresql.org/message-id/200408310932.36741.martin@bugs.unl.edu.ar

 · 

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: martin@bugs.unl.edu.ar, stephen.quinney@computing-services.oxford.ac.uk
  Subject: Re: colored PL with emacs
  In-Reply-To: <200408310932.36741.martin@bugs.unl.edu.ar>

* 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