From: Eli Zaretskii <eliz@gnu.org>
To: monnier@IRO.UMontreal.CA
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master bc0b340: A better fix for bug#21739
Date: Sat, 24 Oct 2015 18:02:10 +0300 [thread overview]
Message-ID: <83d1w4wbrh.fsf@gnu.org> (raw)
In-Reply-To: <83io5wwe9v.fsf@gnu.org>
> Date: Sat, 24 Oct 2015 17:07:56 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
>
> > From: Stefan Monnier <monnier@IRO.UMontreal.CA>
> > Cc: Eli Zaretskii <eliz@gnu.org>
> > Date: Sat, 24 Oct 2015 10:00:43 -0400
> >
> > > * src/buffer.c (set_update_modelines_for_buf): New function.
> > > (Fkill_buffer): Use it to set the global variable
> > > update_mode_lines if the killed buffer was displayed in some
> > > window. Don't set windows_or_buffers_changed. This is a better
> > > fix for bug#21739 than the previous fix, since it will cause only
> > > redisplay of mode lines, not of entire windows, but will still
> > > catch attention of x_consider_frame_title in xdisp.c, which
> > > redraws the frame title.
> >
> > Same question as before: why isn't this caught when the window->buffer
> > is changed?
>
> Because changing a window's buffer only affects that single window.
> How's that code to know the frame should be affected?
I found a better way of fixing the original problem, see 7a6968b.
prev parent reply other threads:[~2015-10-24 15:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20151024070435.29886.62731@vcs.savannah.gnu.org>
[not found] ` <E1Zpssa-0007mz-0h@vcs.savannah.gnu.org>
2015-10-24 14:00 ` [Emacs-diffs] master bc0b340: A better fix for bug#21739 Stefan Monnier
2015-10-24 14:07 ` Eli Zaretskii
2015-10-24 15:02 ` Eli Zaretskii [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=83d1w4wbrh.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/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.