From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Tabs Date: Wed, 9 Oct 2019 15:55:39 +0200 Message-ID: <20191009135539.c2i6ob52td6p34ab@Ergus> References: <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> <83o8yqumdl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="193596"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 Cc: michael_heerdegen@web.de, juri@linkov.net, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 09 20:59:19 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 1iIHB7-000oA7-6h for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2019 20:59:17 +0200 Original-Received: from localhost ([::1]:54306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIHB5-0006IG-5c for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2019 14:59:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57883) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iICRb-0006dK-5M for emacs-devel@gnu.org; Wed, 09 Oct 2019 09:56:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iICRZ-00087N-C0 for emacs-devel@gnu.org; Wed, 09 Oct 2019 09:55:58 -0400 Original-Received: from sonic313-20.consmr.mail.ir2.yahoo.com ([77.238.179.187]:34831) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iICRY-000854-Pc for emacs-devel@gnu.org; Wed, 09 Oct 2019 09:55:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1570629354; bh=JhfaYK5GxFankNcO8JMxqQ+dF4acURc3/zNVhz3JRSQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=SSon/dOSSSI/MWZZMDmPUZLu1gs8fF5y/tMFCP31y4bgLLJfepK89LRqHPgFNkLr/x8Qxo37Am6ozTBlU/vKt1ZR+ee3uhh+qu4aBAI/T3SocwwUOX5MBQBQsig1Hnifi4FqYt64VcASVDMXGzM6MhM6Ipy/8OAOJbaJowO5/fJzC2B1by18Fbmrjz6KhZI2pnsTPe2G49AfGbKil8jBQBpiN0sOJteS7/b5jrVX2c/z+sGA/tkZo+jKhj3CEnmtwGiQsUAuSo1RxrNGfMHNPfZmmnUyevoqqib95635Tq8L1luNCsnVPzlG6HgPVHtqmx2efZ+Ajjq83JsvYT04CA== X-YMail-OSG: _ZX0EmYVM1lwlfzE.XP70ArlKr6zaHDFTaHzv980gdZu3b6bkb4umrss9yWdwZH kBlOpFkG9y3lM8.GbV1fEmGNhYsjdzM5f40CFbnv16Y7B_FUPEBwNt34ZxHNPL0MB5pDAHFYtDLA L2vwCJR_VyBha3iLci2EnPpSBmUIA65ur_Ce_3MqE_GanUvPL1kzfnJT6Audjyr_9SGhJIpn2lNQ iPK9PwajcG142HOduMrhXF5cVY9ZPhKOHlboKRNY7IfbWwMwxApXGLvArlxZ6uLUCib6Ga4kx6M. LXCbUklFc_08JJc0TGqDFlxc.I5zbU9HnDga2GK1A1U0kEpXjsp5f1Bc.20eP0O10kW9_47Fjuof j2qq.HyFubk77vzWx1FpHu.Ugkh_azZz.n836jrkCKwhvX44QLWkxjM3wQWY0xoFBuBQBmGYJRoS 9P6eYlludZ_vBVAZWizsfpCy6IDtLZyv4qsVxXgpp6tp3FfMDZZaOceg455Nw.g7gr8K2TuUxLY7 kPlh3oqkFFUI4Yjtm3u0A2meM9VsUV.X1u2GCbZQr.ilTWHfz54fZ9EMWKvONtgAb3Fo8c1kpmri r2gChv4iJBQiZp5C_pbB2z1ovZ2PvgWlpTCAvKrnNESXFp.v20CQ04oHS5rdWtbKNA7VzZZxcQGG INJ792VOa.hvmKhvsiAdUqYuXzLlxMNkI3xZ4O4MzLOuCZhNT67zLASnNyC8EyXx8JKl406cQMen MJg642HOiXHeU3Lw7CiE1xEAlM.5kablsP5Cv2H.1pltUHdWVgzK2lmzqEhGbEm2NTf539NLH8TF TwTkdoSYVXff3sqUqbDuLBz.DT8gEiXoh2X.MHRrsI Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ir2.yahoo.com with HTTP; Wed, 9 Oct 2019 13:55:54 +0000 Original-Received: by smtp415.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 2c413842d59334e4ea5def7c3e9ceaa7; Wed, 09 Oct 2019 13:55:52 +0000 (UTC) Content-Disposition: inline In-Reply-To: <83o8yqumdl.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 77.238.179.187 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:240783 Archived-At: On Wed, Oct 09, 2019 at 03:36:06PM +0300, Eli Zaretskii wrote: >> 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"? Yes: Thread 1 "emacs" hit Breakpoint 1, clear_garbaged_frames () at ../../src/xdisp.c:11805 11805 redraw_frame (f); (gdb) bt #0 0x00005555555ed30c in clear_garbaged_frames () at ../../src/xdisp.c:11805 #1 0x00005555555f33c9 in redisplay_internal () at ../../src/xdisp.c:15237 #2 0x00005555555f2564 in redisplay () at ../../src/xdisp.c:14825 #3 0x0000555555775f6f in read_char (commandflag=1, map=0x55555691f1e3, prev_event=0x0, used_mouse_menu=0x7fffffffd171, end_time=0x0) at ../../src/keyboard.c:2473 #4 0x00005555557858d0 in read_key_sequence (keybuf=0x7fffffffd3a0, prompt=0x0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at ../../src/keyboard.c:9527 #5 0x0000555555772fbe in command_loop_1 () at ../../src/keyboard.c:1345 #6 0x0000555555896deb in internal_condition_case (bfun=0x555555772b76 , handlers=0x90, hfun=0x5555557722e9 ) at ../../src/eval.c:1355 #7 0x000055555577283b in command_loop_2 (ignore=0x0) at ../../src/keyboard.c:1091 #8 0x000055555589665c in internal_catch (tag=0xd470, func=0x55555577280e , arg=0x0) at ../../src/eval.c:1116 #9 0x00005555557727d9 in command_loop () at ../../src/keyboard.c:1070 #10 0x0000555555771eb8 in recursive_edit_1 () at ../../src/keyboard.c:714 #11 0x000055555577203c in Frecursive_edit () at ../../src/keyboard.c:786 #12 0x000055555576a4a7 in main (argc=2, argv=0x7fffffffd818) at ../../src/emacs.c:2055 (gdb) c Continuing. Thread 1 "emacs" hit Breakpoint 1, clear_garbaged_frames () at ../../src/xdisp.c:11805 11805 redraw_frame (f); (gdb) bt #0 0x00005555555ed30c in clear_garbaged_frames () at ../../src/xdisp.c:11805 #1 0x00005555555f33c9 in redisplay_internal () at ../../src/xdisp.c:15237 #2 0x00005555555f2564 in redisplay () at ../../src/xdisp.c:14825 #3 0x0000555555775f6f in read_char (commandflag=1, map=0x55555691f1e3, prev_event=0x0, used_mouse_menu=0x7fffffffd171, end_time=0x0) at ../../src/keyboard.c:2473 #4 0x00005555557858d0 in read_key_sequence (keybuf=0x7fffffffd3a0, prompt=0x0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at ../../src/keyboard.c:9527 #5 0x0000555555772fbe in command_loop_1 () at ../../src/keyboard.c:1345 #6 0x0000555555896deb in internal_condition_case (bfun=0x555555772b76 , handlers=0x90, hfun=0x5555557722e9 ) at ../../src/eval.c:1355 #7 0x000055555577283b in command_loop_2 (ignore=0x0) at ../../src/keyboard.c:1091 #8 0x000055555589665c in internal_catch (tag=0xd470, func=0x55555577280e , arg=0x0) at ../../src/eval.c:1116 #9 0x00005555557727d9 in command_loop () at ../../src/keyboard.c:1070 #10 0x0000555555771eb8 in recursive_edit_1 () at ../../src/keyboard.c:714 #11 0x000055555577203c in Frecursive_edit () at ../../src/keyboard.c:786 #12 0x000055555576a4a7 in main (argc=2, argv=0x7fffffffd818) at ../../src/emacs.c:2055 (gdb) c Continuing.