emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix hack-local-variables for find-file-literally with dos en


From: Eli Zaretskii
Subject: Re: [PATCH] Fix hack-local-variables for find-file-literally with dos encoding
Date: Mon, 16 Aug 2021 15:29:16 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Mon, 16 Aug 2021 14:01:08 +0200
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> So I think your revised patch is correct -- the `subst-char-in-region'
> thing is just plain wrong and should be removed.

You only considered the case of DOS EOL format.  What about the Mac
EOL format?

More importantly, what about selective-display, which replaces
newlines with \r's?  I think this replacement is for that use case.

So perhaps the condition for the replacement should be
selective-display?



reply via email to

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