emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about 0.1s


From: zhang cc
Subject: Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about 0.1s)
Date: Mon, 26 Mar 2018 10:12:33 +0000

1. start emacs with “emacs -Q”
2. eval the following form:
(progn
  (setq ddd-tm (current-time))
  (switch-to-buffer-other-window "*Messages*")
  (message "ddd: %ss"  (float-time (time-subtract (current-time) ddd-tm))))

The result is lager than 0.1s on my machine. This makes undo-tree running too slowly, because it calls switch-to-buffer-other-window twice per undo.

The emacs 25 has no such problem.

OS: Centos 7.4 x86_64
Emacs: 26.0.91
GTK version: 2.24.31


reply via email to

[Prev in Thread] Current Thread [Next in Thread]