这是参照 chatgpt 给出的答案修改的
(add-to-list 'auto-mode-alist '("\\.jmod\\'" . archive-mode))
(add-to-list 'jka-compr-compression-info-list
["\\.jmod\\'"
nil
nil
nil
nil
"unzip"
("-q" "-c")
nil
nil
"JM"
])
报错是
File mode specification error: (error Buffer format not recognized)