From: "Jan D." <jan.h.d@swipnet.se>
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: Emacs hanging after M-w and C-k
Date: Tue, 08 Nov 2005 08:05:37 +0100 [thread overview]
Message-ID: <43704E41.6040608@swipnet.se> (raw)
In-Reply-To: <jwvslu840gr.fsf-monnier+emacs@gnu.org>
Stefan Monnier wrote:
>>If it get stuck in XSetSelectionOwner it is not feasible, as this is
>>a synchronous call in X. Can you verify that it is there it is stuck?
>>
>>
>
>Hmm.... OK it turns out that it's a problem due to my own local hacks (see
>the patch below). So in a vanilla Emacs, the way to reproduce a similar
>problem is to do C-y when another app has the selection and is frozen.
>But unless we add a timeout, there is little we can do about it in the case
>of C-y. In the case of the patch below, I'd want to run
>interprogram-paste-function asynchronously, but it's not clear how to do.
>That's too bad: I was planning to submit the patch below for inclusion.
>
>
For C-y there is x-selection-timeout (default seems to be 20000, 20
seconds). Does that not work for you? Actually, it seems to timeout
somewhat later than the actual value, i.e. if I set it to 1000 (1
second) the timeout occurs at about 2 seconds.
Jan D.
>
>
>
next prev parent reply other threads:[~2005-11-08 7:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4368A3F5.8030305@operax.com>
2005-11-04 7:30 ` Emacs hanging after M-w and C-k Jan D.
2005-11-07 21:28 ` Stefan Monnier
2005-11-08 7:05 ` Jan D. [this message]
2005-11-01 15:56 Stefan Monnier
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=43704E41.6040608@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=emacs-devel@gnu.org \
/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.