From: Eli Zaretskii <eliz@gnu.org>
To: "Braun Gábor" <braungb88@gmail.com>
Cc: 52451@debbugs.gnu.org
Subject: bug#52451: 27.1; jka-compr-write-region produces wrong type argument error
Date: Mon, 13 Dec 2021 15:02:30 +0200 [thread overview]
Message-ID: <83h7bcmzdl.fsf@gnu.org> (raw)
In-Reply-To: <2994285.8uZclO0mQ2@gabor> (message from Braun Gábor on Sun, 12 Dec 2021 19:53:38 +0100)
> 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?
next prev parent reply other threads:[~2021-12-13 13:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-12 14:09 bug#52451: 27.1; jka-compr-write-region produces wrong type argument error Braun Gábor
2021-12-12 14:28 ` Eli Zaretskii
2021-12-12 18:53 ` Braun Gábor
2021-12-13 13:02 ` Eli Zaretskii [this message]
2021-12-14 13:52 ` Lars Ingebrigtsen
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=83h7bcmzdl.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=52451@debbugs.gnu.org \
--cc=braungb88@gmail.com \
/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).