Skip site navigation (1) Skip section navigation (2)

Re: colored PL with emacs

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Stephen Quinney <stephen(dot)quinney(at)computing-services(dot)oxford(dot)ac(dot)uk>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: colored PL with emacs
Date: 2004-08-31 12:32:36
Message-ID: 200408310932.36741.martin@bugs.unl.edu.ar (view raw or flat)
Thread:
Lists: pgsql-sql
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
-----------------------------------------------------------------

In response to

Responses

pgsql-sql by date

Next:From: Rajesh Kumar MallahDate: 2004-08-31 12:37:33
Subject: Re: Arbitrary precision arithmatic with pgsql
Previous:From: GeoffreyDate: 2004-08-31 12:22:04
Subject: Re: casting BOOL to somthng

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group