unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Christopher M. Miles" <numbchild@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: numbchild@gmail.com, 52480@debbugs.gnu.org
Subject: bug#52480: 28.0.60; Emacs Zip-Archive open inside image file does not display, just empty buffer
Date: Sat, 18 Dec 2021 00:52:40 +0800	[thread overview]
Message-ID: <PAXPR08MB6640BDF2F57FC2120C0F4BFBA3789@PAXPR08MB6640.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <83k0g3e8ye.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1773 bytes --]


Eli Zaretskii <eliz@gnu.org> writes:

>> From: "Christopher M. Miles" <numbchild@gmail.com>
>> Cc: numbchild@gmail.com, 52480@debbugs.gnu.org
>> Date: Fri, 17 Dec 2021 17:19:31 +0800
>> 
>> >    file-name-coding-system
>> >    default-file-name-coding-system
>> >    locale-coding-system
>> 
>> Here is the value of those Emacs options:
>> 
>> #+begin_src emacs-lisp
>> file-name-coding-system
>> #+end_src
>> 
>> #+RESULTS[(2021-12-17 17:19:56) 10eb8c474c73b3145d541054940d934b4a031860]:
>> : utf-8-hfs-unix
>> 
>> #+begin_src emacs-lisp
>> default-file-name-coding-system
>> #+end_src
>> 
>> #+RESULTS[(2021-12-17 17:19:58) 0003ca32242df46cc8fcec24d6071f349111c373]:
>> : utf-8-unix
>> 
>> #+begin_src emacs-lisp
>> locale-coding-system
>> #+end_src
>> 
>> #+RESULTS[(2021-12-17 17:20:00) 5620306d6cabf6121f6ea3aa3f544bd5d0c53a16]:
>> : utf-8-unix
>
> And after you press RET on one of the file names in the ZIP archive,
> do you see any pertinent messages in the *Messages* buffer?

I got following error in *Messages* buffer:

#+begin_example
caution: filename not matched:  \·\¥\°\Ÿ1-3\ -\ \”\º\¾\·\‡\ -\ 1.jpg

(New file)
#+end_example

Aha, really encoding issue, because Emacs minibuffer echo-area only displayed "(New file)", so I
have not noticed this error. My fault. I should check this buffer. Thanks for point it out.

Is there a method to solve this problem? How to know the filename coding? And how to let Emacs auto
decide which coding for filename?

-- 
[ stardiviner ]
       I try to make every word tell the meaning that I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2021-12-17 16:52 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
2021-12-17  9:19                   ` Christopher M. Miles
2021-12-17 12:01                     ` Eli Zaretskii
2021-12-17 16:52                       ` Christopher M. Miles [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=PAXPR08MB6640BDF2F57FC2120C0F4BFBA3789@PAXPR08MB6640.eurprd08.prod.outlook.com \
    --to=numbchild@gmail.com \
    --cc=52480@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).