Skip to content

Address recommendations from Stefan Monnier and others#142

Draft
okamsn wants to merge 1 commit intoradian-software:mainfrom
okamsn:address-recommendations
Draft

Address recommendations from Stefan Monnier and others#142
okamsn wants to merge 1 commit intoradian-software:mainfrom
okamsn:address-recommendations

Conversation

@okamsn
Copy link
Copy Markdown
Contributor

@okamsn okamsn commented Dec 25, 2022

As discussed in #138.

@okamsn okamsn marked this pull request as draft December 25, 2022 19:54
Copy link
Copy Markdown
Member

@raxod502 raxod502 left a comment

Choose a reason for hiding this comment

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

I'm OK with all these changes. If there's something you'd like me to take a look at to provide historical context or advice, let me know, but as long as the user-facing behavior remains pretty similar to before, it sounds good to me.

@okamsn okamsn force-pushed the address-recommendations branch 2 times, most recently from aab3ae4 to 99a399f Compare July 25, 2023 23:57
These recommendations were made to better support the ELPA method of
fetching and delivering packages (expecting one package per repo)
and of testing builds (not erroring for the optional dependencies of
the now single package).

- Make `require` not signal an error if missing Vertico, Corfu, or
  Company.
- Use `featurep` to detect whether requirements are installed.
- Add ELPA-generated files to `gitignore`.
- Improve declarations and add more.
  - Mark external packages with "ext" in `declare-function`.
- Remove package requirements from the extension files.
- Add `prescient-pkg.el`.
  - Adding the file to the repo (instead of ELPA generating it) seems to
    work better for testing.
  - Remove version information and package requirements from the
    individual extension files.

  These two changes allow the command `package-install-from-buffer` in a
  Dired buffer to work better. No other changes to the files' preambles
  seem needed.
@okamsn okamsn force-pushed the address-recommendations branch from 99a399f to 4e29b4f Compare July 25, 2023 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants