all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: numbchild@gmail.com
Cc: 52480@debbugs.gnu.org
Subject: bug#52480: 28.0.60; Emacs Zip-Archive open inside image file does not display, just empty buffer
Date: Fri, 17 Dec 2021 10:26:14 +0200	[thread overview]
Message-ID: <83pmpveixl.fsf@gnu.org> (raw)
In-Reply-To: <PAXPR08MB66400DDCD50D2EC7C39C3066A3789@PAXPR08MB6640.eurprd08.prod.outlook.com> (numbchild@gmail.com)

> From: "Christopher M. Miles" <numbchild@gmail.com>
> Cc: numbchild@gmail.com, 52480@debbugs.gnu.org
> Date: Fri, 17 Dec 2021 12:02:27 +0800
> 
> > Anyway, can you describe what you see when you try to open one of
> > those images from within a ZIP file?  You said empty buffer, but
> > that's not how Emacs displays images it cannot draw as images.  So
> > maybe you didn't describe the display in all the detail?
> 
> I recorded a screencast video of this problem. And I uploaded the big video file here:
> 
> https://www.bilibili.com/video/BV12Y411W7VS/

Thanks.  According to this, Emacs says "(New file)" when you type RET
on a file name from the archive.  Which probably means Emacs doesn't
recognize the file-name encoding in the archive, because it works for
me on GNU/Linux.  I'm guessing that this is some issue with encoding
file names (perhaps specific to macOS) according to the locale, and
how we decode file names we see in ZIP archives.  What are the values
of the following variables in your Emacs session?

   file-name-coding-system
   default-file-name-coding-system
   locale-coding-system





  reply	other threads:[~2021-12-17  8:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14 14:24 bug#52480: 28.0.60; Emacs Zip-Archive open inside image file does not display, just empty buffer Christopher M. Miles
2021-12-14 14:34 ` Eli Zaretskii
     [not found]   ` <PAXPR08MB6640DAF9761F14B32171A010A3769@PAXPR08MB6640.eurprd08.prod.outlook.com>
2021-12-15 13:49     ` Eli Zaretskii
2021-12-16  6:03       ` Christopher M. Miles
2021-12-16  8:17         ` Eli Zaretskii
2021-12-16 16:12           ` Christopher M. Miles
2021-12-16 17:03             ` Eli Zaretskii
2021-12-17  4:02               ` Christopher M. Miles
2021-12-17  8:26                 ` Eli Zaretskii [this message]
2021-12-17  9:19                   ` Christopher M. Miles
2021-12-17 12:01                     ` Eli Zaretskii
2021-12-17 16:52                       ` Christopher M. Miles
2021-12-17 19:07                         ` Eli Zaretskii
2021-12-20  5:20                           ` bug#52480: [SOLVED] " Christopher M. Miles
2021-12-20 17:03                             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83pmpveixl.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=52480@debbugs.gnu.org \
    --cc=numbchild@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.