unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111589: * insdel.c (prepare_to_modify_buffer): Force redisplay if
Date: Wed, 23 Jan 2013 15:43:20 -0500	[thread overview]
Message-ID: <jwvd2wvy6lo.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1Ty252-0001kh-No@vcs.savannah.gnu.org> (Dmitry Antipov's message of "Wed, 23 Jan 2013 18:49:54 +0400")

>    /* If we're modifying the buffer other than shown in a selected window,
> -     let redisplay consider other windows if this buffer is visible.  */
> +     let redisplay consider other windows if this buffer is visible or
> +     hidden (although hidden buffers have zero window counts, their state
> +     may affect the display too, e.g. via mode lines of other buffers).  */
>    if (XBUFFER (XWINDOW (selected_window)->buffer) != current_buffer
> -      && buffer_window_count (current_buffer))
> +      && (buffer_window_count (current_buffer)
> +	  || BUFFER_HIDDEN_P (current_buffer)))
>      ++windows_or_buffers_changed;

The redisplay code should not treat "hidden" buffers specially.
Better revert this change and install the doc-view patch
I suggested instead.


        Stefan



       reply	other threads:[~2013-01-23 20:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Ty252-0001kh-No@vcs.savannah.gnu.org>
2013-01-23 20:43 ` Stefan Monnier [this message]
2013-01-24  3:47   ` [Emacs-diffs] /srv/bzr/emacs/trunk r111589: * insdel.c (prepare_to_modify_buffer): Force redisplay if Dmitry Antipov
2013-01-24 13:36     ` Stefan Monnier

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=jwvd2wvy6lo.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dmantipov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    /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).