8000 Fixe `age-default-recipient` type to allow for multiple file names by meliache · Pull Request #9 · anticomputer/age.el · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixe age-default-recipient type to allow for multiple file names #9

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

Closed

Conversation

meliache
Copy link

Previously I got warnings when using the new setopt macro in Emacs to set e.g.

(setopt age-default-recipient
   '("~/.ssh/age_yubikey.pub"
     "~/.ssh/age_recovery.pub"))

because the value is not a filename, even though that's what the old type expected. Therefore I added a repeat file as an optional additional allowed type via choice.

Previously I got warnings when using the new `setopt` macro in Emacs to set e.g.

```
(setopt age-default-recipient
   '("~/.ssh/age_yubikey.pub"
     "~/.ssh/age_recovery.pub"))
```
because the value is not a filename, even though that's what the old type
expected. Therefore I added a `repeat file` as an optional additional allowed
type via `choice`.
anticomputer added a commit that referenced this pull request Apr 10, 2024
Set composite types for customizable variables that require it.
anticomputer added a commit that referenced this pull request Apr 10, 2024
anticomputer added a commit that referenced this pull request Apr 10, 2024
@anticomputer
Copy link
Owner

Addressed more comprehensively in https://github.com/anticomputer/age.el/releases/tag/v0.1.5

The PR is appreciated but just as a note you'll generally want to make sure you only file a PR for the changes you're actually targeting and not a bunch of indentation changes as well :)

Thanks!

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
0