GNU bug report logs - #15592
24.3.50; TTY redisplay screwed by frequently resized mini-window

Previous Next

Package: emacs;

Reported by: Dmitry Antipov <antipov <at> dev.rtsoft.ru>

Date: Fri, 11 Oct 2013 21:35:02 UTC

Severity: normal

Tags: moreinfo

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.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 15592 in the body.
You can then email your comments to 15592 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 bug-gnu-emacs <at> gnu.org:
bug#15592; Package emacs. (Fri, 11 Oct 2013 21:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dmitry Antipov <antipov <at> dev.rtsoft.ru>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 11 Oct 2013 21:35:03 GMT) Full text and rfc822 format available.

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

From: Dmitry Antipov <antipov <at> dev.rtsoft.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; TTY redisplay screwed by frequently resized mini-window
Date: Fri, 11 Oct 2013 12:29:38 +0400
[Message part 1 (text/plain, inline)]
When mini-window is frequently updated with (setq resize-mini-windows t),
TTY output may be completely screwed.

How to reproduce:

1) Create oops.el with the following function:

  (defun oops-msg ()
    (interactive)
    (setq resize-mini-windows t)
    (while t
      (message (make-string (abs (% (random) 1000))
                            (+ (abs (% (random) 25)) 97)))))

2) Run with 'emacs -Q -nw -l oops.el', then M-x oops-msg, then wait.

3) There are screenshots showing xdisp.c, showing normal and screwed
   state. For the latter, notice an absence of menubar, duplicated
   lines at the bottom of the window showing xdisp.c and completely
   screwed mini-window.

X frames aren't affected.

In GNU Emacs 24.3.50.5 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.4)
 of 2013-10-11 on localhost.localdomain
Bzr revision: 114622 eggert <at> cs.ucla.edu-20131011063229-imib0kebf8klihqo
System Description:	Fedora release 19 (Schrödinger’s Cat)

Configured using:
 `configure --prefix=/not/exists'

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: C/l

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

Recent input:
ESC x o o p s - m s TAB RET ESC x b u - DEL g 0 - DEL
DEL - g n u TAB DEL DEL DEL DEL DEL DEL DEL r e p o
r TAB RET

Recent messages:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
Quit

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message cl-macs gv format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils vc-bzr cc-langs cl cl-loaddefs cl-lib
cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)
[normal.png (image/png, attachment)]
[broken.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15592; Package emacs. (Sat, 12 Oct 2013 07:13:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Antipov <antipov <at> dev.rtsoft.ru>
Cc: 15592 <at> debbugs.gnu.org
Subject: Re: bug#15592: 24.3.50;
 TTY redisplay screwed by frequently resized mini-window
Date: Sat, 12 Oct 2013 10:12:37 +0300
> Date: Fri, 11 Oct 2013 12:29:38 +0400
> From: Dmitry Antipov <antipov <at> dev.rtsoft.ru>
> 
> 3) There are screenshots showing xdisp.c, showing normal and screwed
>     state. For the latter, notice an absence of menubar, duplicated
>     lines at the bottom of the window showing xdisp.c and completely
>     screwed mini-window.

This is usually caused by writing a newline at the last screen line,
or trying to move the cursor to a line beyond the last.

I see similar problems in Emacs 24.3 and 23.3, so this is not a new
problem.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15592; Package emacs. (Sun, 30 May 2021 05:53:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Dmitry Antipov <antipov <at> dev.rtsoft.ru>
Cc: 15592 <at> debbugs.gnu.org
Subject: Re: bug#15592: 24.3.50; TTY redisplay screwed by frequently resized
 mini-window
Date: Sun, 30 May 2021 07:52:46 +0200
Dmitry Antipov <antipov <at> dev.rtsoft.ru> writes:

> When mini-window is frequently updated with (setq resize-mini-windows t),
> TTY output may be completely screwed.
>
> How to reproduce:
>
> 1) Create oops.el with the following function:
>
>   (defun oops-msg ()
>     (interactive)
>     (setq resize-mini-windows t)
>     (while t
>       (message (make-string (abs (% (random) 1000))
>                             (+ (abs (% (random) 25)) 97)))))
>
> 2) Run with 'emacs -Q -nw -l oops.el', then M-x oops-msg, then wait.

I tried running it for a while in Emacs 28, but I'm not able to
reproduce the problem.  Are you still seeing this?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 30 May 2021 05:54:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15592; Package emacs. (Thu, 01 Jul 2021 11:43:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Dmitry Antipov <antipov <at> dev.rtsoft.ru>
Cc: 15592 <at> debbugs.gnu.org
Subject: Re: bug#15592: 24.3.50; TTY redisplay screwed by frequently resized
 mini-window
Date: Thu, 01 Jul 2021 13:42:25 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I tried running it for a while in Emacs 28, but I'm not able to
> reproduce the problem.  Are you still seeing this?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 15592 <at> debbugs.gnu.org and Dmitry Antipov <antipov <at> dev.rtsoft.ru> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 01 Jul 2021 11:43:03 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, 30 Jul 2021 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 324 days ago.

Previous Next


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