legoscia / archive-rpm

Browse RPM and CPIO archives in Emacs with archive-mode
GNU General Public License v3.0
4 stars 3 forks source link

Doesn't work with modern emacs #1

Open icarus-sparry opened 3 years ago

icarus-sparry commented 3 years ago

In April 2020 arc-mode.el changed from using vectors of strings to vectors of structs to represent files inside archives. That change breaks this code which generates strings.

Reproduction: ` load this code into recent emacs load an rpm file. Observe type error when archive-summarize-files tries to extract the archive--file-summary-name-start field from a string.

At the moment I am not sure what a good fix would be. Clearly the code can be updated to generate the structs rather than the strings, but I don't currently know how to figure out how to choose the string or the struct.

nbarrientos commented 2 years ago

This bug has now a proposed fix.

nbarrientos commented 2 years ago

This issue has been addressed in the repository MELPA points to now, more info: https://github.com/melpa/melpa/pull/7945