> * Uwe Brauer [2022-02-20 15:01]: > Solution is Z. > 1) Adapt `dired-compress-file-alist' for ZIP files; > example: > (setf (alist-get "\\.zip\\'" dired-compress-file-alist) "zip -9 %o %i") It is a more complicated that I thought, but this is because of the behavior of zip. If I use this setting zip creates a zip archive that contains the file, but the whole absolute path, and that is crazy. (setf (alist-get "\\.zip\\'" dired-compress-file-alist) "zip -9 --junk-paths %o %i") Gives a bit better result, but Starting with test.tex it generates test.tex.zip And that is then uncompressed to test.tex/test.tex So an additional directory is created. I try to search for a complete solution.