From: kifer@cs.sunysb.edu (Michael Kifer)
Cc: emacs-devel@gnu.org
Subject: Re: PRIMARY selection doesn't work
Date: Thu, 18 Apr 2002 12:43:48 -0400 [thread overview]
Message-ID: <200204181643.MAA27361@sbcs.cs.sunysb.edu> (raw)
In-Reply-To: "Eli Zaretskii" of Thu, 18 Apr 2002 09:48:43 +0300 <Pine.SUN.3.91.1020418093136.3438A-100000@is>
>>>>> "EZ" == Eli Zaretskii <of Thu, 18 Apr 2002 09:48:43 +0300> writes:
EZ> On Fri, 12 Apr 2002, Michael Kifer wrote:
>> > Please tell what happens when you try both calling
>> > x-get-selection-internal and pasting into xterm. Do you get garbage
>> > or nothing at all?
>>
>> Nothing gets pasted.
>>
>> > Also, can you recall when was the previous time you resynced with the
>> > CVS? (I'm trying to figure out what changes could have caused this.)
>>
>> I think about 2-3 weeks ago.
EZ> I cannot spot any change in the logs that could affect this. I'm
EZ> probably missing something. Unfortunately, I also don't have access to a
EZ> system with both X and the CVS version of Emacs.
EZ> Does this still happen with the current CVS? If it does, could you
EZ> please see what does (x-selection-exists-p 'PRIMARY) return?
Yes, it does. (x-selection-exists-p 'PRIMARY) returns t and
(x-get-selection-internal 'PRIMARY 'STRING)
returns the text of the primary selection.
However, nothing gets pasted.
EZ> Also, does
EZ> x_handle_selection_request (defined on xselect.c) get called when you
EZ> paste into another X application, and if so, could you step with a debugger
EZ> through it and see what happens inside x_handle_selection_request and its
EZ> subroutines that prevents pasting from working?
The above function gets called, but unfortunately I am not familiar with
this code and with the internals of X.
When I step through this function I occasionally get a coredump in random
places or it hangs in
2616 c = kbd_buffer_get_event (&kb, used_mouse_menu);
in keyboard.c
Otherwise -- nothing suspicious :-)
If I just let it continue without stepping then it doesn't hang or
coredump, but doesn't paste either.
mk
next prev parent reply other threads:[~2002-04-18 16:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-12 3:17 PRIMARY selection doesn't work Michael Kifer
2002-04-12 8:55 ` Eli Zaretskii
2002-04-12 16:32 ` Michael Kifer
2002-04-18 6:48 ` Eli Zaretskii
2002-04-18 16:43 ` Michael Kifer [this message]
2002-04-20 13:27 ` Eli Zaretskii
2002-04-20 17:49 ` Michael Kifer
2002-04-20 18:10 ` Eli Zaretskii
2002-05-04 7:31 ` Eli Zaretskii
[not found] <200204201813.OAA02541@sbcs.cs.sunysb.edu>
2002-04-20 20:06 ` 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
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=200204181643.MAA27361@sbcs.cs.sunysb.edu \
--to=kifer@cs.sunysb.edu \
--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 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).