Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

show changelog after M-x list-packages

Tags:

emacs

emacs24

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
like image 655
Justin M. Keyes Avatar asked Feb 24 '14 21:02

Justin M. Keyes


Video Answer


1 Answers

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.

like image 134
Heikki Avatar answered Oct 06 '22 03:10

Heikki