pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Charles Sheridan <cesheri@swbell.net>
To: Luca Ferrari <fluca1978@infinito.it>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: CTAGS for PL/pgSQL ?
Date: Thu, 29 Aug 2013 09:17:46 -0500
Message-ID: <521F580A.4020804@swbell.net> (raw)
In-Reply-To: <CAKoxK+51pqHXGfFRNOqMqybdHXtbcYFUiY6w=M03NyXqxkoknw@mail.gmail.com>
References: <201308281424.r7SEOuhS024110@nlpi165.prodigy.net>
	<521E125C.6050706@swbell.net>
	<CAKoxK+4tXBtZvNddV3pbkvfspk3tT2P0wwEQDe5bBT5K8F0DEg@mail.gmail.com>
	<521F4A0B.3090701@swbell.net>
	<20130829133311.GD27301@momjian.us>
	<CAKoxK+51pqHXGfFRNOqMqybdHXtbcYFUiY6w=M03NyXqxkoknw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

On 13-08-29 9:00 AM, Luca Ferrari wrote:
> On Thu, Aug 29, 2013 at 3:33 PM, Bruce Momjian <bruce@momjian.us> 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



view thread (6+ messages)

Message-ID: <521F580A.4020804@swbell.net>
Permalink:  ../521F580A.4020804@swbell.net/
Also on:    postgresql.org/message-id/521F580A.4020804@swbell.net

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: cesheri@swbell.net, fluca1978@infinito.it, bruce@momjian.us
  Subject: Re: CTAGS for PL/pgSQL ?
  In-Reply-To: <521F580A.4020804@swbell.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox