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 407DA5E3F15 for ; Tue, 31 Aug 2004 09:11:47 -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 81775-08 for ; Tue, 31 Aug 2004 12:11:35 +0000 (GMT) Received: from tx1.oucs.ox.ac.uk (tx1.oucs.ox.ac.uk [129.67.1.167]) by svr1.postgresql.org (Postfix) with ESMTP id 8B7545E470A for ; Tue, 31 Aug 2004 09:11:38 -0300 (ADT) Received: from scan1.oucs.ox.ac.uk ([129.67.1.166] helo=localhost) by tx1.oucs.ox.ac.uk with esmtp (Exim 4.24) id 1C27UE-000404-GE for pgsql-sql@postgresql.org; Tue, 31 Aug 2004 13:11:42 +0100 Received: from rx1.oucs.ox.ac.uk ([129.67.1.165]) by localhost (scan1.oucs.ox.ac.uk [129.67.1.166]) (amavisd-new, port 25) with ESMTP id 14721-10 for ; Tue, 31 Aug 2004 13:11:41 +0100 (BST) Received: from smtp0.herald.ox.ac.uk ([163.1.0.246]) by rx1.oucs.ox.ac.uk with esmtp (Exim 4.24) id 1C27UD-0003zv-5Y; Tue, 31 Aug 2004 13:11:41 +0100 Received: from mizar.oucs.ox.ac.uk ([129.67.101.107]) by smtp0.herald.ox.ac.uk with esmtp (Exim 3.35 #1) id 1C27UD-0003Xn-3y; Tue, 31 Aug 2004 13:11:41 +0100 Received: from stephen by mizar.oucs.ox.ac.uk with local (Exim 3.36 #1 (Debian)) id 1C27UD-0002qa-00; Tue, 31 Aug 2004 13:11:41 +0100 Date: Tue, 31 Aug 2004 13:11:41 +0100 From: Stephen Quinney To: Martin Marques Cc: pgsql-sql@postgresql.org Subject: Re: colored PL with emacs Message-ID: <20040831121141.GC8517@computing-services.oxford.ac.uk> References: <200408310842.44574.martin@bugs.unl.edu.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408310842.44574.martin@bugs.unl.edu.ar> X-Operating-System: Linux mizar 2.6.8.1 x-gpg-fingerprint: F934 244D 4E26 DBDE C9EF BFB7 2131 9B94 4C1A 5BE5 x-gpg-key: wwwkeys.uk.pgp.net User-Agent: Mutt/1.5.6+20040722i 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/334 X-Sequence-Number: 18831 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