all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: java line termination
Date: Fri, 31 Jan 2003 23:22:45 -0500	[thread overview]
Message-ID: <E18epAz-0008T2-00@fencepost.gnu.org> (raw)
In-Reply-To: <878yx23sej.fsf@fleche.redhat.com> (message from Tom Tromey on 30 Jan 2003 20:33:08 -0700)

    rms> But this would lose the information about which kind of line
    rms> termination was used in each line.  Saving the file would result in
    rms> one that had consistent line termination.

    Would merely visiting such a file cause the buffer to appear to be
    modified?  If not, then I think this approach would work fine.

The buffer will not be marked as modified right after you visit it;
but conversion will have lost information, so if you proceed to edit
the buffer and save it, the line breaks will be different.

Is that really ok?

Handa, how hard is this to do?  The idea is a new kind of EOL
conversion that treats CRLF, CR and LF as line terminators and
converts them all to newlines.  We would then want to use this
by default for all Java programs.

  reply	other threads:[~2003-02-01  4:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-28 18:30 java line termination Tom Tromey
2003-01-29  6:36 ` Richard Stallman
2003-01-29 19:39   ` Tom Tromey
2003-01-31  3:23     ` Richard Stallman
2003-01-31  3:33       ` Tom Tromey
2003-02-01  4:22         ` Richard Stallman [this message]
2003-02-03  1:14           ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E18epAz-0008T2-00@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.