While researching and verifying my changes to jka-compr to support xz
compression, I came upon some issues:
1. Loading a compressed file marks the buffer as modified.
cp /etc/passwd .
gzip passwd
xemacs -vanilla
(require 'jka-compr)
(toggle-auto-compression)
^X^Fpasswd.gz
Note that the buffer is marked as modified. This is true in current
hg versions of both 21.4 and 21.5.
2. If you now save the "modified" buffer, you end up with a corrupted .gz file.
3. If you quit XEmacs, restore the file from backup and repeat the
steps in #1 above, and then modify the file (insert "abcd" for
instance) and then save the file, the compressed file is saved
correctly.
- Vin
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta