unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David De La Harpe Golden <david@harpegolden.net>
To: Taylor Venable <taylor@metasyntax.net>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Strange slowness when killing words interactively
Date: Wed, 04 May 2011 06:36:59 +0100	[thread overview]
Message-ID: <4DC0E5FB.5040905@harpegolden.net> (raw)
In-Reply-To: <BANLkTikh1O5emVoU5-Vo7OSN-YU08Mr+hQ@mail.gmail.com>

On 03/05/11 12:51, Taylor Venable wrote:

>
>> Is there any chance he's using Motif?  The Motif clipboard protocol is
>> capable of producing delays that even the US immigration service would
>> envy.
>
> No, this is using the GTK interface. :-)

You mean emacs itself? It's more if you were running emacs on a 
motif/cde desktop (or maybe just one with an xclipboard hanging about).

** What desktop environment (KDE, GNOME, XFCE, etc.), if any, are you using?

** Come to think of it, what does this:
(x-selection-exists-p 'CLIPBOARD_MANAGER)
return in your emacs?

GNOME - and apparently now recent XFCE - do actually have tiny clipboard 
managers by default (embedded in gnome-settings-daemon and 
xfce4-settings-helper respectively), but AFAIUI they shouldn't be 
problematic like motif-era ones: Nowadays there is a protocol [1] for 
clients to ask a clipboard manager only at client exit time to copy the 
clipboard content and take over clipboard ownership from the client, to 
persist the clipboard after client exit, and those managers are about 
supporting those clients.  I only recently learned of the XFCE one and 
haven't really looked at it yet, though.

Actually, I think emacs is not doing its part of [1], though it 
shouldn't typically have negative effects except when you try to paste 
after copying in emacs and then quitting, so not directly related to 
your problem.  But I'm now looking at that "Clipboard managers are 
encouraged to use this information to support legacy clients" line in 
[1] - maybe there might be a clipboard manager out there that grabs 
clipboard contents from "legacy clients" eagerly but avoids pestering 
the clients that indicate their support of the spec. That would mean 
even "legacy client" clipboard contents wouldn't lost when they exit 
...but "legacy client" performance would be degraded.

[1] http://www.freedesktop.org/wiki/ClipboardManager




  reply	other threads:[~2011-05-04  5:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BANLkTin5-Z+OLzBmMUvt_mh8gFd_isp=Fg@mail.gmail.com>
2011-05-02  0:22 ` Strange slowness when killing words interactively 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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4DC0E5FB.5040905@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=emacs-devel@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 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).