cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: The curl CVS moves

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 17 May 2004 08:41:26 +0200 (CEST)

On Fri, 14 May 2004, Gisle Vanem wrote:

> I have a request too. It would be nice if part of the checkin process, you
> could strip trailing space from the files.

Since I am still the one who do all the committing, I can achieve the same
thing by telling my editor to strip trailing white spaces on save, which then
saves me from the hassles of setting up a commit script.

To talk emacs:

  (add-hook 'write-file-hooks 'delete-trailing-whitespace)

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-17