From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Tabs Date: Sun, 06 Oct 2019 22:58:28 +0300 Organization: LINKOV.NET Message-ID: <87muedhcij.fsf@mail.linkov.net> References: <87a7bpysm8.fsf@mail.linkov.net> <875zlnu9ds.fsf@web.de> <87blvdxpr0.fsf@mail.linkov.net> <878sqhtbm3.fsf@web.de> <87v9tgnndn.fsf@mail.linkov.net> <87h84npa5e.fsf@web.de> <87imp2vns4.fsf@mail.linkov.net> <87a7aeth9c.fsf@web.de> <874l0mhy85.fsf@web.de> <834l0l3gsh.fsf@gnu.org> <875zl1pxm4.fsf@mail.linkov.net> <87tv8loilj.fsf@mail.linkov.net> <83imp11yzh.fsf@gnu.org> <87zhidlmds.fsf@mail.linkov.net> <83d0f91xz9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="49420"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: michael_heerdegen@web.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 06 22:02:17 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 1iHCjQ-000CjD-G2 for ged-emacs-devel@m.gmane.org; Sun, 06 Oct 2019 22:02:16 +0200 Original-Received: from localhost ([::1]:36688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHCjP-00033N-5c for ged-emacs-devel@m.gmane.org; Sun, 06 Oct 2019 16:02:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59845) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHCjF-00031L-6l for emacs-devel@gnu.org; Sun, 06 Oct 2019 16:02:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHCjE-0000QK-0V for emacs-devel@gnu.org; Sun, 06 Oct 2019 16:02:05 -0400 Original-Received: from brown.elm.relay.mailchannels.net ([23.83.212.23]:29892) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iHCjB-0000Kr-8V; Sun, 06 Oct 2019 16:02:01 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 3394D740AD9; Sun, 6 Oct 2019 20:01:58 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a93.g.dreamhost.com (100-96-8-36.trex.outbound.svc.cluster.local [100.96.8.36]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id BB8E374071C; Sun, 6 Oct 2019 20:01:57 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a93.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.3); Sun, 06 Oct 2019 20:01:58 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Belong-Slimy: 0403362812191280_1570392118036_4079151243 X-MC-Loop-Signature: 1570392118036:3145507547 X-MC-Ingress-Time: 1570392118036 Original-Received: from pdx1-sub0-mail-a93.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a93.g.dreamhost.com (Postfix) with ESMTP id 63635801B3; Sun, 6 Oct 2019 13:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=PhuG82JM72Mq7Njk8lO6PIx5YQg=; b= JtkcDNWHijKBPUIgZD6ZtOKbiEOXUYgQmD62TQ8slupO3ItdT5mQPCOCxy2JlfYI bAiVzX/ohVcPwpDSEnzlzdTApCypgb5qHxf5ZafgRGoLDFJ8OeA+nPGP6fgg8qsP LPpLzcUVZ6Qt2TwsfbviB+7Q633e1F7dEStxS8uFZXc= Original-Received: from mail.jurta.org (m91-129-99-99.cust.tele2.ee [91.129.99.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a93.g.dreamhost.com (Postfix) with ESMTPSA id E341880F5B; Sun, 6 Oct 2019 13:01:49 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a93 In-Reply-To: <83d0f91xz9.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 06 Oct 2019 22:21:30 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrheehgddugeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdelledrleelnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleelrdelledprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvlhhiiiesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.212.23 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:240674 Archived-At: >> > In "emacs -Q"? Just start Emacs and resize the frame by dragging its >> > edge with the mouse? Or something else? >> >> In "emacs -Q" build with GTK+ Version 3.22.30 it infloops after resizing >> by quickly dragging its edge with the mouse. > > I guess it's somehow specific to the GTK build (or maybe more > generally to X). > >> Maybe this requires a slow computer that makes frame updating even slower >> by configuring without optimization: >> >> --enable-checking='yes,glyphs' --enable-check-lisp-object-type CFLAGS='-O0 -g3 -gdwarf-4' > > No, because that's how I built mine. > > OK, can you set a watchpoint on the frame's garbaged flag, and show me > both C and Lisp backtraces each time the flag is set or reset while we > loop for two iterations there? It's very strange but a watchpoint is hit only on setting flag to false: (gdb) bt #0 0x000055555560a8eb in redisplay_internal () at xdisp.c:15707 #1 0x000055555560b243 in redisplay_preserve_echo_area (from_where=11) at xdisp.c:15946 #2 0x00005555559e7922 in wait_reading_process_output (time_limit=30, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=XIL(0), wait_proc=0x0, just_wait_proc=0) at process.c:5429 #3 0x00005555555aa009 in sit_for (timeout=make_fixnum(30), reading=true, display_option=1) at dispnew.c:6021 #4 0x00005555557e119f in read_char (commandflag=1, map=XIL(0x555556e0e2b3), prev_event=XIL(0), used_mouse_menu=0x7fffffffd5e5, end_time=0x0) at keyboard.c:2718 #5 0x00005555557f3bcb in read_key_sequence (keybuf=0x7fffffffd7d0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9527 #6 0x00005555557dca01 in command_loop_1 () at keyboard.c:1345 #7 0x000055555594bb94 in internal_condition_case (bfun=0x5555557dc583 , handlers=XIL(0x90), hfun=0x5555557dbb4f ) at eval.c:1355 #8 0x00005555557dc16a in command_loop_2 (ignore=XIL(0)) at keyboard.c:1091 #9 0x000055555594afee in internal_catch (tag=XIL(0xcf00), func=0x5555557dc13d , arg=XIL(0)) at eval.c:1116 #10 0x00005555557dc108 in command_loop () at keyboard.c:1070 #11 0x00005555557db636 in recursive_edit_1 () at keyboard.c:714 #12 0x00005555557db82e in Frecursive_edit () at keyboard.c:786 #13 0x00005555557d1725 in main (argc=3, argv=0x7fffffffdc28) at emacs.c:2055 Lisp Backtrace: "redisplay_internal (C function)" (0x0) (gdb) l 15702 { 15703 struct frame *f = XFRAME (frame); 15704 if (f->updated_p) 15705 { 15706 f->redisplay = false; 15707 f->garbaged = false; 15708 mark_window_display_accurate (f->root_window, true); 15709 if (FRAME_TERMINAL (f)->frame_up_to_date_hook) 15710 FRAME_TERMINAL (f)->frame_up_to_date_hook (f); 15711 } but never on setting flag to true, yet f->garbaged becomes true in redisplay_internal somehow.