[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"undo" problem in shell
From: |
Joakim Verona |
Subject: |
"undo" problem in shell |
Date: |
Mon, 04 Apr 2005 11:42:33 +0200 |
Symptoms:
I ran a filesystem check command in an emacs "shell-mode" buffer:
/sbin/reiserfsck /dev/mapper/media2-lvol1
this comand does a lot of output, writing progress by moving the
cursor with ansi escapes to beginning of line and writing over the
same line over and over again.
this works, but after some time emacs hangs.
I attached gdb and found it hangs around here:
Program received signal SIGTSTP, Stopped (user).
0x0819f18a in truncate_undo_list (b=0x9430a08) at undo.c:366
so my guess is that the shell mode unecessarily enables undo for the
process output, which in the end gives emacs too much to do.
Im rerunning the command today with undo disabled in the buffer to see
what happens.
im also leaving the previous emacs running to see if it ever recovers.
In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.4.14)
of 2005-04-04 on naru.home
configured using `configure '--with-gtk' '--with-x' '--with-xpm' '--with-jpeg'
'--with-tiff' '--with-gif' '--with-png' 'CFLAGS=-g''
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: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Planner
Minor modes in effect:
auto-compression-mode: t
display-time-mode: t
show-paren-mode: t
erc-truncate-mode: t
erc-log-mode: t
erc-bbdb-mode: t
erc-autoaway-mode: t
erc-autojoin-mode: t
erc-button-mode: t
erc-ring-mode: t
erc-pcomplete-mode: t
erc-track-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-netsplit-mode: t
erc-smiley-mode: t
encoded-kbd-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
A ESC O A ESC O A ESC O A ESC O A ESC O A C-@ C-e ESC
w ESC O 2 A C-y RET Y e s RET C-x b RET C-x 1 ESC >
C-c C-@ C-c C-@ C-x b r o RET C-x b RET C-x b ESC O
C RET C-x b RET C-x b r RET C-x b RET ESC x e m a v
SPC DEL c SPC SPC b SPC DEL r e SPC DEL DEL SPC C-a
C-k r e p o SPC r SPC e SPC SPC b SPC RET
Recent messages:
Password:
Password: .
Password: ..
Password: ........
undo-start: No undo information in this buffer [3 times]
Wrote /home/joakim/Plans/NaruTasks
Recognizing tables...done
Mark set [4 times]
Making completion list... [4 times]
Loading emacsbug...done
- "undo" problem in shell,
Joakim Verona <=