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

Make vterm option in kubel-exec-pod opt-in #100

Merged
merged 2 commits into from
Sep 9, 2022

Conversation

PuercoPop
Copy link
Contributor

The PR has two commits, the first one is uncontroversial, the interactive spec should be the first form in the function (with the possible exception of the a declare form iiuc), so we need to swap places with the call to (require 'vterm).

The second commit is something that, although I prefer, I can understand if its rejected. I dislike require forms outside of top-level forms, so I extracted the vterm related function to a separate file. I use vterm myself so I've verified the transient has the option available with the steps in the README.md. Although using vterm from kubel hasn't working for me though but that is out of scope for this PR.

lmkwyt

@PuercoPop
Copy link
Contributor Author

Upon further reflection I think that it doesn't make much sense to move it to a separate file, instead I'll move the require to the kubel-vterm-setup function. I'll update the PR.

@abrochard
Copy link
Owner

Thank you for submitting this. I'm not a vterm user and I was scratching my head last week when debugging this. I agree that moving to a separate file isn't required. But I like the other changes!

In kubel-exec-vterm-pod:
kubel.el:939:4: Warning: misplaced interactive spec: ‘(interactive)’
@PuercoPop PuercoPop changed the title Extract vterm to a separate file Make vterm option in kubel-exec-pod opt-in Sep 7, 2022
@PuercoPop
Copy link
Contributor Author

@abrochard I've updated the PR with what I had in mind. Is this aligned with what you had in mind?

Copy link
Owner

@abrochard abrochard left a comment

Choose a reason for hiding this comment

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

Thank you!

@abrochard abrochard merged commit 7237369 into abrochard:master Sep 9, 2022
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