Re: proposal: more practical view on function's source code

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: proposal: more practical view on function's source code
Дата
Msg-id 87fx3sed1x.fsf@hi-media-techno.com
обсуждение исходный текст
Ответ на Re: proposal: more practical view on function's source code  (Dimitri Fontaine <dfontaine@hi-media.com>)
Ответы Re: proposal: more practical view on function's source code  (Pavel Stehule <pavel.stehule@gmail.com>)
Список 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


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Updated Turkish stopwords list for Tsearch2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Updated Turkish stopwords list for Tsearch2