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: Thu, 30 Jan 2003 22:23:39 -0500	[thread overview]
Message-ID: <E18eRmF-0001cn-00@fencepost.gnu.org> (raw)
In-Reply-To: <877kcnpwyr.fsf@fleche.redhat.com> (message from Tom Tromey on 29 Jan 2003 12:39:08 -0700)

    Changing gcj here probably wouldn't affect correct execution of the
    code.  I can't think of a situation where it would.  However, it would
    cause us to fail some more tests in Jacks (Jacks is a free software
    test suite for Java compilers).  Though I suppose we could revert to
    java-style line termination with `-pedantic'.

Right.  And this or another option could control how to generate the
line numbers for debugging.  We could make the GNU Java debugger work
consistently with ordinary GNU line numbering, when and if we have a
GNU Java debugger.

    What if Emacs could recognize inconsistent termination and make it
    consistent somehow?

This could conceivably be another kind of EOL conversion, say "Java"
conversion.  It could treat every stray CR, every stray LF, and every
CRLF, as a line end.  That might be a lot of work, but I don't know
for certain.

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

If that isn't a problem, this solution might work.

  reply	other threads:[~2003-01-31  3:23 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 [this message]
2003-01-31  3:33       ` Tom Tromey
2003-02-01  4:22         ` Richard Stallman
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=E18eRmF-0001cn-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.