Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VF32o-00015p-EX for pgsql-sql@arkaria.postgresql.org; Thu, 29 Aug 2013 14:17:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VF32n-0006zH-UR for pgsql-sql@arkaria.postgresql.org; Thu, 29 Aug 2013 14:17:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VF32n-0006zB-8d for pgsql-sql@postgresql.org; Thu, 29 Aug 2013 14:17:53 +0000 Received: from nm10-vm2.access.bullet.mail.bf1.yahoo.com ([216.109.114.209]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VF32i-0005Nr-NX for pgsql-sql@postgresql.org; Thu, 29 Aug 2013 14:17:51 +0000 Received: from [66.196.81.158] by nm10.access.bullet.mail.bf1.yahoo.com with NNFMP; 29 Aug 2013 14:17:47 -0000 Received: from [98.138.84.172] by tm4.access.bullet.mail.bf1.yahoo.com with NNFMP; 29 Aug 2013 14:17:47 -0000 Received: from [127.0.0.1] by smtp106.sbc.mail.ne1.yahoo.com with NNFMP; 29 Aug 2013 14:17:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=swbell.net; s=s1024; t=1377785867; bh=caQOXHk5+l5DrCwclI/Ha7b6llm58bIA4pYV5J0aLRc=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=H1Ppie9asp2UW1he39F1tBU6Y58eMjpD03XvTZFELzN67YhbjG/5GQm+xeF8pjrKnIncZs1GqGSH4ib9b4uf+KOb0xDx1/sVoh8N873nYASxWb2ti6s7d0QawUNOWJOu02jaN6y4pYdzbdYSGd2JfiZG67xA1krBd76GIdzmfHU= X-Yahoo-Newman-Id: 280914.25731.bm@smtp106.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: sMcMM24VM1n4hgrs5GU2QsP0Pe7ZrLdohgxJMe96ZUO3iGx NyUdN2l4W.EzYZydEZSFNSica8.MzSihPnqDfiTuN_s1cGQQ9_TeSlDYp687 zbDAj0agltw2T3iniDBrzPDWh6IX1.J97EPmRGKjYEnA1...Bw0Ptw4PhURD bwez_lLrK.h6jmjNo5sbrjIC.AsC5S_mFiJCDY57SmTlpFkNiXs58v1Bauj0 TmTLi.wJL_6XIP0fWt5IPUX4P0uuundgy3LvqaZWJBIqGCqwrhsyfR7ajqa8 2M4GoY69zMPQLaTD1hSPv6P3TDbLxwBGBVIefg22JaSo6SrDDSqX_twDs2Lv fSq2d39sNq5_EbCJwo45ehV5sbxI_b2k1uEsVOSCLXIGRvXqdpQHPzfu2L4I xxCKRb1EfozlJsQmHyXsNFa7oLIoXAXTHqxUa85qrtDZTAiSwIncegdIZ_H. hRDkpM7qMgXZWXPyVsw5vDyYYGtPURznzjMpvA0YSE2tv9yvNz.BDGWaxAxa GrGAtultwH2P09ZSTo_OZiTT1Ww4- X-Yahoo-SMTP: NWruC76swBANsuYA8Sq7O_cB4LU2w8OVbetpcDhsRQ-- X-Rocket-Received: from [192.168.1.71] (cesheri@108.77.127.93 with plain) by smtp106.sbc.mail.ne1.yahoo.com with SMTP; 29 Aug 2013 07:17:47 -0700 PDT Message-ID: <521F580A.4020804@swbell.net> Date: Thu, 29 Aug 2013 09:17:46 -0500 From: Charles Sheridan Reply-To: cesheri@swbell.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Luca Ferrari CC: Bruce Momjian , "pgsql-sql@postgresql.org" Subject: Re: CTAGS for PL/pgSQL ? References: <201308281424.r7SEOuhS024110@nlpi165.prodigy.net> <521E125C.6050706@swbell.net> <521F4A0B.3090701@swbell.net> <20130829133311.GD27301@momjian.us> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org On 13-08-29 9:00 AM, Luca Ferrari wrote: > On Thu, Aug 29, 2013 at 3:33 PM, Bruce Momjian wrote: > >> Uh, I think Vim can use etags, no? Isn't etags Exuberant Ctags? The >> Exuberant Ctags's FAQ mentions Vim: >> > I was referring to the etags shipped with emacs, that even if does not > support (explicitly) sql seems to work for a very simple test. I've > done the same test using the etags (from ctags) and it works too, so > now the important thing is to make vim using the tags file and see > what is missing. > > > Luca > > Vim documentation states that ctags won't work w/ vim, and recommends exuberant-ctags. If ctags does process PL/pgSQL, perhaps that output could be added to the exuberant-ctags tags file, likely w/ some processing. I've got exuberant-ctags on a cron, and I think that Vim also calls it periodically during a Vim session, so I'd also cron ctags for regular update to the same tags file. To avoid sync problems, where exuberant-ctags overwrites the ctags content, I'd actually want to call both tags programs from the a common exuberant-ctags wrapper. Charles -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql