GNU bug report logs -
#6482
24.0.50; emacs cannot deal with long lines in compilation or shell
Previous Next
Reported by: jidanni <at> jidanni.org
Date: Sun, 20 Jun 2010 23:27:02 UTC
Severity: normal
Tags: moreinfo
Found in version 24.0.50
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6482 in the body.
You can then email your comments to 6482 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, rfrancoise <at> debian.org, bug-gnu-emacs <at> gnu.org
:
bug#6482
; Package
emacs
.
(Sun, 20 Jun 2010 23:27:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
jidanni <at> jidanni.org
:
New bug report received and forwarded. Copy sent to
rfrancoise <at> debian.org, bug-gnu-emacs <at> gnu.org
.
(Sun, 20 Jun 2010 23:27:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
$ emacs -Q -f shell
$ M='http://www.couchsurfing.org/find_cities.html?&city_name=c&state_id=3420&country_id=237&state_id=3424'
$ GET "$M"|grep -i hua #excuse me but I do not see a "hua" below
</TD></TR></TABLE></DIV>
$ GET "$M"|grep -i hua|wc #oh, emacs cannot deal with long lines
1 198 7294
Also same problem with M-x compile with this
$ cat Makefile
F=http://www.couchsurfing.org/find_cities.html?&city_name=c&state_id=3420&country_id=237&state_id=3424
city_numbers:
lynx -source '$F'|grep hua
In GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1)
of 2010-06-20 on elegiac, modified by Debian
(emacs-snapshot package, version 1:20100619-2)
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6482
; Package
emacs
.
(Sat, 26 Jun 2010 03:25:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 6482 <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6482
; Package
emacs
.
(Sat, 26 Jun 2010 04:30:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 6482 <at> debbugs.gnu.org (full text, mbox):
GG> Pretty strange, but nothing to do with emacs.
All I know is for those tests of mine, at most there was only a split
second where we could see the thousands of characters. Whereas outside
of emacs in bash in xterm, there they were left pleasingly sitting on
the screen.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6482
; Package
emacs
.
(Sat, 26 Jun 2010 05:30:04 GMT)
Full text and
rfc822 format available.
Message #14 received at 6482 <at> debbugs.gnu.org (full text, mbox):
>
> All I know is for those tests of mine, at most there was only a split
> second where we could see the thousands of characters. Whereas outside
> of emacs in bash in xterm, there they were left pleasingly sitting on
> the screen.
>
No, what the xterm showed you was junk with part of the text
overwritten because of the ^M. You just didn't notice because the
overwritten text didn't happen to be the bit you were interested in.
You can't expect to cleanly view text that contains control characters
at a shell prompt. Pipe it to less or something.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6482
; Package
emacs
.
(Sat, 26 Jun 2010 06:17:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 6482 <at> debbugs.gnu.org (full text, mbox):
GG> You can't expect to cleanly view text that contains control characters
GG> at a shell prompt. Pipe it to less or something.
OK, you win.
bug closed, send any further explanations to jidanni <at> jidanni.org
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 11 Feb 2011 08:22:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 11 Mar 2011 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 110 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.