unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: What is keyboard-local?
Date: Fri, 15 Feb 2013 09:41:22 -0500	[thread overview]
Message-ID: <jwvd2w13ax5.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.19668.1360674873.855.help-gnu-emacs@gnu.org

> I never heard of such a term "keyboard-local".  I guess "terminal-local"
> or something like that is meant.  Please file a bug report, Xue.

Right.  Actually, there are no real "terminal-local" variables, since
all those are in reality keyboard-local.

Emacs's "terminals" are visible in Elisp (e.g. `frame-terminal' returns
the "terminal" from where a particular frame comes).

OTOH Emacs's "keyboards" are not directly visible.  A "keyboard" belongs
to a particular terminal, but terminals can have several "keyboards",
although in practice 99.99% of the terminals have only 1 keyboard.

IIRC the only cases where you can have several keyboards for a given
terminal, is when you have an X11 server (e.g. "foo:0") with various
"X11 screens" (i.e. you have foo:0.0 and foo:0.1) in which case each X11
screen gets a corresponding Emacs "keyboard", whereas they all share the
same Emacs "terminal".

I'm pretty sure this subtlety is not handled correctly everywhere in
Emacs (IOW we have bugs in there).  We should probably get rid of
this distinction.


        Stefan


  parent reply	other threads:[~2013-02-15 14:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.19491.1360502173.855.help-gnu-emacs@gnu.org>
2013-02-12 13:15 ` What is keyboard-local? Michael Heerdegen
     [not found] ` <mailman.19668.1360674873.855.help-gnu-emacs@gnu.org>
2013-02-15 14:41   ` Stefan Monnier [this message]
2013-02-15 17:27     ` Drew Adams
2013-02-10 13:15 Xue Fuqiao

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=jwvd2w13ax5.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@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.
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).