Re: proposal: more practical view on function's source code - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: proposal: more practical view on function's source code
Date
Msg-id 87fx3sed1x.fsf@hi-media-techno.com
Whole thread Raw
In response to Re: proposal: more practical view on function's source code  (Dimitri Fontaine <dfontaine@hi-media.com>)
Responses Re: proposal: more practical view on function's source code
List pgsql-hackers
Dimitri Fontaine <dfontaine@hi-media.com> writes:
> Sure, I should go and write a complete pgsql emacs mode
> with a linum-mode like feature counting lines the way PG does it, …

Ok maybe just using the current SQL mode and linum mode is enough if we
teach this latter one to count PostgreSQL function lines the same way as
the server does. I think the attached just does that.

With it activated in your emacs, M-x linum-mode on a sql-mode buffer
will show two counts when in a function, first one is the function line
number.

Regards,
--
dim


Attachment

pgsql-hackers by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Updated Turkish stopwords list for Tsearch2
Next
From: Tom Lane
Date:
Subject: Re: Updated Turkish stopwords list for Tsearch2