Re: [HACKERS] Indent

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Indent
Дата
Msg-id Pine.GSO.4.02A.9911111631090.22368-100000@Lodjur.DoCS.UU.SE
обсуждение исходный текст
Ответ на Re: [HACKERS] Indent  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
On Wed, 10 Nov 1999, Bruce Momjian wrote:

> > ObFlameBait: Personally I think we should switch over to standard
> > 8-column tabs, but Bruce is apparently still using some medieval editor
> > in which physical tab widths dictate logical indent levels :-(
> 
> Vadim is also in agreement on this.  Not many editors can handle
> cases where tab size is different from indent size.  Emacs obviously
> can, and Tom has enjoyed pointing out.  :-)
> 
> I am willing to re-open the discussion if we people would prefer
> something else.

Trying to redefine a tab to be 4 spaces is asking for trouble. How about
making pgindent replace 8 spaces with a tab and 4 spaces with, well, 4
spaces. This is how emacs handles bsd indent style if you don't change the
tab sizes. And all other editors should be fine with this.

Personally, I'm always in favour of using no tabs at all, because of this
very problem, and just because they annoy me. But I tend to be alone with
that position.

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: [INTERFACES] Re: [HACKERS] CORBA STATUS
Следующее
От: Oleg Broytmann
Дата:
Сообщение: PostgreSQL and Zope