emacs-exwm / xelb Goto Github PK
View Code? Open in Web Editor NEWX protocol Emacs Lisp Binding
Home Page: https://elpa.gnu.org/packages/xelb.html
License: GNU General Public License v3.0
X protocol Emacs Lisp Binding
Home Page: https://elpa.gnu.org/packages/xelb.html
License: GNU General Public License v3.0
Several types define expressions to be evaluated at runtime. E.g.:
Instead, we should just use lambda
expression so the byte-compiler can optimize them. We can likely provide some nice macros if lambdas become unwieldy. E.g., a switch
could be written as:
(defclast ...
(xcb:-struct)
((thing :initform
(xcb:-switch (xcb:-fieldref 'class-id)
((0) pitch duration led-mask led-values global-auto-repeat click percent pad~0 auto-repeats~)
((1)
pad~1 accel-num accel-denom threshold)
((2)
max-symbols num-keysyms keysyms~)
((3)
resolution min-value max-value)
((4)
led-mask* led-values*)
((5)
percent* pad~2 pitch* duration*))))
Where xcb:-switch
would compile the switch down to a lambda returning the correct case to use given some obj
.
I'm pretty sure it's supposed to put any unread messages back in the message cache, but it doesn't.
@Stebalien You had already asked this on the xsettings pr. All protocol classes seem to be defined here, so we should probably do this. What do you think?
The Emacs byte compiler warns about the usage of lsh
. It suggests the function ash
as alternative, which is subtly different. We should check this and use ash
if possible. cc @Stebalien
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.