delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/14/23:29:41

X-Spam-Check-By: sourceware.org
Date: Thu, 15 Dec 2005 06:29:15 +0200
Message-Id: <u8xunq8ys.fsf@gnu.org>
From: Eli Zaretskii <eliz AT gnu DOT org>
To: Lennart Borgman <lennart DOT borgman DOT 073 AT student DOT lu DOT se>
CC: r DOT berber AT computer DOT org, cygwin AT cygwin DOT com, emacs-devel AT gnu DOT org
In-reply-to: <43A08086.3010405@student.lu.se> (message from Lennart Borgman on Wed, 14 Dec 2005 21:28:54 +0100)
Subject: Re: Where is patch?
Reply-to: Eli Zaretskii <eliz AT gnu DOT org>
References: <43A064AD DOT 4050604 AT student DOT lu DOT se> <dnpsv8$o2r$1 AT sea DOT gmane DOT org> <43A08086 DOT 3010405 AT student DOT lu DOT se>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> Date: Wed, 14 Dec 2005 21:28:54 +0100
> From: Lennart Borgman <lennart DOT borgman DOT 073 AT student DOT lu DOT se>
> Cc: cygwin AT cygwin DOT com, Emacs Devel <emacs-devel AT gnu DOT org>
> 
> *** For patch: I would like it to discover that the line ending type of 
> the patch file and the file to patch differ.

Patch does that already if you use the --binary option on Windows.

> *** For Emacs: I would like the default on MS Windows to be CR-LF line 
> endings. That would in my opinion be less surpricing for an MS Windows user.

We decided long ago to preserve the EOL format, and I think that
decision was correct.  As I wrote elsewhere, I use Patch from within
Emacs on Windows with no problems at all.  Emacs has commands to force
specific EOL types when it saves files and communicates with
subordinate programs, so the defaults are not really important.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019