[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PRIMARY selection doesn't work

From: Michael Kifer
Subject: Re: PRIMARY selection doesn't work
Date: Thu, 18 Apr 2002 12:43:48 -0400

>>>>> "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 
    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 
    EZ> through it and see what happens inside x_handle_selection_request and 
    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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]