xelb

Description
X protocol Emacs Lisp Binding
Latest
xelb-0.18.0.20240212.225455.tar (.sig), 2024-Feb-13, 950 KiB
Maintainer
Adrián Medraño Calvo <adrian@medranocalvo.com>, Steven Allen <steven@stebalien.com>, Daniel Mendler <mail@daniel-mendler.de>
Website
https://github.com/emacs-exwm/xelb
Browse ELPA's repository
CGit or Gitweb
Badge

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

Full description

Overview
--------
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.

Usage
-----
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.0.20240131.0.tar.lz2024-Feb-0598.6 KiB
xelb-0.18.0.20240124.64549.tar.lz2024-Jan-2498.6 KiB
xelb-0.18.0.20240122.62832.tar.lz2024-Jan-2298.7 KiB
xelb-0.18.0.20240121.41533.tar.lz2024-Jan-2198.7 KiB
xelb-0.18.0.20240119.100704.tar.lz2024-Jan-1998.7 KiB
xelb-0.18.0.20240118.75942.tar.lz2024-Jan-1898.7 KiB
xelb-0.18.0.20240117.173936.tar.lz2024-Jan-1796.0 KiB
xelb-0.18.0.20240112.140915.tar.lz2024-Jan-1296.1 KiB
xelb-0.18.0.20200719.tar.lz2020-Dec-1496.0 KiB
xelb-0.18.0.20200719.0.tar.lz2021-Jan-2296.0 KiB