Re: [PATCH] Trim trailing whitespace in vim and emacs

Поиск
Список
Период
Сортировка
От Matthew Woodcraft
Тема Re: [PATCH] Trim trailing whitespace in vim and emacs
Дата
Msg-id pf6uor$in2$1@blaine.gmane.org
обсуждение исходный текст
Ответ на [PATCH] Trim trailing whitespace in vim and emacs  (David Fetter <david@fetter.org>)
Ответы Re: [PATCH] Trim trailing whitespace in vim and emacs  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers
On 2018-06-05 18:22, David Fetter wrote:
> Folks,
> 
> Here's my attempt to $subject. I've tested with vim, but I'm much less
> certain I got the EMACS code right.
> 
> Is there any interest in such a feature?

A few days ago there was a suggestion on this list to add a
.editorconfig file specifying tab width:
https://www.postgresql.org/message-id/87efhuz9be.fsf%40news-spur.riddles.org.uk

The .editorconfig format also supports a trim_trailing_whitespace option
(see https://editorconfig.org/ ).

So that might be a simpler way to achieve this (I suppose people who
don't want this behaviour just wouldn't configure their editors to
honour .editorconfig files).

-M-



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: automating perl compile time checking
Следующее
От: Vik Fearing
Дата:
Сообщение: Re: Periods