[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.2.6-24.3); ZIP files corrupted when saved via tramp

From: Michael Albinus
Subject: Re: tramp (2.2.6-24.3); ZIP files corrupted when saved via tramp
Date: Tue, 18 Jun 2013 11:49:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

JuanLeon Lahoz <address@hidden> writes:


> gets corrupted (same happens with jar files, btw, since they
> are
> zipped).
> The funny thing is that when I modify the zip file locally, it works
> fine and emacs does not remind me I need to save the zip file (emacs
> reminds me to do it with the tgz file), but remotely emacs reminds me
> to
> save the zip file. When I do, it is corrupted.
> I am not sure if the problem lies within tramp or in the emacs code
> that
> deals with zip files.

I would say it is due to arc-mode.el. I've checked the code shortly; it
uses `call-process' internally, which is not prepared for remote
files. Replacing all such calls by `process-file' was not reasonable, at
least handling of temporary files must be improved as well.

I recommend to file a bug report towards Emacs, by "M-x report-emacs-bug".

> Thanks!
> juanleon

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]