X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3374C5E46CE for ; Tue, 31 Aug 2004 09:34:07 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 86574-09 for ; Tue, 31 Aug 2004 12:33:57 +0000 (GMT) Received: from bugs.unl.edu.ar (bugs.unl.edu.ar [168.96.132.208]) by svr1.postgresql.org (Postfix) with ESMTP id 858FA5E3632 for ; Tue, 31 Aug 2004 09:33:57 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by bugs.unl.edu.ar (Postfix) with ESMTP id D309812096; Tue, 31 Aug 2004 09:32:39 -0300 (ART) Received: from bugs.unl.edu.ar ([127.0.0.1]) by localhost (bugs [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14984-10; Tue, 31 Aug 2004 09:32:39 -0300 (ART) Received: from localhost (localhost [127.0.0.1]) by bugs.unl.edu.ar (Postfix) with ESMTP id 1A2E111E08; Tue, 31 Aug 2004 09:32:38 -0300 (ART) From: Martin Marques To: Stephen Quinney Subject: Re: colored PL with emacs Date: Tue, 31 Aug 2004 09:32:36 -0300 User-Agent: KMail/1.6.2 Cc: pgsql-sql@postgresql.org References: <200408310842.44574.martin@bugs.unl.edu.ar> <20040831121141.GC8517@computing-services.oxford.ac.uk> In-Reply-To: <20040831121141.GC8517@computing-services.oxford.ac.uk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200408310932.36741.martin@bugs.unl.edu.ar> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at bugs.unl.edu.ar X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/338 X-Sequence-Number: 18835 El Mar 31 Ago 2004 09:11, Stephen Quinney escribi=F3: > 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 color= ed > > 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=20 words. It would make PL programming much easier. --=20 09:30:02 up 8 days, 1:17, 2 users, load average: 0.70, 0.44, 0.54 ----------------------------------------------------------------- Mart=EDn Marqu=E9s | select 'mmarques' || '@' || 'unl.edu.ar' Centro de Telematica | DBA, Programador, Administrador Universidad Nacional del Litoral -----------------------------------------------------------------