all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kifer@cs.sunysb.edu (Michael Kifer)
Cc: emacs-devel@gnu.org
Subject: Re: PRIMARY selection doesn't work
Date: Sat, 20 Apr 2002 13:49:27 -0400	[thread overview]
Message-ID: <200204201749.NAA01838@sbcs.cs.sunysb.edu> (raw)
In-Reply-To: "Eli Zaretskii" of Sat, 20 Apr 2002 09:27:24 EDT <E16yutg-0006PC-00@fencepost.gnu.org>


>>>>> "EZ" == Eli Zaretskii <of Sat, 20 Apr 2002 09:27:24 EDT> writes:

    >> From: kifer@cs.sunysb.edu (Michael Kifer)
    >> Date: Thu, 18 Apr 2002 12:43:48 -0400
    >> 
    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.

    EZ> Weird...

    EZ> Do you see any change in behavior if you change the value of
    EZ> selection-coding-system?  For example, what happens if you type
    EZ> "C-x RET x latin-1 RET" and then mark a region of pure ASCII
    EZ> characters and type "M-w"--can you paste that text into other
    EZ> applications?  Please also try with "C-x RET x compound-text RET".

Absolutely -- it starts working!
Both latin-1 and compound-text work.

But the default selection-coding-system  is compound-text-with-extensions
and this doesn't work.

thanks
mk

  reply	other threads:[~2002-04-20 17:49 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
2002-04-20 13:27         ` Eli Zaretskii
2002-04-20 17:49           ` Michael Kifer [this message]
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

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

  git send-email \
    --in-reply-to=200204201749.NAA01838@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 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.