From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#31904: scatch/ns-drawing Date: Sun, 26 Aug 2018 14:02:49 +0100 Message-ID: <20180826130249.GB1013@breton.holly.idiocy.org> References: <75680C09-827A-4AB3-A930-F132AE8463A1@zentrope.com> <5C8BCF98-F8C6-465F-99C0-728F25A47982@zentrope.com> <20180818140233.GA63685@breton.holly.idiocy.org> <6ACE4FB3-7829-40AB-A79D-24D44C08A833@zentrope.com> <776614A2-36FE-498B-81A1-F8B5ADC7FF88@zentrope.com> <20180819095907.GA98058@breton.holly.idiocy.org> <1208BE02-F818-4699-B30B-2D9506126960@zentrope.com> 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 1535288469 5530 195.159.176.226 (26 Aug 2018 13:01:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 26 Aug 2018 13:01:09 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 31904@debbugs.gnu.org To: "zentrope@fastmail.fm" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 26 15:01:05 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 1ftuf7-0001HP-PG for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Aug 2018 15:01:01 +0200 Original-Received: from localhost ([::1]:49074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftuhD-0005XG-UI for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Aug 2018 09:03:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftuh8-0005XB-2P for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 09:03:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftuh4-0002hE-Rt for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 09:03:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55940) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftuh4-0002h2-Kq for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 09:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ftuh4-0006iR-BA for bug-gnu-emacs@gnu.org; Sun, 26 Aug 2018 09:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Aug 2018 13:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31904 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31904-submit@debbugs.gnu.org id=B31904.153528858025807 (code B ref 31904); Sun, 26 Aug 2018 13:03:02 +0000 Original-Received: (at 31904) by debbugs.gnu.org; 26 Aug 2018 13:03:00 +0000 Original-Received: from localhost ([127.0.0.1]:60958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftuh2-0006iB-B4 for submit@debbugs.gnu.org; Sun, 26 Aug 2018 09:03:00 -0400 Original-Received: from mail-wr1-f46.google.com ([209.85.221.46]:34800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftuh0-0006hx-2d for 31904@debbugs.gnu.org; Sun, 26 Aug 2018 09:02:58 -0400 Original-Received: by mail-wr1-f46.google.com with SMTP id g33-v6so11170129wrd.1 for <31904@debbugs.gnu.org>; Sun, 26 Aug 2018 06:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=ZI6MZ1RaWvrOETtyZy6Tg/+VX++Bx4F2QnhfHLVp3ck=; b=ZcznVTYH+lGUugXafxbrQK7ClurpAzAhipV2xb47hjghlNo5cpnaicJpvKUnI4a/1Z MjdK0mYnT3ndWCHM+PK8/BN3OUhUU3Uc5sboMG9D7FZv7z118qmqnfOqMIOt2rKO678u m5vajTTL/SbAFyyjQ3w0Zywnf0FbtCpTrdIeBzrqHvILFoAKaXIZhsLxKKGON+oBnqxS LEiP9bNXuu+ee7TKXKlJ7RejCp5SQiw2hjrqgOd4t8bXzK4P+oI0BByEqrq+G0SJ7p+W /ExBKZhf0reF02Sn12m/A9bahQ8LJ68uk8JzEwQy7pK49hqE8gHTMtRIfB0P1cGIG8jN qc9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=ZI6MZ1RaWvrOETtyZy6Tg/+VX++Bx4F2QnhfHLVp3ck=; b=jUrAh+o//Mdp7TkDUidS2WFwjGhfkrU96swVbP3soMKYU6mh4MmDurOCz3VkVlO9Ya Pz2Hum+ygLD47DPOLaySSwzA8ECUJ/O+3qKotTO+x69lhHG4Vzh+JtSYnYeHT6HXQFiy 771BipPQa9lx8JJitsPQZuw2zmFtBAuzeOoKBpzykodhwceoX+BT+dsFj5+hHtORO+Lq /V4hyzWJpRvyXT3FIPw5tL+7p6hA4SGmf5IhHZEiADB4NC38xKbgEFt4ipj5wM7KO2St at0W7e44mh39vGr3Nii+FekrSbL/e22sgwkWffIM4ZxBTKAtAMOZPAyYJil0pyMJQmSE NDIg== X-Gm-Message-State: APzg51DK7l866HmQiWpnc0TRNTOm/sftPRk2qIbEcTMM4dxN6cmzIbom iFg2t5WStW04SByo5wwsMeG3xlMApyI= X-Google-Smtp-Source: ANB0Vda1TCAcR2rh0PCqGu/N7xJQMJaE5FvGKGFjWxC2393jLdhY2oT+cFyh9q9iVjlQPxqFECDUHA== X-Received: by 2002:a5d:4b52:: with SMTP id w18-v6mr5803491wrs.87.1535288572381; Sun, 26 Aug 2018 06:02:52 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-7d3a-29da-187f-124a.holly.idiocy.org. [2001:8b0:3f8:8129:7d3a:29da:187f:124a]) by smtp.gmail.com with ESMTPSA id a9-v6sm7528966wmf.28.2018.08.26.06.02.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Aug 2018 06:02:51 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1208BE02-F818-4699-B30B-2D9506126960@zentrope.com> 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:149754 Archived-At: Sorry, I thought I’d already replied to this. On Sun, Aug 19, 2018 at 04:51:36PM -0700, zentrope@fastmail.fm wrote: > > Another interesting thing: > > * The problem does NOT occur when changing the size of the font. > > * If I change the font (to Monaco), the screen blanks, but > immediately running a command to change the font size “fixes” it. > > Seems that the font-change isn’t triggering a “repaint the whole > thing”, rather, just repaint the line containing the pointer. Yes, that sounds right. Chances are the line with the cursor on it redraws because the cursor is drawn as a separate action. Probably the font change needs to mark the frame as garbaged so it’s redrawn completely, but that’s not happening. Unfortunately I don’t know where that should be done. I can’t see anywhere obvious in the NS code. I’ll keep looking. -- Alan Third