unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to redraw
@ 2020-04-02  0:06 gennady.uraltsev
  2020-04-02 14:40 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: gennady.uraltsev @ 2020-04-02  0:06 UTC (permalink / raw)
  To: 40384

[-- Attachment #1: Type: text/plain, Size: 4573 bytes --]

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.

The same problem appears with all win32 versions of emacs that I found:

the cygwin emacs-32 package

$ uname -a
CYGWIN_NT-10.0 malevich 3.1.4(0.340/5/3) 2020-02-19 08:49 x86_64 Cygwin
$ emacs-w32.exe --version
GNU Emacs 26.3

the official package:

$ emacs.exe --version
GNU Emacs 26.3

and with NTEmacs. 

Also, interestingly enough, page by page movement with pg-down with
variable-pitch-mode seems ok and snappy. No fontification is active in my
attempts as I opened everything in fundamental mode.


Specifically, to reproduce start a clean emacs, dismiss the startup
screen and yank copies of the first two lines of the scratch buffer to
fill in your screen: 35 lines? Now execute: M-x variable-pitch-mode and
try moving around using arrow keys (up and down). The system slows down
and starts updating once every 0.5 -1 sec if you hold down/ input
movement keys consecutively. This does not happen on X11 builds.

If you change font, this problem still remains. Attached are 
profiler results for moving down two pages worth of text. 



In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29 built on CIRROCUMULUS
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor 'Microsoft Corp.', version 10.0.18363
Recent messages:
Buffer-Face mode enabled
funcall-interactively: End of buffer [3 times]
C-h C-g is undefined
Making completion list...
Type C-x 1 to delete the help window, C-M-v to scroll help.
previous-line: Beginning of buffer [65 times]
scroll-up-command: End of buffer
next-line: End of buffer [2 times]
Making completion list...
scroll-up-command: End of buffer

Configured using:
 'configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS THREADS LCMS2

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1251

Major mode: Lisp Interaction

Minor modes in effect:
  buffer-face-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml
mml-sec password-cache epa derived epg epg-config gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils pp wid-edit descr-text help-mode easymenu
cl-loaddefs cl-lib face-remap elec-pair time-date mule-util tooltip
eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core term/tty-colors frame cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads w32notify w32
lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 104193 13728)
 (symbols 48 32234 1)
 (miscs 40 63 381)
 (strings 32 86233 1404)
 (string-bytes 1 1941437)
 (vectors 16 15512)
 (vector-slots 8 899538 14224)
 (floats 8 63 228)
 (intervals 56 417 52)
 (buffers 992 14))

[-- Attachment #2: w32-variable-pitch-slow --]
[-- Type: application/octet-stream, Size: 16495 bytes --]


[profiler-profile "24.3" memory #s(hash-table size 97 test equal rehash-size 1.5 rehash-threshold 0.8125 data ([current-message execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil nil] 1692 [execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil nil nil] 1862203 [redisplay sit-for execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 830 [image-search-load-path find-image eval "#<compiled 0x1000d70c9>" mapcar tool-bar-make-keymap-1 tool-bar-make-keymap redisplay_internal\ \(C\ function\) redisplay sit-for execute-extended-command funcall-interactively call-interactively command-execute nil nil] 9318 [kill-this-buffer-enabled-p redisplay_internal\ \(C\ function\) redisplay sit-for execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 524 [image-search-load-path find-image redisplay_internal\ \(C\ function\) redisplay sit-for execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 366 [execute-extended-command--shorter-1 execute-extended-command--shorter-1 execute-extended-command--shorter execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil] 512 [default-font-height default-line-height line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 247364 [line-move-visual line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 21928 [nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil] 143958 [default-font-height default-line-height line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil] 266848 [backtrace-frame "#<compiled 0x100082755>" called-interactively-p next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil] 2112 [default-font-height default-line-height window-screen-lines line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 253884 [window-inside-pixel-edges line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil] 3168 [window-edges window-inside-pixel-edges window-screen-lines line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 3168 [window-current-scroll-bars window-edges window-inside-pixel-edges line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 8448 [run-hook-with-args-until-success called-interactively-p next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 3168 [line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil nil] 17776 [window-inside-pixel-edges window-screen-lines line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 3168 [line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 20504 [window-current-scroll-bars window-edges window-inside-pixel-edges line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 7392 [undo-auto--boundaries undo-auto--add-boundary nil nil nil nil nil nil nil nil nil nil nil nil nil nil] 2112 [window-inside-pixel-edges line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 2112 [window-current-scroll-bars window-edges window-inside-pixel-edges window-screen-lines line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil] 6336 [if eval redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil] 6336 [window-edges window-inside-pixel-edges line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil] 1056 [next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil nil nil] 4224 [backtrace-frame--internal backtrace-frame "#<compiled 0x100082755>" called-interactively-p next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 4224 [font-lock-fontify-syntactically-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x1002628c1>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function vertical-motion line-move-visual line-move next-line funcall-interactively call-interactively command-execute nil] 7872 [looking-back font-lock-fontify-syntactically-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x1002628c1>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function vertical-motion line-move-visual line-move next-line funcall-interactively call-interactively command-execute] 3072 [font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x1002628c1>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function vertical-motion line-move-visual line-move next-line funcall-interactively call-interactively command-execute nil] 29796 [lisp--el-match-keyword font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x1002628c1>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function vertical-motion line-move-visual line-move next-line funcall-interactively call-interactively command-execute] 1652 ["#<compiled 0x1000cdbc3>" font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x1002628c1>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function vertical-motion line-move-visual line-move next-line funcall-interactively call-interactively command-execute] 1884 [lisp--match-hidden-arg font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x1002628c1>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function vertical-motion line-move-visual line-move next-line funcall-interactively call-interactively command-execute] 3168 [if eval pos-visible-in-window-p line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 38016 [file-remote-p pos-visible-in-window-p line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 5204 [unless eval pos-visible-in-window-p line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 2112 [if eval posn-at-point line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 20064 [default-font-height line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil] 71632 [window-edges window-inside-pixel-edges line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 1056 [font-lock-fontify-syntactically-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x245b461>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil] 6336 [lisp--match-hidden-arg font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x245b461>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil] 2112 [jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil] 1056 [syntax-ppss font-lock-fontify-syntactically-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x100295305>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil] 1056 [file-remote-p redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil nil] 2586 [display-graphic-p default-line-height window-screen-lines line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 1810 [default-line-height window-screen-lines line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 14230 [timer--time-less-p timer--activate timer-activate-when-idle timer-event-handler nil nil nil nil nil nil nil nil nil nil nil nil] 1056 [completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 24842 [run-hooks font-lock-mode turn-on-font-lock turn-on-font-lock-if-desired global-font-lock-mode-enable-in-buffers run-hooks run-mode-hooks minibuffer-inactive-mode read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil] 1056 [read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil nil nil nil] 73166 [image-search-load-path find-image eval "#<compiled 0x1000d70c9>" mapcar tool-bar-make-keymap-1 tool-bar-make-keymap redisplay_internal\ \(C\ function\) read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil] 1130 ["#<compiled 0x1000d70c9>" mapcar tool-bar-make-keymap-1 tool-bar-make-keymap redisplay_internal\ \(C\ function\) read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil] 2112 [find-image eval "#<compiled 0x1000d70c9>" mapcar tool-bar-make-keymap-1 tool-bar-make-keymap redisplay_internal\ \(C\ function\) read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil] 1056 [image-search-load-path find-image redisplay_internal\ \(C\ function\) read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil] 366 [if eval redisplay_internal\ \(C\ function\) read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil] 2112 [call-interactively command-execute read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil nil] 80 [line-move-visual line-move previous-line previous-line-or-history-element funcall-interactively call-interactively command-execute read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil] 1568 [goto-history-element previous-history-element previous-line-or-history-element funcall-interactively call-interactively command-execute read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil] 1056 [apply "#<compiled 0x10021dd95>" redisplay_internal\ \(C\ function\) read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil] 1056 [timer--time-less-p timer--activate timer-activate run-at-time apply run-with-timer blink-cursor--start-timer blink-cursor-start apply timer-event-handler read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively] 2112 [previous-line previous-line-or-history-element funcall-interactively call-interactively command-execute read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil] 1056 [previous-history-element previous-line-or-history-element funcall-interactively call-interactively command-execute read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil] 1056 [call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 16 [profiler-cpu-profile profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil] 1895296 [profiler-make-profile profiler-cpu-profile profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil] 1203 [profiler-report-make-buffer-name profiler-report-setup-buffer-1 profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil] 32 [profiler-report-setup-buffer-1 profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil] 1040 [profiler-format-percent "#<compiled 0x1001b8f01>" profiler-calltree-walk profiler-calltree-walk profiler-calltree-walk profiler-calltree-compute-percentages profiler-calltree-build profiler-report-render-calltree-1 profiler-report-rerender-calltree profiler-report-render-calltree profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively] 8188 [replace-regexp-in-string profiler-report-header-line-format profiler-report-render-calltree-1 profiler-report-rerender-calltree profiler-report-render-calltree profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute] 512 [profiler-report-move-to-entry profiler-report-render-calltree-1 profiler-report-rerender-calltree profiler-report-render-calltree profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil] 704 [split-window split-window-below split-window-sensibly window--try-to-split-window display-buffer-pop-up-window display-buffer--maybe-pop-up-frame-or-window display-buffer pop-to-buffer switch-to-buffer-other-window profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command] 378257 [window--display-buffer display-buffer-pop-up-window display-buffer--maybe-pop-up-frame-or-window display-buffer pop-to-buffer switch-to-buffer-other-window profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute] 364737 [profiler-memory-profile profiler-report-memory profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil] 1833256)) (24197 11177 73357 0) nil]

[-- Attachment #3: w32-normal --]
[-- Type: application/octet-stream, Size: 20659 bytes --]


[profiler-profile "24.3" memory #s(hash-table size 97 test equal rehash-size 1.5 rehash-threshold 0.8125 data ([message profiler-start funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 1692 [profiler-start funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 0 [redisplay sit-for execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 830 [image-search-load-path find-image eval "#<compiled 0x1000d70c9>" mapcar tool-bar-make-keymap-1 tool-bar-make-keymap redisplay_internal\ \(C\ function\) redisplay sit-for execute-extended-command funcall-interactively call-interactively command-execute nil nil] 1130 [kill-this-buffer-enabled-p redisplay_internal\ \(C\ function\) redisplay sit-for execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 524 [image-search-load-path find-image redisplay_internal\ \(C\ function\) redisplay sit-for execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 366 [line-move-visual line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 1584 [nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil] 79008 [if eval redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil] 74716 [line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 12672 [default-font-height default-line-height line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 88444 [window-current-scroll-bars window-edges window-inside-pixel-edges window-screen-lines line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil] 22176 [default-font-height default-line-height window-screen-lines line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 97152 [default-font-height default-line-height line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil] 68640 [unless eval redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil] 12672 [next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil nil nil] 7392 [apply "#<compiled 0x10021dd95>" redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil] 4224 [run-hook-with-args-until-success called-interactively-p next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 9504 [window-inside-pixel-edges line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 11616 [redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil] 4224 [backtrace-frame--internal backtrace-frame "#<compiled 0x100082755>" called-interactively-p next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 6336 [window-edges window-inside-pixel-edges line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil] 7392 [backtrace-frame "#<compiled 0x100082755>" called-interactively-p next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil] 6336 [font-lock-fontify-syntactically-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x100251d39>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil] 14752 [looking-back font-lock-fontify-syntactically-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x100251d39>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil] 2048 [font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x100251d39>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil] 15120 [lisp--el-match-keyword font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x100251d39>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil] 1076 ["#<compiled 0x1000cdbc3>" font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x100251d39>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil] 1138 [lisp--match-hidden-arg font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x100251d39>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil] 4224 [jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil] 2112 [replace-regexp-in-string font-lock-fontify-syntactically-region font-lock-default-fontify-region font-lock-fontify-region "#<compiled 0x10027d071>" run-hook-wrapped jit-lock--run-functions jit-lock-fontify-now jit-lock-function redisplay_internal\ \(C\ function\) nil nil nil nil nil nil] 1056 [file-remote-p redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil nil] 5580 [window-current-scroll-bars window-edges window-inside-pixel-edges line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 5280 [window-edges window-inside-pixel-edges window-screen-lines line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 1056 [window-current-scroll-bars window-edges window-inside-pixel-edges line-move-partial line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 2112 [line-move next-line funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil nil] 1056 [minibuffer-inactive-mode read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil nil nil] 1056 [completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 17632 [minibuffer-history-isearch-setup read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil nil nil] 1056 [read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil nil nil nil] 68946 [redisplay_internal\ \(C\ function\) read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil nil nil] 3168 [image-search-load-path find-image redisplay_internal\ \(C\ function\) read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil] 2520 [if eval redisplay_internal\ \(C\ function\) read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil] 16896 [timer-relative-time run-at-time apply run-with-timer blink-cursor--start-timer blink-cursor-start apply timer-event-handler read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil] 1056 [call-interactively command-execute read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil nil] 192 [completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil] 1056 [timer--time-less-p timer--activate timer-activate-when-idle timer-event-handler read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil] 1056 [complete-with-action "#<compiled 0x1000a9d03>" all-completions completion-pcm--all-completions completion-basic-all-completions "#<compiled 0x13205f1>" completion--some completion--nth-completion completion-all-completions minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region] 1056 [font-lock-prepend-text-property "#<compiled 0x1321a05>" mapcar completion-hilit-commonality completion-basic-all-completions "#<compiled 0x13205f1>" completion--some completion--nth-completion completion-all-completions minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region] 5160 [temp-buffer-window-setup minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute read-from-minibuffer completing-read-default completing-read] 1040 [temp-buffer-window-show minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute read-from-minibuffer completing-read-default completing-read] 1056 [window-in-direction "#<compiled 0x13211fd>" walk-window-tree-1 walk-window-tree display-buffer-at-bottom display-buffer temp-buffer-window-show minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete] 16 [if eval posn-at-point window-in-direction "#<compiled 0x13211fd>" walk-window-tree-1 walk-window-tree display-buffer-at-bottom display-buffer temp-buffer-window-show minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>"] 2112 [window-in-direction "#<compiled 0x13211fd>" walk-window-tree display-buffer-at-bottom display-buffer temp-buffer-window-show minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively] 1056 [display-buffer-at-bottom display-buffer temp-buffer-window-show minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute read-from-minibuffer] 4224 [window--try-to-split-window display-buffer-at-bottom display-buffer temp-buffer-window-show minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute] 1056 [split-window split-window-no-error display-buffer-at-bottom display-buffer temp-buffer-window-show minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively] 382393 [window--display-buffer display-buffer-at-bottom display-buffer temp-buffer-window-show minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute] 1377 [minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute read-from-minibuffer completing-read-default completing-read read-extended-command] 80 [display-completion-list minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute read-from-minibuffer completing-read-default completing-read] 4224 [completion--insert-strings display-completion-list minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute read-from-minibuffer completing-read-default] 4064 [completion-list-mode completion-setup-function run-hooks display-completion-list minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute] 1096 [completion-setup-function run-hooks display-completion-list minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute read-from-minibuffer] 75336 [fit-window-to-buffer minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute read-from-minibuffer completing-read-default completing-read] 2112 [window-resize window-resize-no-error fit-window-to-buffer minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x131d9c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute read-from-minibuffer] 321 [map-keymap keymap-canonicalize redisplay_internal\ \(C\ function\) read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil] 1056 [timer--time-less-p timer--activate timer-activate run-at-time apply run-with-timer blink-cursor--start-timer blink-cursor-start apply timer-event-handler read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively] 1056 [delete-window window--delete bury-buffer minibuffer-hide-completions completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x1e978c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively command-execute read-from-minibuffer] 321 [get-mru-window delete-window-internal delete-window window--delete bury-buffer minibuffer-hide-completions completion--do-completion completion--in-region-1 "#<compiled 0x1000a72cf>" apply "#<compiled 0x1e978c5>" completion--in-region completion-in-region minibuffer-complete funcall-interactively call-interactively] 1056 [internal-timer-start-idle read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute nil nil nil nil nil nil nil nil] 1677 [execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil nil nil] 47048 [call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 16 [profiler-cpu-profile profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil] 1878752 [profiler-make-profile profiler-cpu-profile profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil] 1677 [profiler-report-make-buffer-name profiler-report-setup-buffer-1 profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil] 32 [profiler-report-setup-buffer-1 profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil] 1040 [replace-regexp-in-string profiler-report-header-line-format profiler-report-render-calltree-1 profiler-report-rerender-calltree profiler-report-render-calltree profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute] 524 [profiler-report-insert-calltree mapc profiler-report-insert-calltree-children profiler-report-render-calltree-1 profiler-report-rerender-calltree profiler-report-render-calltree profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively] 8188 [mapc profiler-report-insert-calltree-children profiler-report-render-calltree-1 profiler-report-rerender-calltree profiler-report-render-calltree profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute] 1016 [profiler-report-move-to-entry profiler-report-render-calltree-1 profiler-report-rerender-calltree profiler-report-render-calltree profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil] 704 [split-window split-window-below split-window-sensibly window--try-to-split-window display-buffer-pop-up-window display-buffer--maybe-pop-up-frame-or-window display-buffer pop-to-buffer switch-to-buffer-other-window profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command] 378257 [window--display-buffer display-buffer-pop-up-window display-buffer--maybe-pop-up-frame-or-window display-buffer pop-to-buffer switch-to-buffer-other-window profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute] 364737 [profiler-memory-profile profiler-report-memory profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute nil nil nil nil nil nil] 1887024)) (24197 11087 803461 0) nil]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to redraw
  2020-04-02  0:06 bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to redraw gennady.uraltsev
@ 2020-04-02 14:40 ` Eli Zaretskii
  2020-04-02 22:29   ` gennady.uraltsev
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2020-04-02 14:40 UTC (permalink / raw)
  To: gennady.uraltsev; +Cc: 40384

> From: <gennady.uraltsev@gmail.com>
> 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).





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to redraw
  2020-04-02 14:40 ` Eli Zaretskii
@ 2020-04-02 22:29   ` gennady.uraltsev
  2020-04-03  7:04     ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: gennady.uraltsev @ 2020-04-02 22:29 UTC (permalink / raw)
  To: 'Eli Zaretskii'; +Cc: 40384

By default the font that gets used is

          display: by this font (glyph code)
 
uniscribe:-outline-Arial-normal-normal-normal-sans-20-*-*-*-p-*-iso8859-1
(#x03)

as given by describe-char. On the other hand I can, before enabling the
mode, execute

  (custom-set-faces
 '(variable-pitch ((t (:height 120 :family "Segoe UI" :foundry "MS  " :slant
normal :weight normal :width normal)))))

and this gives

display: by this font (glyph code)
uniscribe:-outline-Segoe UI-normal-normal-normal-sans-24-*-*-*-p-*-iso8859-1
(#x37)

But slowness happens in both cases.


Here are the profiler reports for CPU for scrolling about 2 pages worth of
text by pushing the down arrow:
******Normal*******
- command-execute                                                   3  75%
 - call-interactively                                               3  75%
  - byte-code                                                       3  75%
   - read-extended-command                                          3  75%
    - completing-read                                               3  75%
     - completing-read-default                                      3  75%
        read-from-minibuffer                                        2  50%
- ...                                                               1  25%
   Automatic GC                                                     1  25%

******variable-pitch-mode*******
- command-execute                                                  92  97%
 - call-interactively                                              92  97%
  - funcall-interactively                                          91  96%
   - next-line                                                     89  94%
    - line-move                                                    89  94%
     - line-move-partial                                           59  62%
      - default-line-height                                        36  38%
         default-font-height                                       36  38%
      - window-screen-lines                                        23  24%
       - default-line-height                                       23  24%
          default-font-height                                      23  24%
     - default-line-height                                         30  31%
        default-font-height                                        30  31%
   - execute-extended-command                                       2   2%
    - sit-for                                                       2   2%
       redisplay                                                    2   2%
  - byte-code                                                       1   1%
   - read-extended-command                                          1   1%
    - completing-read                                               1   1%
     - completing-read-default                                      1   1%
      - read-from-minibuffer                                        1   1%
       - redisplay_internal (C function)                            1   1%
        - tool-bar-make-keymap                                      1   1%
         - tool-bar-make-keymap-1                                   1   1%
          - mapcar                                                  1   1%
           - #<compiled 0x1000d70c9>                                1   1%
            - eval                                                  1   1%
             - find-image                                           1   1%
                image-search-load-path                              1   1%
- ...                                                               2   2%
   Automatic GC                                                     2   2%

Thanks! 




-----Original Message-----
From: Eli Zaretskii <eliz@gnu.org> 
Sent: Thursday, 2 April, 2020 10:41
To: gennady.uraltsev@gmail.com
Cc: 40384@debbugs.gnu.org
Subject: Re: bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to
redraw

> From: <gennady.uraltsev@gmail.com>
> 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).






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to redraw
  2020-04-02 22:29   ` gennady.uraltsev
@ 2020-04-03  7:04     ` Eli Zaretskii
  2020-04-08 15:30       ` Gennady Uraltsev
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2020-04-03  7:04 UTC (permalink / raw)
  To: gennady.uraltsev; +Cc: 40384

> From: <gennady.uraltsev@gmail.com>
> Cc: <40384@debbugs.gnu.org>
> Date: Thu, 2 Apr 2020 18:29:07 -0400
> 
> By default the font that gets used is
> 
>           display: by this font (glyph code)
>  
> uniscribe:-outline-Arial-normal-normal-normal-sans-20-*-*-*-p-*-iso8859-1
> (#x03)

That's the same font I get, but I see no slowdown.

Thanks for the profile, it says that somehow redrawing even ASCII
characters (if you indeed did that with the comment in *scratch*
copied many times, as your recipe says) is somehow very expensive on
your system.

Does it help to customize inhibit-compacting-font-caches to non-nil?





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to redraw
  2020-04-03  7:04     ` Eli Zaretskii
@ 2020-04-08 15:30       ` Gennady Uraltsev
  2020-04-08 15:38         ` Eli Zaretskii
  2021-12-05  1:16         ` Lars Ingebrigtsen
  0 siblings, 2 replies; 8+ messages in thread
From: Gennady Uraltsev @ 2020-04-08 15:30 UTC (permalink / raw)
  Cc: 40384

Hello,

None of the suggested fixes have any impact. I just did a clean reinstall of
my OS (Windows 10 Enterprise 10.0.18363 Build 18363) and the issue is
present still. Should we try to investigate the issue? 

I have another PC on which I am going to be reinstalling windows soon. I
will check there and report back. (To see if it is hardware or software
related or a combination of the two...)

Best,

Gennady

On April 3, 2020 03:04:19 Eli Zaretskii <eliz@gnu.org> wrote:

>> From: <gennady.uraltsev@gmail.com>
>> Cc: <40384@debbugs.gnu.org>
>> Date: Thu, 2 Apr 2020 18:29:07 -0400
>>
>> By default the font that gets used is
>>
>>           display: by this font (glyph code)
>>
>> uniscribe:-outline-Arial-normal-normal-normal-sans-20-*-*-*-p-*-iso8859-1
>> (#x03)
>
> That's the same font I get, but I see no slowdown.
>
> Thanks for the profile, it says that somehow redrawing even ASCII
> characters (if you indeed did that with the comment in *scratch*
> copied many times, as your recipe says) is somehow very expensive on
> your system.
>
> Does it help to customize inhibit-compacting-font-caches to non-nil?








^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to redraw
  2020-04-08 15:30       ` Gennady Uraltsev
@ 2020-04-08 15:38         ` Eli Zaretskii
  2021-12-05  1:16         ` Lars Ingebrigtsen
  1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2020-04-08 15:38 UTC (permalink / raw)
  To: Gennady Uraltsev; +Cc: 40384

> From: "Gennady Uraltsev" <gennady.uraltsev@gmail.com>
> Date: Wed, 8 Apr 2020 11:30:22 -0400
> Cc: 40384@debbugs.gnu.org
> 
> None of the suggested fixes have any impact. I just did a clean reinstall of
> my OS (Windows 10 Enterprise 10.0.18363 Build 18363) and the issue is
> present still. Should we try to investigate the issue? 

We probably should investigate, yes, but I don't know what else to
suggest.  Ideas welcome.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to redraw
  2020-04-08 15:30       ` Gennady Uraltsev
  2020-04-08 15:38         ` Eli Zaretskii
@ 2021-12-05  1:16         ` Lars Ingebrigtsen
  2022-01-21 13:38           ` Lars Ingebrigtsen
  1 sibling, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-05  1:16 UTC (permalink / raw)
  To: Gennady Uraltsev; +Cc: 40384

"Gennady Uraltsev" <gennady.uraltsev@gmail.com> writes:

> None of the suggested fixes have any impact. I just did a clean reinstall of
> my OS (Windows 10 Enterprise 10.0.18363 Build 18363) and the issue is
> present still. Should we try to investigate the issue? I have another
> PC on which I am going to be reinstalling windows soon. I
> will check there and report back. (To see if it is hardware or software
> related or a combination of the two...)

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I don't see this slowdown with variable pitch fonts on Windows, either
(using Windows 11 and Emacs 28).  Are you still seeing this issue (with
Emacs 27.2, for instance?)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to redraw
  2021-12-05  1:16         ` Lars Ingebrigtsen
@ 2022-01-21 13:38           ` Lars Ingebrigtsen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-21 13:38 UTC (permalink / raw)
  To: Gennady Uraltsev; +Cc: 40384

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I don't see this slowdown with variable pitch fonts on Windows, either
> (using Windows 11 and Emacs 28).  Are you still seeing this issue (with
> Emacs 27.2, for instance?)

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-01-21 13:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02  0:06 bug#40384: 26.3; [Windows10] variable-pitch-mode is slow to redraw gennady.uraltsev
2020-04-02 14:40 ` Eli Zaretskii
2020-04-02 22:29   ` gennady.uraltsev
2020-04-03  7:04     ` Eli Zaretskii
2020-04-08 15:30       ` Gennady Uraltsev
2020-04-08 15:38         ` Eli Zaretskii
2021-12-05  1:16         ` Lars Ingebrigtsen
2022-01-21 13:38           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).