From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: X selections and multi tty
Date: Thu, 26 May 2011 21:47:05 -0300 [thread overview]
Message-ID: <jwv4o4has7x.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87hb8h2i3b.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 26 May 2011 18:49:12 -0400")
> /* Check each display on the same terminal,
> to see if this Emacs job now owns the selection
> through that display. */
[...]
> This contradicts what I thought: it assumes that if Emacs owns the
> selection on a different display, it doesn't need to relinquish
> ownership of the selection.
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).
This distinction between terminals and displays is pretty subtle and I'm
sure we have bugs around it in the keyboard code. So-called
terminal-local variables are actually keyboard-local (aka
"display"-local), but terminal-parameter is really per-terminal rather
than per-keyboard. And we have somewhat explicit visibility of
terminals but OTOH keyboards are hidden pretty deep from Elisp.
Stefan
next prev parent reply other threads:[~2011-05-27 0:47 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 [this message]
2011-05-27 2:47 ` Chong Yidong
2011-05-27 3:43 ` Chong Yidong
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=jwv4o4has7x.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=cyd@stupidchicken.com \
--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.