Gnus development mailing list
 help / color / mirror / Atom feed
From: Kevin Greiner <kgreiner@xpediantsolutions.com>
Subject: Re: [Patch] XEmacs args in make.bat
Date: Fri, 18 Apr 2003 08:36:59 -0500	[thread overview]
Message-ID: <ud6jk2ah0.fsf@xpediantsolutions.com> (raw)
In-Reply-To: <v91y01m9zg.fsf@marauder.physik.uni-ulm.de>

Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:

> On Thu, Apr 17 2003, Kevin Greiner wrote:
>
>> The new make.bat worked fine with emacs.  The only issue was that,
>> when I opened make.bat in emacs, each line was terminated with a pair
>> of linefeed characters.
>
> Emacs should be happy with both line terminators.  When editing a DOS
> file, Emacs will indicate "(DOS)" in the mode line.
>
>> I've checked in a change to fix the linefeed characters.
>
> I don't use Windows, but I always thought that MS-DOS batch files
> *must* have CRLF (\r\n) line terminators not unix-style LF (\n).  I'd
> suggest to revert you change, Kevin.

Yes, but you don't introduce them literally on a Unix box.  CVS
understands that text files have O/S dependent line terminators so the
\r is added/removed automatically.

If you added \r while on a Unix box, it would explain why I saw \r\r\n
when checking-out the file on windows.

I've been told that earlier versions of the make.bat file were flagged
as binary in CVS.  That would certainly explain the misunderstanding as
binary DOS files would appear in DOS mode on a Unix box.  Personally,
while I didn't make the change, I prefer having a text file marked as
text in CVS.


Kevin



  reply	other threads:[~2003-04-18 13:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-16  6:36 [PATCH] Building in a cleaner environment for XEmacs Steve Youngs
2003-04-16  9:30 ` Frank Schmitt
2003-04-16 10:37   ` Steve Youngs
2003-04-16 13:54     ` [Patch] XEmacs args in make.bat (was: [PATCH] Building in a cleaner environment for XEmacs.) Frank Schmitt
2003-04-16 14:57       ` [Patch] XEmacs args in make.bat Reiner Steib
2003-04-16 21:43       ` Steve Youngs
2003-04-16 23:55         ` Kevin Greiner
2003-04-17 15:14           ` Reiner Steib
2003-04-18 13:36             ` Kevin Greiner [this message]
2003-04-18 20:48               ` \r\n or \n line endings in make.bat? (was: [Patch] XEmacs args in make.bat) Reiner Steib
2003-04-18 22:53                 ` \r\n or \n line endings in make.bat? Graham Murray
2003-04-19 20:10                   ` Frank Schmitt
2003-04-20  5:20                     ` Kevin Greiner
2003-04-22 18:28                       ` Reiner Steib
2003-04-23  4:27                         ` Kevin Greiner
2003-04-17  0:40 ` [PATCH] Building in a cleaner environment for XEmacs Katsumi Yamaoka
2003-04-17  7:45   ` Steve Youngs
2003-04-17  9:07     ` Katsumi Yamaoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ud6jk2ah0.fsf@xpediantsolutions.com \
    --to=kgreiner@xpediantsolutions.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).