[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] emacs-25 e30c3e9: Fix EOL decoding in vc-annotate with
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] emacs-25 e30c3e9: Fix EOL decoding in vc-annotate with SVN back-end on MS-Windows |
Date: |
Thu, 31 Mar 2016 17:30:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> --- a/lisp/vc/vc-annotate.el
> +++ b/lisp/vc/vc-annotate.el
[...]
> + ;; On DOS/Windows, "svn annotate" will produce CRLF EOLs even
> + ;; if the original file has Unix EOLs, which will show ^M
> + ;; characters in the Annotate buffer. Prevent that by forcing
> + ;; DOS EOL decoding.
> + (if (memq system-type '(windows-nt ms-dos))
> + (setq coding-system-for-read
> + (coding-system-change-eol-conversion coding-system-for-read
> + 'dos)))
Why do we need to put this in vc-annotate rather than in vc-svn.el?
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Emacs-diffs] emacs-25 e30c3e9: Fix EOL decoding in vc-annotate with SVN back-end on MS-Windows,
Stefan Monnier <=