help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: What is keyboard-local?


From: Stefan Monnier
Subject: Re: What is keyboard-local?
Date: Fri, 15 Feb 2013 09:41:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> 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


reply via email to

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