Sven Joachim <[EMAIL PROTECTED]> wrote:

> When I switched from my formerly preferred iso-latin-1 language environment
> to a utf-8 one, deb-view-dired-view suddenly stopped working.  Now the
> *.deb-DATA buffer is always empty on both emacs21 and emacs-snapshot.  The
> following log is left in the *Messages* buffer in emacs-snapshot:
> 
> deb-view processing deb file debian-el_26.4-1_all.deb...
> Parsing tar file...done
> deb-view processing deb file debian-el_26.4-1_all.deb...
> Parsing tar file...
> Warning: premature EOF parsing tar file

As you can see above, deb-view is simply a superset of tar-mode.  That
is where the problem is occurring.  I might be able to patch around it,
but it is more than likely an Emacs bug.

> File mode specification error: (end-of-buffer)
> 
> If debug-on-error is enabled, that changes to
> 
> deb-view processing deb file debian-el_26.4-1_all.deb...
> Parsing tar file...done
> deb-view processing deb file debian-el_26.4-1_all.deb...
> Parsing tar file...
> Warning: premature EOF parsing tar file
> tar-mode: End of buffer
> 
> The debugger is not invoked, though. :-( Widening the *.deb-DATA buffer
> with "C-x n w" shows the message
> 
> gzip: stdin: not in gzip format
> 
> there.  To reproduce this, start emacs -q, type
> 
> M-x prefer-coding-system <RET> utf-8 <RET>
> 
> and load some *.deb file in dired.

I see that you are using:

> ii  emacs-snapshot [emac 1:20051215-1        The GNU Emacs editor
> ii  emacs21 [emacsen]    21.4a-3             The GNU Emacs editor


Which one is falling?  Both?

I tested the above on stable (emacs21 21.4a-1) and it worked.  I'll try
at home on  unstable.

Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to