emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: comint-preoutput-filter-functions and flickering redisplay in TTY


From: Stefan Monnier
Subject: Re: comint-preoutput-filter-functions and flickering redisplay in TTY
Date: Wed, 04 Jun 2014 08:30:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> -            (recenter))
> +            (when (eq (window-buffer (selected-window))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aka                               (window-buffer)

> +                         (current-buffer))
> +                 (recenter)))

Looks like you found a bug here indeed.  FWIW, we fixed a similar bug
a while ago elsewhere.  I think maybe `recenter' should signal an error
if (window-buffer) is different from (current-buffer) to help us catch
those problem.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]