From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52451: 27.1; jka-compr-write-region produces wrong type argument error Date: Mon, 13 Dec 2021 15:02:30 +0200 Message-ID: <83h7bcmzdl.fsf@gnu.org> References: <3230961.nYHENnkMsn@gabor> <83ilvtoq2u.fsf@gnu.org> <2994285.8uZclO0mQ2@gabor> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6587"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52451@debbugs.gnu.org To: Braun =?UTF-8?Q?G=C3=A1bor?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 13 14:03:32 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwkzL-0001WN-3O for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Dec 2021 14:03:31 +0100 Original-Received: from localhost ([::1]:37340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwkzJ-0000dl-KB for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Dec 2021 08:03:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwkys-0000cC-4p for bug-gnu-emacs@gnu.org; Mon, 13 Dec 2021 08:03:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwkyr-0003BB-Ss for bug-gnu-emacs@gnu.org; Mon, 13 Dec 2021 08:03:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mwkyr-000183-QB for bug-gnu-emacs@gnu.org; Mon, 13 Dec 2021 08:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Dec 2021 13:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52451 X-GNU-PR-Package: emacs Original-Received: via spool by 52451-submit@debbugs.gnu.org id=B52451.16394005684321 (code B ref 52451); Mon, 13 Dec 2021 13:03:01 +0000 Original-Received: (at 52451) by debbugs.gnu.org; 13 Dec 2021 13:02:48 +0000 Original-Received: from localhost ([127.0.0.1]:54383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwkye-00017c-KK for submit@debbugs.gnu.org; Mon, 13 Dec 2021 08:02:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwkya-00017L-5B for 52451@debbugs.gnu.org; Mon, 13 Dec 2021 08:02:47 -0500 Original-Received: from [2001:470:142:3::e] (port=58084 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwkyU-000313-UG; Mon, 13 Dec 2021 08:02:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=m8/o61XKrKOma74tjaMscy+/2WSHP+kkr9qUnp4h+/g=; b=PYIjJlyGFIHJd/C9TAr1 kySpq8A/KIgiQ3r9hNZwkotDcykGS+9FGHR/4Bix3yKiUu14/xC63wI2NtdLxPeEH6KIjO1FUjNDh k2mW3LtaYZqM+XK2KLKVd7H85wUK3hKTXtN1m53k6OHQGQtgtsdzeDceGM4YL4RrXXNt9UZjpAZj0 m4jdW/508z5pk6hfZwB6TfJW5Uzy0Rcr32yUitBibzG47lKxArVea3WktpFk0IajGByiY1evN/3iT mMuBQG4Wy+ncBAo7KnMmZfsBVVdwbob3531lcTEtyeTsrm8fOPIB5O9U8Tx8X5HhekeaKXgDxW3TD whruAoYbG8dDSA==; Original-Received: from [87.69.77.57] (port=2888 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwkyQ-0002lF-Ne; Mon, 13 Dec 2021 08:02:38 -0500 In-Reply-To: <2994285.8uZclO0mQ2@gabor> (message from Braun =?UTF-8?Q?G=C3=A1bor?= on Sun, 12 Dec 2021 19:53:38 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:222307 Archived-At: > From: Braun Gábor > 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?