0

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 using emacs versions 25 and 27

mmmmmm
  • 491
  • 1
  • 4
  • 19
  • look at varaiables `dired-compress-file-suffixes` and `dired-compress-files-alist` in file `dired-aux.el` then define your own custom suffix `\\.tbz2\\'` – jue Oct 20 '20 at 20:18
  • Emacs 26 (and 28.0.50, so I presume 27 as well) recognized `.tbz2` as a suffix for a bz2-compressed tar archive and does the right thing. That's with `-Q` so it should the case generally. Not sure about 25. – NickD Oct 20 '20 at 20:28
  • @NickD - dired-compress-file-suffixes does not have .tbz2 in so how does it work? – mmmmmm Oct 25 '20 at 15:15

0 Answers0