GNU bug report logs - #19946
js-mode indentation with mixed Unix/DOS line endings

Previous Next

Package: emacs;

Reported by: jostein <at> kjonigsen.net

Date: Wed, 25 Feb 2015 16:45:03 UTC

Severity: minor

Tags: wontfix

Found in version 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 19946 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: John Wiegley <jwiegley <at> gmail.com>
Cc: dan.colascione <at> gmail.com, 19946 <at> debbugs.gnu.org,
 jostein <at> secure.kjonigsen.net, simenheg <at> gmail.com, dgutov <at> yandex.ru,
 jostein <at> kjonigsen.net
Subject: Re: bug#19946: 24.4; js-mode, indentation
Date: Sun, 03 Apr 2016 21:17:20 +0300
> From: John Wiegley <jwiegley <at> gmail.com>
> Date: Sun, 03 Apr 2016 11:05:44 -0700
> Cc: dan.colascione <at> gmail.com, 19946 <at> debbugs.gnu.org,
> 	Simen Heggestøyl <simenheg <at> gmail.com>,
> 	Dmitry Gutov <dgutov <at> yandex.ru>, jostein <at> kjonigsen.net
> 
> >>>>> Jostein Kjønigsen <jostein <at> secure.kjonigsen.net> writes:
> 
> > If we should at least attempt to adhere to the principle of least
> > astonishment, we need to either accept \r\n patches everywhere or change the
> > semantics of $ to also include \r, line-break format be damned.
> 
> What if there were another buffer coding system called "broken-msdos" or
> something, that accepted mixed \n and \r\n, but wrote out all \r\n?  I run
> into such files often enough.

We already have that, it's called "dos".




This bug report was last modified 5 years ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.