all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Buffer/window/frame redisplay bit
Date: Mon, 20 Jan 2014 08:52:22 -0500	[thread overview]
Message-ID: <jwv1u02bw72.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <52DD0B88.1090606@yandex.ru> (Dmitry Antipov's message of "Mon, 20 Jan 2014 15:42:00 +0400")

> IMO b->text->redisplay should be initialized in Fget_buffer_create, but
> I have no representative test case to decide whether it should be 0 or 1.

The initial value doesn't matter:
- This bit is only needed when the buffer is displayed in a window and
  only if that window's `redisplay' bit is itself equal to `false'.
- At the time the buffer is created it's not shown in any window.
- Whenever we change which buffer is shown in a window, we set that
  window's `redisplay' to `true'.

So if you want to initialize it, feel free.  `false' is a good initial value.
`true' is also a good initial value.


        Stefan



      reply	other threads:[~2014-01-20 13:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 11:42 Buffer/window/frame redisplay bit Dmitry Antipov
2014-01-20 13:52 ` 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

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

  git send-email \
    --in-reply-to=jwv1u02bw72.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.