GNU bug report logs - #6571
paste long file in terminal

Previous Next

Package: emacs;

Reported by: chen ge <chenge2k <at> gmail.com>

Date: Tue, 6 Jul 2010 14:00:03 UTC

Severity: normal

Merged with 5321

Found in version 23.2

Fixed in versions 24.1, 23.3

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 6571 in the body.
You can then email your comments to 6571 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6571; Package emacs. (Tue, 06 Jul 2010 14:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to chen ge <chenge2k <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 06 Jul 2010 14:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: chen ge <chenge2k <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: paste long file in terminal
Date: Tue, 6 Jul 2010 18:54:29 +0800
[Message part 1 (text/plain, inline)]
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; emacs
--text follows this line--


run in terminal, cannot paste long file like this:
http://documentcloud.github.com/underscore/underscore.js

gui version is OK.

i use mint 8 LXDE

regards
chenge2k <at> gmail.com






In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
of 2010-03-26 on palmer, modified by Debian
configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu'
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var/lib' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g
-O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
autopair-mode: t
autopair-global-mode: t
tooltip-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t

Recent input:
i o n ( a r r s SPC = SPC f u n c t i o n ( o b j )
SPC { RET SPC SPC SPC SPC r e t u r n SPC _ . f i l
t ) SPC { RET SPC SPC SPC SPC r e t u r n SPC o b j
SPC = = = SPC n u l l ; RET SPC SPC } ; RET RET SPC
SPC / / SPC I s SPC a SPC g i v e n SPC v a r i a b
l e SPC u n d e f i n e d ? RET SPC m e ] SPC = SPC
f u n c t i o n ( ) SPC { RET SPC SPC SPC SPC SPC SPC
r e t u r n SPC r e s u l t ( m e t h o d . a p p l
y ( t h i s . _ w r a p p e d , SPC a r g u m e n t
s ) , SPC t h i s . _ c h a i n ) ; RET SPC SPC SPC
SPC } ; RET SPC SPC } ) ; RET RET SPC SPC / / SPC S
t a r t SPC c h a i n i n g SPC a SPC w r a p p e d
SPC U n ESC O A ESC O A ESC O A ESC O A ESC O A ESC
O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A
ESC x r e p o r t RET

Recent messages:
View mode: type C-h for help, h for commands, q to quit.
Back to top level.
When done with a buffer, type C-x # [2 times]
Mark set
Saving file /home/chenge/.emacs...
Wrote /home/chenge/.emacs
When done with a buffer, type C-x #
Auto-saving...done
Auto-saving...done
/usr/bin/mail is not an executable. Setting mail-interactive to t.
[Message part 2 (text/html, inline)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6571; Package emacs. (Tue, 06 Jul 2010 18:18:01 GMT) Full text and rfc822 format available.

Message #8 received at 6571 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: chen ge <chenge2k <at> gmail.com>, 6571 <at> debbugs.gnu.org
Subject: Re: bug#6571: paste long file in terminal
Date: Tue, 06 Jul 2010 20:17:33 +0200
I see this also in the trunk.  I see that emacs reads all characters of the 
pasted file, but after redisplay only about 1/7:th is output.  This on 
gnome-terminal, emacs started with -Q -nw.

Anybody got an idea what happens between read and output that can loose 
characters?

	Jan D.


chen ge skrev 2010-07-06 12.54:
>
> To: bug-gnu-emacs <at> gnu.org <mailto:bug-gnu-emacs <at> gnu.org>
> Subject: 23.1; emacs
> --text follows this line--
>
>
> run in terminal, cannot paste long file like this:
> http://documentcloud.github.com/underscore/underscore.js
>
> gui version is OK.
>
> i use mint 8 LXDE
>
> regards
> chenge2k <at> gmail.com <mailto:chenge2k <at> gmail.com>
>
>
>
>
>
>
> In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
> of 2010-03-26 on palmer, modified by Debian
> configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu'
> '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
> '--localstatedir=/var/lib' '--infodir=/usr/share/info'
> '--mandir=/usr/share/man' '--with-pop=yes'
> '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'
> '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
> 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g
> -O2' 'LDFLAGS=-g' 'CPPFLAGS=''
>
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: nil
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: nil
> value of $XMODIFIERS: nil
> locale-coding-system: nil
> default-enable-multibyte-characters: t
>
> Major mode: Emacs-Lisp
>
> Minor modes in effect:
> autopair-mode: t
> autopair-global-mode: t
> tooltip-mode: t
> tool-bar-mode: t
> menu-bar-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> global-auto-composition-mode: t
> auto-composition-mode: t
> auto-encryption-mode: t
> auto-compression-mode: t
> column-number-mode: t
> line-number-mode: t
> transient-mark-mode: t
>
> Recent input:
> i o n ( a r r s SPC = SPC f u n c t i o n ( o b j )
> SPC { RET SPC SPC SPC SPC r e t u r n SPC _ . f i l
> t ) SPC { RET SPC SPC SPC SPC r e t u r n SPC o b j
> SPC = = = SPC n u l l ; RET SPC SPC } ; RET RET SPC
> SPC / / SPC I s SPC a SPC g i v e n SPC v a r i a b
> l e SPC u n d e f i n e d ? RET SPC m e ] SPC = SPC
> f u n c t i o n ( ) SPC { RET SPC SPC SPC SPC SPC SPC
> r e t u r n SPC r e s u l t ( m e t h o d . a p p l
> y ( t h i s . _ w r a p p e d , SPC a r g u m e n t
> s ) , SPC t h i s . _ c h a i n ) ; RET SPC SPC SPC
> SPC } ; RET SPC SPC } ) ; RET RET SPC SPC / / SPC S
> t a r t SPC c h a i n i n g SPC a SPC w r a p p e d
> SPC U n ESC O A ESC O A ESC O A ESC O A ESC O A ESC
> O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A
> ESC x r e p o r t RET
>
> Recent messages:
> View mode: type C-h for help, h for commands, q to quit.
> Back to top level.
> When done with a buffer, type C-x # [2 times]
> Mark set
> Saving file /home/chenge/.emacs...
> Wrote /home/chenge/.emacs
> When done with a buffer, type C-x #
> Auto-saving...done
> Auto-saving...done
> /usr/bin/mail is not an executable. Setting mail-interactive to t.
>
>




Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Wed, 07 Jul 2010 17:55:02 GMT) Full text and rfc822 format available.

Notification sent to chen ge <chenge2k <at> gmail.com>:
bug acknowledged by developer. (Wed, 07 Jul 2010 17:55:02 GMT) Full text and rfc822 format available.

Message #13 received at 6571-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: chen ge <chenge2k <at> gmail.com>, 6571-done <at> debbugs.gnu.org
Subject: Re: bug#6571: paste long file in terminal
Date: Wed, 07 Jul 2010 19:53:49 +0200

Jan Djärv skrev 2010-07-06 20.17:
> I see this also in the trunk.  I see that emacs reads all characters of the
> pasted file, but after redisplay only about 1/7:th is output. This on
> gnome-terminal, emacs started with -Q -nw.
>
> Anybody got an idea what happens between read and output that can loose
> characters?
>

It is the kbd_buffer that is becoming full, and Emacs silently discards the 
remaining input.  This happens also on 23.1, so I guess it has been like this 
for a long time.

I've made a fix for the trunk.  If is should go in to the 23-branch is for the 
maintainers to deside.  It is not a regression, but bad that copy/paste fails 
without indication.

	Jan D.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 05 Aug 2010 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 31 Oct 2010 00:27:01 GMT) Full text and rfc822 format available.

Forcibly Merged 5321 6571. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 31 Oct 2010 00:27:02 GMT) Full text and rfc822 format available.

bug Marked as found in versions 23.2 and reopened. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 31 Oct 2010 00:27:02 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 24.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 31 Oct 2010 00:27:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to chen ge <chenge2k <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 31 Oct 2010 00:30:04 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 23.3. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 01 Nov 2010 16:37: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. (Tue, 30 Nov 2010 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.