2010/3/22 Dimitri Fontaine <dfonta...@hi-media.com>: > Dimitri Fontaine <dfonta...@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.
great - I am looking somebody who can hack emacs sql-mode :). I'll have a few questions and request. Back to my problem - I dislike to start emacs every when I would to like source code ;) Pavel > > Regards, > -- > dim > > -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers