unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15592: 24.3.50; TTY redisplay screwed by frequently resized mini-window
@ 2013-10-11  8:29 Dmitry Antipov
  2013-10-12  7:12 ` Eli Zaretskii
  2021-05-30  5:52 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 4+ messages in thread
From: Dmitry Antipov @ 2013-10-11  8:29 UTC (permalink / raw)
  To: 15592

[-- Attachment #1: Type: text/plain, Size: 5912 bytes --]

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@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)

[-- Attachment #2: normal.png --]
[-- Type: image/png, Size: 39111 bytes --]

[-- Attachment #3: broken.png --]
[-- Type: image/png, Size: 38066 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#15592: 24.3.50; TTY redisplay screwed by frequently resized mini-window
  2013-10-11  8:29 bug#15592: 24.3.50; TTY redisplay screwed by frequently resized mini-window Dmitry Antipov
@ 2013-10-12  7:12 ` Eli Zaretskii
  2021-05-30  5:52 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2013-10-12  7:12 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: 15592

> Date: Fri, 11 Oct 2013 12:29:38 +0400
> From: Dmitry Antipov <antipov@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#15592: 24.3.50; TTY redisplay screwed by frequently resized mini-window
  2013-10-11  8:29 bug#15592: 24.3.50; TTY redisplay screwed by frequently resized mini-window Dmitry Antipov
  2013-10-12  7:12 ` Eli Zaretskii
@ 2021-05-30  5:52 ` Lars Ingebrigtsen
  2021-07-01 11:42   ` Lars Ingebrigtsen
  1 sibling, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-30  5:52 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: 15592

Dmitry Antipov <antipov@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#15592: 24.3.50; TTY redisplay screwed by frequently resized mini-window
  2021-05-30  5:52 ` Lars Ingebrigtsen
@ 2021-07-01 11:42   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-01 11:42 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: 15592

Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-01 11:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-11  8:29 bug#15592: 24.3.50; TTY redisplay screwed by frequently resized mini-window Dmitry Antipov
2013-10-12  7:12 ` Eli Zaretskii
2021-05-30  5:52 ` Lars Ingebrigtsen
2021-07-01 11:42   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).