From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master bc0b340: A better fix for bug#21739 Date: Sat, 24 Oct 2015 10:00:43 -0400 Message-ID: References: <20151024070435.29886.62731@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445695276 12603 80.91.229.3 (24 Oct 2015 14:01:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2015 14:01:16 +0000 (UTC) Cc: Eli Zaretskii To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 24 16:01:06 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZpzNX-00082O-BD for ged-emacs-devel@m.gmane.org; Sat, 24 Oct 2015 16:01:03 +0200 Original-Received: from localhost ([::1]:44483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpzNW-0004ZP-OR for ged-emacs-devel@m.gmane.org; Sat, 24 Oct 2015 10:01:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpzNH-0004Z7-QU for emacs-devel@gnu.org; Sat, 24 Oct 2015 10:00:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpzNE-0003dj-K8 for emacs-devel@gnu.org; Sat, 24 Oct 2015 10:00:47 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:54552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpzNE-0003dT-Eu; Sat, 24 Oct 2015 10:00:44 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t9OE0hED000681; Sat, 24 Oct 2015 10:00:43 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 51758662C5; Sat, 24 Oct 2015 10:00:43 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Sat, 24 Oct 2015 07:04:40 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5469=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5469> : inlines <3953> : streams <1526655> : uri <2069425> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192539 Archived-At: > * 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? Stefan