GNU ELPA - xelb

xelb Atom Feed

X protocol Emacs Lisp Binding
xelb-0.19.tar (.sig), 2024-May-23, 950 KiB
Adrián Medraño Calvo <>, Steven Allen <>, Daniel Mendler <>
Browse ELPA's repository
CGit or Gitweb

To install this package from Emacs, use package-install or list-packages.

Full description

XELB (X protocol Emacs Lisp Binding) is a pure Elisp implementation of X11
protocol based on the XML description files from XCB project.  It features
an object-oriented API and permits a certain degree of concurrency.  It
should enable you to implement some low-level X11 applications.

How it works
As is well known, X11 is a network-transparent protocol.  All its messages,
including requests, replies, events, errors, etc are transported over
network.  Considering that Emacs is powerful enough to do network
communication, it is also possible to use Emacs to send / receive those X11
messages.  Here we fully exploit the asynchronous feature of network
connections in Emacs, making XELB concurrent in a sense.

X11 protocol is somewhat complicated, especially when extension protocols
are also concerned.  Fortunately, XCB project has managed to describe these
protocols as XML files, which are language-neutral and can be used to
generate language-specific bindings.  In XELB, X messages are represented as
'classes', and their 'methodes' are provided to translate them to / from raw
byte arrays conveniently.

Interfaces are mainly defined in 'xcb.el'.  Please refer to that file on how
to use them.  Most of other files are either X11 core / extension protocol
libraries (e.g. xcb-randr.el) or utility libraries (e.g. xcb-keysyms.el).
Please check the corresponding files for more details.

Old versions

xelb-0.18.tar.lz2024-Apr-2495.9 KiB
xelb-0.17.tar.lz2019-Feb-05 104 KiB
xelb-0.16.tar.lz2018-Oct-14 104 KiB
xelb-0.15.tar.lz2018-Jul-18 102 KiB
xelb-0.14.tar.lz2018-Mar-13 101 KiB
xelb-0.13.tar.lz2018-Feb-24 101 KiB
xelb-0.12.tar.lz2016-Nov-1999.5 KiB
xelb-0.11.tar.lz2016-Aug-1499.2 KiB
xelb-0.10.tar.lz2016-Jul-3197.4 KiB
xelb-0.9.tar.lz2016-Jul-2581.2 KiB
xelb-0.8.tar.lz2016-May-2581.1 KiB
xelb-0.7.tar.lz2016-May-2181.0 KiB
xelb-0.6.tar.lz2016-Feb-2479.1 KiB
xelb-0.5.tar.lz2016-Feb-1277.5 KiB
xelb-0.4.tar.lz2015-Nov-0975.8 KiB
xelb-0.3.tar.lz2015-Nov-0175.4 KiB
xelb-0.2.tar.lz2015-Sep-2674.8 KiB
xelb-0.1.tar.lz2015-Sep-2283.6 KiB