bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#52451: 27.1; jka-compr-write-region produces wrong type argument err


From: Eli Zaretskii
Subject: bug#52451: 27.1; jka-compr-write-region produces wrong type argument error
Date: Mon, 13 Dec 2021 15:02:30 +0200

> From: Braun Gábor <braungb88@gmail.com>
> Cc: 52451@debbugs.gnu.org
> Date: Sun, 12 Dec 2021 19:53:38 +0100
> 
> > When will write-region invoke jka-commpr-write-region if it is called
> > with the first argument a string?
> 
> OK, here is a recipe.
> 
> $ echo FOO >test
> $ gzip test
> $ emacs -Q --batch -l jka-compr.el --eval '(let ((debug-on-error t)) 
> (find-file 
> "test.gz") (write-region "foo" nil "foo.gz"))'                     

I'm not sure jka-compr is for supporting such use cases.  jka-compr is
a package for transparently visiting and editing compressed files, it
is not supposed to provide methods for writing arbitrary compressed
data to files that didn't exist.

Does anyone else have an opinion about this?





reply via email to

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