From: Tassilo Horn <tsdh@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 16737@debbugs.gnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
emacs-devel <emacs-devel@gnu.org>
Subject: Re: Question about wait_reading_process_output
Date: Mon, 15 Jun 2015 10:23:21 +0200 [thread overview]
Message-ID: <87d20xs7ly.fsf@gnu.org> (raw)
In-Reply-To: <jwvr3pdk51f.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 14 Jun 2015 23:47:42 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I've been digging into the code trying to get an idea of why
>> bug#16737 fires. My question is where in wait_reading_process_output
>> does it ensure the various terminal socket reads are run?
This doesn't really address your question but maybe it gives an
indication. Since bug#16737 started occurring to be, I compile emacs
with -DTRACE_SELECTION and then collect the output it delivers. The
below output was gathered when I yanked into emacs where it always took
5 seconds (`x-selection-timeout') until the text I had previously copied
from the browser was inserted. This seems to be another instance of the
bug because actually the correct text has been inserted; it just took
very long.
Bye,
Tassilo
--8<---------------cut here---------------start------------->8---
6019: Sent SelectionNotify: CLIPBOARD, target TARGETS (7511)
6019: x_stop_queuing_selection_requests 1
6019: x_handle_selection_event
6019: x_handle_selection_event
6019: x_start_queuing_selection_requests 1
6019: x_handle_selection_request: selection=CLIPBOARD, target=TARGETS
6019: XInternAtom LENGTH
6019: XInternAtom FILE_NAME
6019: XInternAtom CHARACTER_POSITION
6019: XInternAtom LINE_NUMBER
6019: XInternAtom COLUMN_NUMBER
6019: XInternAtom OWNER_OS
6019: XInternAtom HOST_NAME
6019: XInternAtom USER
6019: XInternAtom CLASS
6019: XInternAtom NAME
6019: XInternAtom SAVE_TARGETS
6019: Sending all 84 bytes
6019: Sent SelectionNotify: CLIPBOARD, target TARGETS (7512)
6019: x_stop_queuing_selection_requests 1
6019: x_handle_selection_event
6019: x_handle_selection_event
6019: x_start_queuing_selection_requests 1
6019: x_handle_selection_request: selection=CLIPBOARD, target=TARGETS
6019: XInternAtom LENGTH
6019: XInternAtom FILE_NAME
6019: XInternAtom CHARACTER_POSITION
6019: XInternAtom LINE_NUMBER
6019: XInternAtom COLUMN_NUMBER
6019: XInternAtom OWNER_OS
6019: XInternAtom HOST_NAME
6019: XInternAtom USER
6019: XInternAtom CLASS
6019: XInternAtom NAME
6019: XInternAtom SAVE_TARGETS
6019: Sending all 84 bytes
6019: Sent SelectionNotify: CLIPBOARD, target TARGETS (7513)
6019: x_stop_queuing_selection_requests 1
6019: x_handle_selection_event
6019: x_start_queuing_selection_requests 1
6019: x_handle_selection_request: selection=CLIPBOARD, target=TARGETS
6019: XInternAtom LENGTH
6019: XInternAtom FILE_NAME
6019: XInternAtom CHARACTER_POSITION
6019: XInternAtom LINE_NUMBER
6019: XInternAtom COLUMN_NUMBER
6019: XInternAtom OWNER_OS
6019: XInternAtom HOST_NAME
6019: XInternAtom USER
6019: XInternAtom CLASS
6019: XInternAtom NAME
6019: XInternAtom SAVE_TARGETS
6019: Sending all 84 bytes
6019: Sent SelectionNotify: CLIPBOARD, target TARGETS (7514)
6019: x_stop_queuing_selection_requests 1
6019: x_handle_selection_event
6019: x_handle_selection_clear
6019: x_handle_selection_event
6019: x_handle_selection_clear
6019: Get selection UTF8_STRING, type _EMACS_TMP_
6019: Start waiting 5 secs for SelectionNotify
6019: Got event = 0
6019: Get selection UTF8_STRING, type _EMACS_TMP_
6019: Start waiting 5 secs for SelectionNotify
6019: Got event = 0
6019: Received SelectionNotify
6019: Get selection STRING, type _EMACS_TMP_
6019: Start waiting 5 secs for SelectionNotify
6019: Got event = 0
6019: Received SelectionNotify
--8<---------------cut here---------------end--------------->8---
next prev parent reply other threads:[~2015-06-15 8:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 9:49 Question about wait_reading_process_output Alex Bennée
2015-06-15 3:47 ` Stefan Monnier
2015-06-15 8:23 ` bug#16737: " Tassilo Horn
2015-06-15 8:23 ` Tassilo Horn [this message]
2015-06-15 14:51 ` Eli Zaretskii
2015-06-15 16:02 ` Alex Bennée
2015-06-15 16:15 ` Alex Bennée
2015-06-15 18:04 ` Eli Zaretskii
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=87d20xs7ly.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=16737@debbugs.gnu.org \
--cc=alex.bennee@linaro.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.