all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Geoff Gole <geoffgole@gmail.com>
To: 6482@debbugs.gnu.org, jidanni@jidanni.org
Subject: bug#6482: 6482
Date: Sat, 26 Jun 2010 11:24:16 +0800	[thread overview]
Message-ID: <AANLkTikAbx0ulsbdDI61cNE1qRNjkgyuTEtR1PWPi37i@mail.gmail.com> (raw)
In-Reply-To: <87ocf5waj2.fsf@jidanni2.jidanni.org>

This has nothing to do with either line length or emacs. The html in
question contains a ^M near the end of that line, and it causes the
shell to behave a little strangely.

To illustrate, try the following in an xterm or something. Use C-v RET
to insert the ^M.

  $ grep abc <<EOF
  > abc^Mdef
  > EOF
  def

Now a longer line with a ^M towards the end:

  $ grep abc <<EOF
  > asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfsadfasdfsadfsadfsadfsadfasdfsadfsadfasdfasdfasdfsadfabc^Mdef
  > EOF
  deffasdfasdfasdfasdfasdfasdfasdfasdfasdfsadfasdfsadfsadfsadfsadfasdfsadfsadfasdfasdfasdfsadfabc

Pretty strange, but nothing to do with emacs. An additional wrinkle is
that in M-x shell C-q C-m won't produce the same behaviour, the shell
seems to see it as a newline. Use a file containing a ^M if you test
this in M-x shell.





  reply	other threads:[~2010-06-26  3:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-20 23:26 bug#6482: 24.0.50; emacs cannot deal with long lines in compilation or shell jidanni
2010-06-26  3:24 ` Geoff Gole [this message]
2010-06-26  4:29 ` bug#6482: ^M zaps results jidanni
2010-06-26  5:29   ` Geoff Gole
2010-06-26  6:15 ` jidanni

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=AANLkTikAbx0ulsbdDI61cNE1qRNjkgyuTEtR1PWPi37i@mail.gmail.com \
    --to=geoffgole@gmail.com \
    --cc=6482@debbugs.gnu.org \
    --cc=jidanni@jidanni.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.