Вопрос

After updating all installed packages via M-x list-packages, U, x, how can I easily do any or all of the following:

  • see a list of the packages (and their repository URLs) that were just updated
  • view the changelog of each updated package since the previously installed version
  • see a diff of the current package elisp code vs. the previous one
Это было полезно?

Решение

Only the first question can be asked easily with existing emacs packages (to my knowledge). I use pallet that uses cask to keep track of packages. Normally I just run M-x pallet-update, but to get a preview of pending updates I cd ~/.emacs.d and run cask outdated.

Pallet code might provide a good starting point to start writing code to answer the other two questions.

An other, more desperate, approach would be to try to parse the text that updating adds to emacs Messages buffer, but is not a good way to do anything.

Другие советы

You can't. The features aren't there. Write a feature request, or something.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top