help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Line ending style on VC commit messages.


From: Bernardo
Subject: Re: Line ending style on VC commit messages.
Date: Sat, 17 Oct 2009 19:37:32 +1100
User-agent: Thunderbird 2.0.0.23 (X11/20090812)

Óscar Fuentes said the following on 10/17/09 09:30:
Is it possible to set the line ending style on VC-log commit edit
buffer?

C-x RET f unix

does not work. The commit message that is sent to the backend still
contains /r/n line endings.


just guessing here - it's possible that Unix line ending convention does not kick in until you *save* the buffer (which you probably don't, suppose you are just adding a comment to your checkin)

maybe performing a search and replace "\r" => "" on the buffer would help; not sure if adding such a translation to vc-before-checkin-hook would be of any use here but it's worth a try





reply via email to

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