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

Maros WITH-WINDOW now accepts keywords as flags. #80

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

Filipp-Druan
Copy link

Hello!
I didn't like the way the flags were passed to the WITH-WINDOW macro. I decided to tweak it a bit. Now it accepts keywords. Do you think this is a good idea? Do you think it's worth continuing to translate functions that work with flags into keywords?
Sorry, but I don't know where to put the FLAG->CODE and FLAGS ->CODES functions.
Thanks.

Copy link
Collaborator

@shelvick shelvick left a comment

Choose a reason for hiding this comment

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

As it stands this is an API-breaking change, which is unnecessary, IMO. Change it so you can use keywords or the +flag-* constants, and I'll merge.

Also, please export +keyword-flag+ or offer some other way to quickly know what the flag options are. I know they're more verbose but personally I like the ability to type +flag- and let autocomplete give me the list.

Sorry, but I don't know where to put the FLAG->CODE and FLAGS ->CODES functions.

I could see all of your additions going into a new window.lisp file but it's fine for now.

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