unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Chinese filenames vs. Zip-Archive mode
@ 2003-05-25 22:55 Dan Jacobson
  2003-06-25 12:59 ` Kenichi Handa
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Jacobson @ 2003-05-25 22:55 UTC (permalink / raw)


I do RET on a .zip file, and I see the index of the zip archive. But
Chinese filenames are shown as "\245\245..." instead of Chinese.

One must do (shell-command-on-region (region-beginning) (region-end)
"cat") to see them in Chinese.
-- 
http://jidanni.org/ Taiwan(04)25854780

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Chinese filenames vs. Zip-Archive mode
  2003-05-25 22:55 Chinese filenames vs. Zip-Archive mode Dan Jacobson
@ 2003-06-25 12:59 ` Kenichi Handa
  2003-06-26  5:30   ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Kenichi Handa @ 2003-06-25 12:59 UTC (permalink / raw)
  Cc: bug-gnu-emacs

I'm very sorry for the late response on this matter.

In article <87adda8wlc.fsf@jidanni.org>, Dan Jacobson <jidanni@dman.ddts.net> writes:

> I do RET on a .zip file, and I see the index of the zip archive. But
> Chinese filenames are shown as "\245\245..." instead of Chinese.

> One must do (shell-command-on-region (region-beginning) (region-end)
> "cat") to see them in Chinese.

Currently Emacs doesn't know how to decode file names in an
archive file.  We need a work very similary to what done in
dired mode for filename handling.  Tar-mode as well.

Considering the tasks of those modes, I think all of them
can be merged into one mode.  All of them must handle files
collected by some way (directory, tar, zip, etc) and each
way allows nesting.  Perhaps merging into the dired-mode is
the best because it is natural to treat an archive file as a
directory, and it seems that dired-mode provides most
powerful features.

Then, the current filename problem can be solved just in one
place.

Is it over-ambitious?

---
Ken'ichi HANDA
handa@m17n.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Chinese filenames vs. Zip-Archive mode
  2003-06-25 12:59 ` Kenichi Handa
@ 2003-06-26  5:30   ` Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2003-06-26  5:30 UTC (permalink / raw)
  Cc: bug-gnu-emacs

    Considering the tasks of those modes, I think all of them
    can be merged into one mode.  All of them must handle files
    collected by some way (directory, tar, zip, etc) and each
    way allows nesting.  Perhaps merging into the dired-mode is
    the best because it is natural to treat an archive file as a
    directory, and it seems that dired-mode provides most
    powerful features.

    Then, the current filename problem can be solved just in one
    place.

    Is it over-ambitious?

In principle it should be possible to combine them.  It may be possible
to use some of the code of Dired, but tend to think it would be
a pain in the neck to use that code unchanged.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-26  5:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-25 22:55 Chinese filenames vs. Zip-Archive mode Dan Jacobson
2003-06-25 12:59 ` Kenichi Handa
2003-06-26  5:30   ` Richard Stallman

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).