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

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, Matthew Woodcraft <matthew(at)woodcraft(dot)me(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Trim trailing whitespace in vim and emacs
Date: 2018-06-09 22:37:39
Message-ID: 5636fd4f-d3f9-7fe1-c97a-cf753762b90a@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 06/05/2018 05:33 PM, Andrew Gierth wrote:
>>>>>> "Matthew" == Matthew Woodcraft <matthew(at)woodcraft(dot)me(dot)uk> writes:
> Matthew> A few days ago there was a suggestion on this list to add a
> Matthew> .editorconfig file specifying tab width:
> Matthew> https://www.postgresql.org/message-id/87efhuz9be.fsf%40news-spur.riddles.org.uk
>
> Matthew> The .editorconfig format also supports a
> Matthew> trim_trailing_whitespace option (see https://editorconfig.org/
> Matthew> ).
>
> Yes. I was actually planning to ask if any .editorconfig users (of which
> I'm not one - my only use for it is to improve display output on github)
> would like to contribute the most useful content for such a file.
>

I'm not one either (yet!) but it seems to me like something worth doing.
It seems to support an impressively large number of editors and display
mechanisms, and adding a single small file to support it doesn't seem
onerous.

cheers

andrew

--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2018-06-09 23:18:17 Re: POC: GROUP BY optimization
Previous Message Peter Geoghegan 2018-06-09 21:48:21 Re: Add CONTRIBUTING.md