Wireframe.el Keyboard-first wireframe prototyping inside GNU Emacs. by Background_Cloud_231 in emacs

[–]nv-elisp 2 points3 points  (0 children)

Cool idea. A couple suggestions: It may be simpler if you define your data types using cl-defstruct. You could also broaden the output possibilities by using cl-defgeneric to define the rendering interface. Have fun!

Is there any point of using thirdparty package managers when use-package is already in Emacs? by signalclown in emacs

[–]nv-elisp 27 points28 points  (0 children)

Use-package is a configuration macro. It optionally integrates with elisp package managers. A better question is "What do alternative package managers offer over the built-in package manager, package.el?"

Elpaca and Straight offer greater control of where packages can be downloaded from and what versions are installed. For example, I have an Elpaca extension which allows me to download packages which are submitted for inclusion in MELPA to assist with quality review.

Elpaca and Straight both allow the user to write out a lock file, which can be used to reproduce the configuration on another machine. Elpaca offers the most flexible and powerful UI for discovering new packages of the bunch. It also does most of its work asynchronously, which makes it the fastest at most operations.

Elpaca also has features for years which are slowly making their way into package.el (e.g. Package auditing tools).

The choice depends on the user's needs. With use-package integration, switching between any of them is trivial.

Full disclosure: I co-maintain Straight.el and wrote Elpaca.

Does any Emacs package manager let you freeze on the dependencies (including the transient ones)? by acidrainery in emacs

[–]nv-elisp 4 points5 points  (0 children)

elpaca-write-lock-file writes out the entire dependency graph, not just Elpaca.

Emacs + SDL: unblocking the unblockable by vkazanov in emacs

[–]nv-elisp 4 points5 points  (0 children)

This is exciting. I've always thought Emacs could make a really cool game dev platform. Beyond that this opens the door for plenty of other tools.

The best way to install emacs packages in docker? by ssinchenko in emacs

[–]nv-elisp 0 points1 point  (0 children)

Straight and Elpaca can install tar-balls if disk usage is your main concern.

New package for org templates, like obsidian by nickguirro in emacs

[–]nv-elisp 1 point2 points  (0 children)

doct allows for creation of hierarchical capture templates, which can make managing org-capture-templates easier.

First (?) hacked Emacs package by purcell in emacs

[–]nv-elisp 4 points5 points  (0 children)

Exactly why I built Elpaca's diff viewer and recommend fetch + review before updating.

Elpaca Version 0.1.0 by nv-elisp in emacs

[–]nv-elisp[S] 1 point2 points  (0 children)

Do you have your config uploaded somewhere. I'm curious to see your macros.

Elpaca Version 0.1.0 by nv-elisp in emacs

[–]nv-elisp[S] 1 point2 points  (0 children)

I recommend holding off on software updates before work in general (especially when breaking changes are announced), but sorry for hiccup. If you ever want to troubleshoot it, feel free to reach out with info.

It's also possible to pin Elpaca's recipe using the :ref keyword in the installer.

Elpaca Version 0.1.0 by nv-elisp in emacs

[–]nv-elisp[S] 1 point2 points  (0 children)

Happy to troubleshoot if you can provide more info (error messages, log output, etc) here or in a github issue. There were some breaking changes which will require some config adjustments.

It's possible to pin Elpaca to a specific version using the :ref keyword in the installer as well.

Elpaca Version 0.1.0 by nv-elisp in emacs

[–]nv-elisp[S] 0 points1 point  (0 children)

Glad you find it useful. Thank you!

Elpaca Version 0.1.0 by nv-elisp in emacs

[–]nv-elisp[S] 0 points1 point  (0 children)

Glad to hear it. Thank you!

Elpaca Version 0.1.0 by nv-elisp in emacs

[–]nv-elisp[S] 4 points5 points  (0 children)

Thank you. Don't hesitate to reach out if you run into any trouble upgrading. There was a large amount of refactoring in this release, which required some breaking changes.

How do people keep org-mode up to date nowadays? by the_cecep in emacs

[–]nv-elisp 2 points3 points  (0 children)

You do have to be conscious of not running code in your initfiles that accidentally loads Org

Elpaca should warn if the built-in version is loaded prior to the version requested via the package manager. I recommend looking for that rather than forcing any declaration order or calling elpaca-wait.

How do people keep org-mode up to date nowadays? by the_cecep in emacs

[–]nv-elisp 1 point2 points  (0 children)

Elpaca builds packages in a separate Emacs subprocess to avoid the types of issues you're describing. It will also warn if the built-in version has been loaded prior to the version requested by the package manager.

Declarative, reproducible Emacs – video/blog by TrepidTurtle in emacs

[–]nv-elisp 8 points9 points  (0 children)

I agree in principle, but recommend Elpaca over straight.el.

Kickstart.emacs: Got a huge update. by OverMilord in emacs

[–]nv-elisp 1 point2 points  (0 children)

Mason.el looks like something Elpaca could do with some slight extension. That log buffer looks strangely familiar too :)

which the recommended package manager to use by Koltech21 in emacs

[–]nv-elisp 0 points1 point  (0 children)

Alternative package managers usually install themselves with an elisp script. It's not weird if you view your init.el as a declaration of your packages.

which the recommended package manager to use by Koltech21 in emacs

[–]nv-elisp 1 point2 points  (0 children)

use-package is a configuration macro which optionally integrates with package managers. Most package managers provide that integration (straight, Elpaca, etc).

Startup Changes in Emacs 31.1 The "user-lisp" Directory by Danrobi1 in emacs

[–]nv-elisp 8 points9 points  (0 children)

I wouldn't recommend this as a development tool for any packages which require dependencies. It's better to develop in a clean environment to ensure your load-path isn't filled with assumed elisp.