all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Taylor Venable <taylor@metasyntax.net>
Cc: help-gnu-emacs@gnu.org, emacs-devel@gnu.org
Subject: Re: Strange slowness when killing words interactively
Date: Sun, 01 May 2011 21:13:01 -0400	[thread overview]
Message-ID: <87pqo1oqg2.fsf@stupidchicken.com> (raw)
In-Reply-To: <BANLkTi=mrq9fo8fd0m08hmQo4DC-xi=u7g@mail.gmail.com> (Taylor Venable's message of "Sun, 1 May 2011 20:22:37 -0400")

Taylor Venable <taylor@metasyntax.net> writes:

> I've found the location where the slowness creeps into kill-word and
> friends. Looking at kill-region in simple.el, the part that is very
> slow for my system is adding to the kill ring. If I comment those
> lines out (as shown in http://paste.lisp.org/+2LWP) then the sluggish
> response disappears. It's odd to me that I don't see this behaviour
> when I start Emacs with -nw as I would (perhaps naively) think that
> slowness in kill-region would be independent of what user interface is
> active.

On a graphical terminal, kill-new calls interprogram-cut-function to set
the clipboard (or the X selection, for Emacs 23).  That may be causing
the slowdown.  Could you set interprogram-cut-function to nil and see if
it makes any difference?  If so, we need to figure out why
interprogram-cut-function is slow on your computer.



  reply	other threads:[~2011-05-02  1:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqo1oqg2.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=taylor@metasyntax.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.