From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tabs Date: Wed, 09 Oct 2019 15:36:06 +0300 Message-ID: <83o8yqumdl.fsf@gnu.org> References: <20191008085604.tjtxm6ndyuluocbs@Ergus> <83lftvy4s6.fsf@gnu.org> <20191008160038.6xvnytnoruzphzd6@Ergus> <83zhibw6qn.fsf@gnu.org> <20191008164048.bnad4wdkcbatqepp@Ergus> <83v9szw4o4.fsf@gnu.org> <20191008234350.ahxt4zcylxqludoc@Ergus> <837e5ewc0a.fsf@gnu.org> <20191009103936.qjdwuidqnowswojw@Ergus> <83wodeup6a.fsf@gnu.org> <20191009120534.ud6st2xvrv3rv6iy@Ergus> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="90365"; mail-complaints-to="usenet@blaine.gmane.org" Cc: michael_heerdegen@web.de, emacs-devel@gnu.org, juri@linkov.net To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 09 20:35:23 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIGny-000NL5-9R for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2019 20:35:22 +0200 Original-Received: from localhost ([::1]:53938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIGnw-0004zC-Fc for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2019 14:35:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41518) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIBCd-0006RE-8C for emacs-devel@gnu.org; Wed, 09 Oct 2019 08:36:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iIBCc-00046x-SK; Wed, 09 Oct 2019 08:36:26 -0400 Original-Received: from [176.228.60.248] (port=1474 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iIBCb-0006iL-QU; Wed, 09 Oct 2019 08:36:26 -0400 In-reply-to: <20191009120534.ud6st2xvrv3rv6iy@Ergus> (message from Ergus on Wed, 9 Oct 2019 14:05:34 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:240780 Archived-At: > Date: Wed, 9 Oct 2019 14:05:34 +0200 > From: Ergus > Cc: michael_heerdegen@web.de, juri@linkov.net, emacs-devel@gnu.org > > >diff --git a/src/xdisp.c b/src/xdisp.c > >index 893ce92..f94f651 100644 > >--- a/src/xdisp.c > >+++ b/src/xdisp.c > >@@ -11796,7 +11796,7 @@ clear_garbaged_frames (void) > > > > if (FRAME_VISIBLE_P (f) && FRAME_GARBAGED_P (f)) > > { > >- if (f->resized_p > >+ if ((f->resized_p || f->tab_bar_resized) > > /* It makes no sense to redraw a non-selected TTY > > frame, since that will actually clear the > > selected frame, and might leave the selected > > No, this does nothing If you set a breakpoint in this fragment from clear_garbaged_frames: if (FRAME_VISIBLE_P (f) && FRAME_GARBAGED_P (f)) { if ((f->resized_p || f->tab_bar_resized) /* It makes no sense to redraw a non-selected TTY frame, since that will actually clear the selected frame, and might leave the selected frame with corrupted display, if it happens not to be marked garbaged. */ && !(f != sf && (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)))) redraw_frame (f); <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< else clear_current_matrices (f); does the breakpoint fire after you type "C-x 6 f"?