From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to redraw Date: Thu, 02 Apr 2020 17:40:55 +0300 Message-ID: <83pncqx85k.fsf@gnu.org> References: <000201d60882$951fd3b0$bf5f7b10$@gmail.com> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="94588"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40384@debbugs.gnu.org To: gennady.uraltsev@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 02 16:42:51 2020 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 1jK13S-000OVG-0M for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Apr 2020 16:42:50 +0200 Original-Received: from localhost ([::1]:41306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jK13Q-0007Yr-Vp for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Apr 2020 10:42:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36516) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jK12i-00070b-FX for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2020 10:42:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jK12h-0001YL-HL for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2020 10:42:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jK12h-0001WC-DV for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2020 10:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jK12g-0008Ny-BI for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2020 10:42: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: Thu, 02 Apr 2020 14:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40384 X-GNU-PR-Package: emacs Original-Received: via spool by 40384-submit@debbugs.gnu.org id=B40384.158583847932096 (code B ref 40384); Thu, 02 Apr 2020 14:42:02 +0000 Original-Received: (at 40384) by debbugs.gnu.org; 2 Apr 2020 14:41:19 +0000 Original-Received: from localhost ([127.0.0.1]:40403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jK11z-0008Lc-9n for submit@debbugs.gnu.org; Thu, 02 Apr 2020 10:41:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jK11y-0008LA-AS for 40384@debbugs.gnu.org; Thu, 02 Apr 2020 10:41:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jK11t-00083N-56; Thu, 02 Apr 2020 10:41:13 -0400 Original-Received: from [176.228.60.248] (port=3145 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jK11s-0001ar-CV; Thu, 02 Apr 2020 10:41:12 -0400 In-Reply-To: <000201d60882$951fd3b0$bf5f7b10$@gmail.com> (gennady.uraltsev@gmail.com) 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177959 Archived-At: > From: > Date: Wed, 1 Apr 2020 20:06:38 -0400 > > I am trying to emacs under Windows 10. variable-pitch-mode is insanely slow > in redrawing the screen. With a clean emacs.d I opened a text file and tried > pressing the down arrow. The cursor gets redisplayed every 10 lines or so > and emacs is very sluggish. It is interesting that this DOES NOT happen with > a normal, fixed-pitch, font and also does NOT happen if I set the default > font to be a variable pitch one e.g. "Segoe UI". It only happens with > variable-pitch-mode. I don't think I can reproduce this. Which font is used on your system when you turn on variable-pitch-mode? (You can type "C-u C-x =" on a character to see the font used to display it.) > Attached are profiler results for moving down two pages worth of > text. Thanks, but you provided a "memory" profile, which is almost useless. Please provide the "cpu" profile instead, and please show it in human-readable form (after performing the measurement, type "M-x profiler-report RET", then go to each top-level "+" sign and type "C-u RET" to expand the profile; and finally paste the result into your message and send it).