Re: proposal: more practical view on function's source code
Dimitri Fontaine <dfontaine@hi-media.com>
From: Dimitri Fontaine <dfontaine@hi-media.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pavel Stehule <pavel.stehule@gmail.com>, Craig Ringer <craig@postnewspapers.com.au>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-03-22T12:49:46Z
Lists: pgsql-hackers
Attachments
- dim-pgsql.el (application/emacs-lisp)
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