From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32932: 27.0.50; render bugs on macOS Mojave Date: Sat, 03 Nov 2018 20:17:57 +0200 Message-ID: <83o9b6dnze.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1541269031 17826 195.159.176.226 (3 Nov 2018 18:17:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Nov 2018 18:17:11 +0000 (UTC) Cc: alan@idiocy.org, 32932@debbugs.gnu.org, boris@d12frosted.io To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 03 19:17:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJ0Tq-0004X3-UE for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Nov 2018 19:17:07 +0100 Original-Received: from localhost ([::1]:56453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJ0Vx-0002FM-78 for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Nov 2018 14:19:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJ0Vq-0002F5-Jv for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2018 14:19:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJ0Vk-0000eK-Ss for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2018 14:19:10 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57128) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJ0Vi-0000bo-5i for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2018 14:19:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJ0Vi-0004RQ-18 for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2018 14:19: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: Sat, 03 Nov 2018 18:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32932-submit@debbugs.gnu.org id=B32932.154126913717058 (code B ref 32932); Sat, 03 Nov 2018 18:19:01 +0000 Original-Received: (at 32932) by debbugs.gnu.org; 3 Nov 2018 18:18:57 +0000 Original-Received: from localhost ([127.0.0.1]:33153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJ0VY-0004R0-Qe for submit@debbugs.gnu.org; Sat, 03 Nov 2018 14:18:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJ0VX-0004Ql-3O for 32932@debbugs.gnu.org; Sat, 03 Nov 2018 14:18:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJ0VH-0000A5-5b for 32932@debbugs.gnu.org; Sat, 03 Nov 2018 14:18:40 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJ0V5-0008IN-9X; Sat, 03 Nov 2018 14:18:25 -0400 Original-Received: from [176.228.60.248] (port=2123 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gJ0V1-0000P2-Dx; Sat, 03 Nov 2018 14:18:23 -0400 In-reply-to: (message from Aaron Jensen on Sat, 3 Nov 2018 10:56:14 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151986 Archived-At: > From: Aaron Jensen > Date: Sat, 3 Nov 2018 10:56:14 -0700 > Cc: alan@idiocy.org, boris@d12frosted.io, 32932@debbugs.gnu.org > > > Doesn't the latest GDB compile on macOS? I thought it did, but > > perhaps that's only available in the GDB Git repo. > > It does, it just doesn’t recognize emacs as a valid binary. I’ve tried out a patch that’s supposed to help with > that, but it didn’t work. I’ve give these instructions a shot: https://stackoverflow.com/a/24918436/11229 and no > luck. I’ve tried for hours and cannot get GDB with emacs on Mojave. I have gdb working with other built > programs (like gdb itself), but when attempting to run emacs, I either get the code signing error: > > Starting program: /Users/aaronjensen/Source/emacs/src/emacs > Unable to find Mach task port for process-id 9979: (os/kern) failure (0x5). > > (I’ve code signed gdb, but it only works when running gdb as sudo for a reason I do not yet know.) > > And when running as sudo: > > (gdb) set startup-with-shell off > No symbol table is loaded. Use the "file" command. > (gdb) run > Starting program: /Users/aaronjensen/Source/emacs/src/emacs > > Program terminated with signal SIGTRAP, Trace/breakpoint trap. > The program no longer exists. Maybe ask for help on the GDB mailing list. > > In an Emacs configured with --enable-checking=yes,glyphs, you can also > > use the dump-glyph-row command to the same effect. > > Would doing this on the row that has the problem even if it is not currently flickering be useful? If the same row _ever_ flickers, then yes, it will be useful. > > The Y coordinate is measured from the top of the window. > > In pixels? Yes. > > So the problem is with redrawing the cursor in a screen line that > > shows a tall image? Is there any text before and/or after the image > > in the same screen line? > > No, the problem is with the redrawing the cursor on the row that in the active window *before* the image > loads. See the attached gif. Frame 2 of the gif shows the blank. Frame 1 is before I press enter. When I press > enter, which triggers a find-file on that image, it blanks the line, then loads the image. Are you sure it blanks the line _before_ loading the image? Could it be that it blanks the line because it needs to display the image in its stead? And how is the cursor drawing involved in this?