Questions tagged [compression]
The compression tag has no summary.
13 questions
0 votes
0 answers
38 views
How can I debug auto-compression inside EasyPG not working?
https://www.masteringemacs.org/article/keeping-secrets-in-emacs-gnupg-auth-sources says: And, of course, you can nest the file extensions: open a .py.gpg file and it is first decrypted and then the ...
1 vote
1 answer
146 views
Dired: Changing compression algorithm
In dired, if I press Z on a file it compresses it using gzip. Is there a value I can change/key I can press so that it uses a different compression algorithm? Such as lzma for instance?
1 vote
1 answer
91 views
Can `dired-do-compress` unzip to a different directory by default?
If I try to unzip a file, it will put the unzipped file in the same directory as the zip file. Is there any way to make it uncompress to a particular directory all the time?
0 votes
1 answer
148 views
dired, zip as a directory
With archivemount, one can mount a zip file. Is there any way to treat a zip file just like a directory in dired? The we wouldn't have to unzip the archive, which takes time and you probably need to ...
4 votes
1 answer
120 views
Automatically uncompress Zstd archives
Emacs has this very nice functionality that it automatically decompresses ".gz" / ".tar.gz" archives upon opening them (e.g. C-x f logs.gz). I'd like to extend this functionality ...
0 votes
0 answers
245 views
Show progress bar for long operation?
Linux Mint 20.2 Emacs 27.2 When I do some long operation not show progress bar. Is it possible to show progress bar in this situation? Examples of long operations: Copy many files Copy big files ...
0 votes
0 answers
40 views
How can I make dired display .tbz2 files
When using dired and I see a .tar.xz file I can visit this file in other window (<mouse-1>) and the file is a browsable tar archive. How do I get .tbz2 files to behave in the same way? I am ...
1 vote
0 answers
176 views
How can I edit files within encrypted zip files?
Currently I can use emacs to edit text files within zip files no problem. I simply get a directory listing from which I can choose the document that I want to edit. Is there anyway to edit text files ...
3 votes
0 answers
295 views
Native data compression in emacs?
Is it possible to compress data (an Elisp string for example) using Emacs (without calling 3rd-party commands)? I noticed Emacs uses zlib, but I only found zlib-decompress-region.
1 vote
0 answers
182 views
Can emacs emulate zgrep -a in zrgrep?
Currently I can grep (in command line) the gzip files I receive using the command zgrep -a something logs.tar.gz it outputs every line inside the logs.tar.gz but without the file where it was found, ...
1 vote
1 answer
218 views
Generate/use etags for compressed (.el.gz) libraries?
I wanted to generate a tags table for the lisp libraries that my Emacs came with, located in /path/to/emacs/25.1/lisp/ There's a mix of compressed and uncompressed files in that directory, so I ran ...
1 vote
2 answers
72 views
`url-inhibit-uncompression` is ineffective; emulating curl with url.el
Consider the following: (let ((url-inhibit-uncompression t)) (switch-to-buffer (url-retrieve-synchronously "http://api.stackexchange.com/2.2/filter/create"))) I would expect to get something ...
2 votes
1 answer
1k views
How can I determine if a file is compressed from Elisp?
I know that I can use the file command to determine this, but I'd like a cross-platform solution using elisp only (or as few subprocesses as possible). I have the compressed data in a variable called ...