Open piater opened 7 months ago
Steps to reproduce the behaviour
compr.pdf.gz
This results in compr.pdf.gz containing the altered PDF, not compressed despite the .gz extension.
.gz
Writing to a new file with a .gz extension using C-x -C-w likewise results in an uncompressed file.
What is the expected behaviour? compr.pdf.gz is replaced by its altered PDF, transparently gzip-compressed by jka-compr.
jka-compr
Your pdf-tools install Status: Installed in ‘pdf-tools-20230611.239/’ (unsigned). Version: 20230611.239 Commit: c69e7656a4678fe25afbd29f3503dd19ee7f9896
This is perhaps best fixed jointly with #258 by changing the file-saving logic of pdf-tools.
Steps to reproduce the behaviour
compr.pdf.gz
.This results in
compr.pdf.gz
containing the altered PDF, not compressed despite the.gz
extension.Writing to a new file with a
.gz
extension using C-x -C-w likewise results in an uncompressed file.What is the expected behaviour?
compr.pdf.gz
is replaced by its altered PDF, transparently gzip-compressed byjka-compr
.Your pdf-tools install Status: Installed in ‘pdf-tools-20230611.239/’ (unsigned). Version: 20230611.239 Commit: c69e7656a4678fe25afbd29f3503dd19ee7f9896
This is perhaps best fixed jointly with #258 by changing the file-saving logic of pdf-tools.