Questions tagged [compression]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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
0answers
62 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 ...
1
vote
0answers
65 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
0answers
73 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
1answer
114 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
2answers
56 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 ...
2
votes
1answer
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 ...