Communicating with the X Server
Emacs LISP also supports numerous functions for communicating with the X server. We won’t describe all of them here, but just name a handful of the most important ones to give the flavor of what’s available.
For getting information about your server’s capabilities that may be helpful in display layout, you have x-display-pixel-height, x-display-pixel-width, x-display-mm-height, x-display-mm-width, x-display-planes, x-display-backing-store, and x-display-color-cells, and x-display-color-p. You can also change the sequences of characters sent by keyboard keys with x-rebind-key.
In general, all these X environment functions have the name prefix x-. Therefore, you can see the whole list of them by giving x- as a prefix to the Emacs help system’s apropos function.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access