From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: X selections and multi tty
Date: Thu, 26 May 2011 23:43:09 -0400 [thread overview]
Message-ID: <87fwo0repe.fsf@stupidchicken.com> (raw)
In-Reply-To: <jwv4o4has7x.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 26 May 2011 21:47:05 -0300")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> I think it only checks to see if it owns the selection *on the same
> "display"*, just via some other "terminal" (since several terminals can
> share the same display).
On second thought, I'm still a bit confused. When you say that two
terminals can share the same display, are you literally referring to
pointers to X display structures? i.e.
t1->display_info.x->display == t2->display_info.x->display
with t1 not the same terminal as t2? I don't think that's possible,
since the (Display *) pointers are received from XOpenDisplay in
x_term_init, and each x_display_info has a one to one correspondences
with a terminal.
By "display", I think you're referring to equivalence under
same_x_server(), but with different (Display *) pointers, right?
If that's the case, making Vselection_alist a terminal parameter is
exactly TRT, since interactions with the X server for selection
operations are all done with (Display *).
next prev parent reply other threads:[~2011-05-27 3:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-26 22:49 X selections and multi tty Chong Yidong
2011-05-27 0:47 ` Stefan Monnier
2011-05-27 2:47 ` Chong Yidong
2011-05-27 3:43 ` Chong Yidong [this message]
2011-05-27 12:33 ` 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=87fwo0repe.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--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.