Subject: bug#60896: dired-view-file vs. .7z

From: Eli Zaretskii <[email-masked]>
Date: Wed, 25 Jan 2023 15:23:41 +0200

> From: Ruijie Yu <[email-masked]>
> Cc: Dan Jacobson <[email-masked]>, [email-masked]
> Date: Wed, 25 Jan 2023 21:13:15 +0800
> 
> >> gzip: stdin: not in gzip format
> >
> > That gzip error message comes from the gzip program, not from Emacs.
> > What does 7z say in a similar case?  That's what dired-view-file
> > should show.
> 
> See the attachments for example outputs.  #1 is a malformed 7z archive
> (in my case just an empty file created by `touch`), and #2 contains an
> actual 7z archive created by `7z a 2.7z memsize.c`.

Thanks, but I'm not sure I follow.  My point is that dired-view-file
should show what the archiver program says, no more, no less.  If
that's what happens, then we are good.