Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xkeyboard WIP #100

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

xkeyboard WIP #100

wants to merge 2 commits into from

Conversation

dmb2
Copy link
Contributor

@dmb2 dmb2 commented May 23, 2018

This is my code-where-my-mouth is commit demonstrating that I will work on developing xkeyboard. I already talked to @filonenko-mikhail and he gave me permission to port his code to clx, from there I will work on true internationlized input.

Copy link
Member

@dkochmanski dkochmanski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work (especially with defining all these constants and syms), I had a few remarks and questions here and there.

extensions/xkeyboard.lisp Show resolved Hide resolved
(defun xkb-bell (display &key (device +use-core-kbd+)
bell-class
id
percent
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've noticed that in a few places (not all, so this is not consistent) you use tabs. Please detabify sources. You can do that in emacs with M-x whitespace-cleanup in a buffer. If you want to see spaces and tabs visually, there is M-x whitespace-mode.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just indented the files and ran whitespace-cleanup on each file.

extensions/xkb-structs.lisp Show resolved Hide resolved
(defconstant +wrap-into-range+ #x00)
(defconstant +clamp-into-range+ #x40)
(defconstant +redirect-into-range+ #x80)
;; (defconstant +virtual_modifier_15+ #x80)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why these constants are commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure... I've removed them for now.

@dkochmanski
Copy link
Member

this also still misses tests and documentation on how to use the extension

@dkochmanski
Copy link
Member

bump

@dmb2
Copy link
Contributor Author

dmb2 commented Dec 4, 2018

I'm so sorry for not following up. I took a quick stab at this last summer, wrote up a blog post (https://github.com/stumpwm/stumpwm/wiki/International-Input-and-XKeyboard-Development) volunteering to coordinate, and completely forgot about this PR. A lot of the style points you mention in your code review are largely due to the fact that I pulled the initial WIP from mikhail filonenko's copy. I will address these in the next few days.

As you correctly point out, I don't have any supporting documentation or example code because I haven't worked on this for a while, and haven't developed it to the point where I even know how to write example code.

Apologies for presenting a half-baked solution, it may be that we won't merge this now, and instead wait until I have something more mature. Really, I just want something to get the ball rolling so others can pick up and make meaningful contributions instead of re-doing all the research I did into the background of the problem.

@dmb2
Copy link
Contributor Author

dmb2 commented Jan 4, 2019

Hi, there is interest from McCLIM in having a coordinated effort to finishing this extension. Those who contribute will have some claim to the $500 bounty. At this point there are enough authors involved that the $500 will have to be split somehow.

What is the best way for us to coordinate development? I'm happy to lead and coordinate efforts, I'm just not sure what the best way to do it is since I can't accept PRs to my fork of clx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants