all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Strange slowness when killing words interactively
@ 2011-04-27  1:30 Taylor Venable
  2011-05-02  0:22 ` Taylor Venable
  0 siblings, 1 reply; 19+ messages in thread
From: Taylor Venable @ 2011-04-27  1:30 UTC (permalink / raw)
  To: help-gnu-emacs

Hi, I'm having a strange problem with C-<backspace>
(backward-kill-word) and looking for some help in trying to debug it.
When I use this keystroke, the CPU usage spikes. The same goes for
C-<delete> (forward-kill-word) or any other key that I bind to either
of these functions. Other functions, such as backward-kill-sexp and
backward-kill-sentence, are similarly problematic. As a result, when I
hold the key down, my high repeat rate makes Emacs unresponsive for a
second until whatever is slowing down catches up. It happens with the
GTK GUI, but not with the text user interface. None of my other
machines have this behaviour with the same version of Emacs (that
includes one machine which is running the same distribution [Arch
Linux] with the same packages). No other programs on this system are
affected by performance problems when deleting words of text from a
block. The problem occurs with and without using -q. There does not
seem to be the same problem if I run the kill function itself with
C-u; for example, C-u 1000 backward-kill-word is instant. What's the
best way to profile this and figure out where my CPU cycles are being
eaten? Thanks for any help, my version information is below. I built
from fully updated bzr trunk tonight.

M-x emacs-version
GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.1) of
2011-04-26

gcc --version
gcc (GCC) 4.6.0 20110415 (prerelease)

uname -a
Linux system76 2.6.38-ARCH #1 SMP PREEMPT Sun Apr 17 15:18:58 CEST
2011 x86_64 Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz GenuineIntel
GNU/Linux

-- 
Taylor C. Venable
http://metasyntax.net/



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

end of thread, other threads:[~2011-05-17 19:05 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-27  1:30 Strange slowness when killing words interactively Taylor Venable
2011-05-02  0:22 ` Taylor Venable
2011-05-02  1:13   ` Chong Yidong
2011-05-02  4:25     ` Taylor Venable
2011-05-02 16:32       ` David De La Harpe Golden
2011-05-03  1:14         ` Taylor Venable
2011-05-03  4:30           ` David De La Harpe Golden
2011-05-03  5:12             ` Stephen J. Turnbull
2011-05-03 11:51               ` Taylor Venable
2011-05-04  5:36                 ` David De La Harpe Golden
2011-05-07  2:52                   ` Taylor Venable
2011-05-09  1:18                     ` David De La Harpe Golden
2011-05-09  3:08                       ` David De La Harpe Golden
2011-05-14 12:59                         ` Taylor Venable
2011-05-16 22:32                           ` Chong Yidong
2011-05-16 23:01                             ` David De La Harpe Golden
2011-05-17 17:31                               ` Chong Yidong
2011-05-17 17:48                                 ` David De La Harpe Golden
2011-05-17 19:05                                   ` David De La Harpe Golden

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.