emacs-devel
[Top][All Lists]
Advanced

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

Re: Regression WRT newline?


From: Andreas Schwab
Subject: Re: Regression WRT newline?
Date: Tue, 09 Feb 2016 10:22:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Andreas Röhler <address@hidden> writes:

> Command newline from simple.el has the following comment:
>
>
>         ;; FIXME: For non-interactive uses, many calls actually just want
>         ;; (insert "\n"), so maybe we should do just that, so as to avoid
>         ;; the risk of filling or running abbrevs unexpectedly.
>
> IIRC in earlier times, on windows for example an additional "\r" was
> required.

The internal representation of a newline in Emacs is and always has been
"\n".  The external representation is controlled by the buffer's coding
system, and doesn't come into play until you save the buffer.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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