From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57434: 28.1.91; Terminal Emacs Mac OS flickering. Date: Mon, 29 Aug 2022 19:27:21 +0300 Message-ID: <83ilmbvwuu.fsf@gnu.org> References: <83edx1znjl.fsf@gnu.org> <83czclzms4.fsf@gnu.org> <83pmgjvy24.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26658"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 57434@debbugs.gnu.org To: Dmitrii Kuragin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 29 18:31:45 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oShfs-0006mp-Fh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Aug 2022 18:31:44 +0200 Original-Received: from localhost ([::1]:58674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oShfr-0005Pf-Bt for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Aug 2022 12:31:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oShcI-0002ZE-Kd for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 12:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oShcI-0003im-Ar for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 12:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oShcI-0007fV-2O for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 12:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Aug 2022 16:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57434 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57434-submit@debbugs.gnu.org id=B57434.166179042929397 (code B ref 57434); Mon, 29 Aug 2022 16:28:02 +0000 Original-Received: (at 57434) by debbugs.gnu.org; 29 Aug 2022 16:27:09 +0000 Original-Received: from localhost ([127.0.0.1]:33671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oShbQ-0007e4-O2 for submit@debbugs.gnu.org; Mon, 29 Aug 2022 12:27:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oShbO-0007dX-0F for 57434@debbugs.gnu.org; Mon, 29 Aug 2022 12:27:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oShbI-0003eS-MC; Mon, 29 Aug 2022 12:27:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=tL+c7kTP3A9d7O9MLH+MCgEwTWHO1YvDBIcb942a3XQ=; b=BZrrLHPap0tSQDW930OX pFV8MoDThUlg1dQi6SDShtobsjU61VXwKbHb/Ym0Zq598n5wxbsxG0OW2KTxFKRYkjfGfrWVSGtqm yVhXPcswO5YRhpbZmVUK/uI9UPqM7CIZPilkXqjUkuUv4k4FacVKiA9fVgu5gW3lrlxbq8w4oC1fn aZgNX7o7oHogO2pWzFI2Mu14MuljidGZxxveFbJWxNT0nt48/dNKaVylAw4sRAhJ2s4LR5PtIUm2l KGxWPv+HrcckfjMK8lPTAgB/DlmrY/xWmlD17KBFV+NaQ80LT4KcaL1I1pMHVeIyI8h4XPkw7/wED QIhnBgFVoxTD+A==; Original-Received: from [87.69.77.57] (port=3859 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oShbI-0007pv-5C; Mon, 29 Aug 2022 12:27:00 -0400 In-Reply-To: (message from Dmitrii Kuragin on Mon, 29 Aug 2022 09:03:15 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:241053 Archived-At: > From: Dmitrii Kuragin > Date: Mon, 29 Aug 2022 09:03:15 -0700 > Cc: Gerd Möllmann , > 57434@debbugs.gnu.org > > No, I see flickering during scrolling. What exactly do you mean by "scrolling"? which keys or commands do you invoke? > And the problem is much worse when I have line number mode enabled. > > The buffers do not change, and the frame at the same position, but line numbers change because they're in > 'visual mode (relative numbers). This still leaves unanswered one question: > > I compiled with `-O0 -g3`, then > > ``` > > lldb > > (lldb) file nextstep/Emacs.app/Contents/MacOS/Emacs > > Current executable set to > '/Users/kuragin/Desktop/emacs/nextstep/Emacs.app/Contents/MacOS/Emacs' > > (x86_64). > > (lldb) breakpoint set -f scroll.c -l 270 > > Breakpoint 1: where = Emacs`do_scrolling + 485 at scroll.c:271:11, address = 0x0000000100032da5 > > ``` > > > > But, it doesn't stop there... > > Why scroll.c:271, when the code you patched begins on line 684? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Why are you setting the breakpoint on that line?