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 172485E46CC for ; Wed, 1 Sep 2004 12:59:01 -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 29707-10 for ; Wed, 1 Sep 2004 15:59:05 +0000 (GMT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by svr1.postgresql.org (Postfix) with ESMTP id 41B5D5E40BA for ; Wed, 1 Sep 2004 12:58:57 -0300 (ADT) Received: from user-1120ifu.dsl.mindspring.com ([66.32.73.254] helo=[192.168.1.10]) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1C2XVZ-0005Eg-00; Wed, 01 Sep 2004 08:58:49 -0700 In-Reply-To: References: <200408310842.44574.martin@bugs.unl.edu.ar> <20040831121141.GC8517@computing-services.oxford.ac.uk> <200408310932.36741.martin@bugs.unl.edu.ar> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: Stephen Quinney , Martin Marques , pgsql-sql@postgresql.org From: John DeSoi Subject: Re: colored PL with emacs Date: Wed, 1 Sep 2004 11:57:33 -0400 To: Manuel Sugawara X-Mailer: Apple Mail (2.613) 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: 200409/20 X-Sequence-Number: 18866 On Aug 31, 2004, at 1:23 PM, Manuel Sugawara wrote: > >> I have SQL highlighting, but what I want are colors for the PL/pgSQL >> key words. It would make PL programming much easier. > > Since the Pl/PgSQL code is quoted (x)emacs paints the whole thing > using the string face. Delete one of the apostrophes delimiting the > code while editing and you should get some highlighting. I'm working on an editor specifically designed for PostgreSQL and plpgsql programming. It colors syntax within function strings and helps get the quoting right (8.0 dollar quoting is also supported). The editor is based on emacs but it also has emulation modes that are more friendly for those who are not familiar with emacs. I hope to start beta testing the Mac OS X version next week, followed by a Windows version probably in October. I have not yet decided if I will do a Linux version, but it should be possible. The estimated price for this product is $65. Send me an email if you are interested in beta testing the Mac OS X version. Best, John DeSoi, Ph.D.