unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: Mario Lang <mlang@delysid.org>, emacs-devel@gnu.org
Subject: Re: comint-preoutput-filter-functions and flickering redisplay in TTY
Date: Wed, 04 Jun 2014 08:30:58 -0400	[thread overview]
Message-ID: <jwvvbsg3llv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87vbsigou7.fsf@geodiff-mac3.ulb.ac.be> (Nicolas Richard's message of "Tue, 03 Jun 2014 14:27:44 +0200")

> -	       (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



      parent reply	other threads:[~2014-06-04 12:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-03 11:59 comint-preoutput-filter-functions and flickering redisplay in TTY Mario Lang
2014-06-03 12:27 ` Nicolas Richard
2014-06-03 13:12   ` Mario Lang
2014-06-04 10:36     ` Nicolas Richard
2014-06-04 12:30   ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvvbsg3llv.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=mlang@delysid.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).