以 hexl 模式查看 gzip 存档的内容
我想编写一个类似 hexl-find-file
的函数,它将打开一个 gzip 压缩文件并以 hexl 模式显示内容。我该怎么做呢?
I want to write a function, similar hexl-find-file
, that will open a gzipped file and show the contents in the hexl-mode. How would I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这对你有用吗?
'jka-compr
提供无缝压缩文件处理,'hexl-find-file
只是打开文件并打开hexl-mode
>。Does this work for you?
The
'jka-compr
provides the seamless compressed file handling, and the'hexl-find-file
just opens the file and turns onhexl-mode
.在运行 hexl-find-file 之前打开自动压缩模式?
Turn on auto-compression-mode before you run hexl-find-file?