[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS and ^M

From: Noel Yap
Subject: Re: CVS and ^M
Date: Sun, 28 Jul 2002 16:59:04 -0700 (PDT)

--- Carsten Friedrich <address@hidden> wrote:
> > I've always used Cygwin in binary mode with
> editors
> > that understand one-character line endings.  I had
> > thought, in order to use "closed-world" editors,
> one
> > would have to mount using text mode.  Do to the
> lack
> > of real experience with this on my part, I would
> trust
> > your (ie David's) assessment and advice over mine.
> > 
> Thanks for all your replys. As it turned out, what
> is happening is that
> when cvs substitues the $Log$ it does that in unix
> style. This makes
> my emacs think it's a unix file and display ^M at
> the end of all other
> lines. So I could work around it by removing all ^M
> by hand and let
> emacs treat them as unix files.

Contents of $Log$ can always be retrieved from CVS so
$Log$ is pretty much useless within source files and
they just get in the way.  IMHO, it's a bad idea to
have $Log$ in files.  You might want to rethink having
them in there to begin with.


Do You Yahoo!?
Yahoo! Health - Feel better, live better

reply via email to

[Prev in Thread] Current Thread [Next in Thread]