GNU bug report logs - #75515
30.0.92; doc-view: Saving an epub raises error in doc-view--revert-buffer

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>; merged with #76478; dated Sun, 12 Jan 2025 14:33:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 75515 76478. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 75515 <at> debbugs.gnu.org:


Received: (at 75515) by debbugs.gnu.org; 2 Mar 2025 07:30:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 02 02:30:29 2025
Received: from localhost ([127.0.0.1]:52093 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1todmO-0000Jm-Rs
	for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 02:30:29 -0500
Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:60688)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1todmH-0000H5-64
 for 75515 <at> debbugs.gnu.org; Sun, 02 Mar 2025 02:30:23 -0500
Received: by mail-ed1-x534.google.com with SMTP id
 4fb4d7f45d1cf-5e4d3f92250so4144929a12.1
 for <75515 <at> debbugs.gnu.org>; Sat, 01 Mar 2025 23:30:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740900615; x=1741505415; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=YHMrmJPGxwYeRF1oV0vATCYiH7QhUfjephz553U66b8=;
 b=Z7O/HAoDiJY4QY8jJxDuOVBtAE6ribNmYdae35CJwFG3bhcRmk+5/YwuN7SWoGVos6
 znTO4Yzst89KeX3TZE/UtxOPfDOsP14eH1nwFTWUoYAe88phPO83iLcy2Y71y0R1PjEv
 yHx3YeIFAdR0R0yB/necYOgjxYUzeeQDpomYfOKlS3skG2QFrXM+pVKhbR1BV3Zm5Xyu
 ZM5R3ifI/8ze8ZRA35YrWA0VM6i5va508nXH2IM69CNdw1tODqBoTTTzU4e+hKl14ykg
 PdflhD21fnBkAt7Ain5+tXBdEsbRymkT02+M8BW6ep+LuPy4Tw8BsR4I/etebjcYVmxm
 l3dQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740900615; x=1741505415;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=YHMrmJPGxwYeRF1oV0vATCYiH7QhUfjephz553U66b8=;
 b=m+tLhud0ETjUFtA0UCj5sHKodj31U5noUJnpbbLu1kb+QedHhdcza+sVfA1lowZrwQ
 NAWNowwZj/iIs1PadNfYYJcPHWPo5sN6RZBk6eOP9z+uwuupgzRLB94wwld+gIg1lGn/
 cov912aHoZlqC5XOaLmaVKnvoVnUjdW3NP0NqPQT9svrW0pvazb0qrjiOThZuesFYwkw
 dxV3atjO0WdGJk0sI8/vSUugpm1ckfNwwLYHaVp8/XCyXy+54PcVwmByMrd2g5SfiuOD
 lrhH19sr+9a+pNvlbSOXxE8QPveEKHxiRQYi1wxUPegKtcvWlW6Ho+rSrORT+N1H8fp3
 sajQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCWzjsizm5PZPCxip9hWHVRlvt2V5yXacdyrzMWQX55ENLJwb4M51L34rWQZXJyHgZDydUdKEQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YxfnHkzCP/4iVRYfFzHff5puelyzaNxzsCZGVbCnvuBfEt5P7Vr
 OBbX3rPh+8JrJMpjsK6drtkXq3ubXyH/DTSPCRYBC3WBoJuLUEUm8jtbq8XvDQWUmmMT0RlIHw6
 NtNWnv6QOWJgkhU0DTzgOwLDL8XU=
X-Gm-Gg: ASbGncsX8F7c8lJcxO2hX/O8giZgJgyx8biJ58m3IFG4N4koc/h696LwT1SZRj/DbwC
 9fxasxXCO7tX7IS++ZpxIj8v7tUswr5ApL1qKFzKbkI/OuESCEKEJlFR2p40MRVLpq0fqudiQc6
 VdDkbp01baFqgOALuAPqrV+NPmxC4=
X-Google-Smtp-Source: AGHT+IFdSRVMC7/46S7TfuFqNVXjXVrpCPHuPWswNOyKmiJJoQl1KuPb22vVcf5GOF6kMbKkm+JDRoB4tyLJuUs1TfI=
X-Received: by 2002:a05:6402:42c2:b0:5de:dd31:1fad with SMTP id
 4fb4d7f45d1cf-5e4d6ad45e8mr10307265a12.6.1740900614852; Sat, 01 Mar 2025
 23:30:14 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 1 Mar 2025 23:30:14 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87zfi47xqo.fsf@HIDDEN>
References: <87o70cjeam.fsf@HIDDEN>
 <CADwFkmnLQbDNLVES=OD-YsGR-4RLMCsgvCGa+iOcCJ9tRA7srQ@HIDDEN>
 <87zfi47xqo.fsf@HIDDEN>
MIME-Version: 1.0
Date: Sat, 1 Mar 2025 23:30:14 -0800
X-Gm-Features: AQ5f1JpVijnx9k7ZTrPbTGRuuzZpSgoADaDIJMecvbz-U3SceHnKgMyQt60KXb0
Message-ID: <CADwFkmnvggCZ1CkZY+i-F-Fy2=+4WshQvf8zqbJyC6T0ebpO1w@HIDDEN>
Subject: Re: bug#75515: 30.0.92;
 doc-view: Saving an epub raises error in doc-view--revert-buffer
To: Tassilo Horn <tsdh@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75515
Cc: 75515 <at> debbugs.gnu.org,
 Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

forcemerge 76478 75515
thanks

Tassilo Horn <tsdh@HIDDEN> writes:

> merge 75515 76478
>
> Stefan Kangas <stefankangas@HIDDEN> writes:
>
>> Benjamin Riefenstahl <b.riefenstahl@HIDDEN> writes:
>>
>>> I was editing an epub file.  When I save, I get an error from
>>> doc-view--revert-buffer.  I have reproduced the problem with "emacs -Q".
>>
>> Tassilo, any comments here?
>
> Yes, that should already fixed by 34362a2a1cc for bug#76478 which is
> essentially the same just with OpenDocument docs which are archives,
> too.

OK, thanks.

> I hope I've merged these two reports with this message.

I think a forcemerge was needed, so I did that above.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75515; Package emacs. Full text available.

Message received at 75515 <at> debbugs.gnu.org:


Received: (at 75515) by debbugs.gnu.org; 2 Mar 2025 06:28:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 02 01:28:15 2025
Received: from localhost ([127.0.0.1]:51441 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tocoA-0002Ru-Jq
	for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 01:28:15 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:39864)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <tsdh@HIDDEN>) id 1toco8-0002R9-3t
 for 75515 <at> debbugs.gnu.org; Sun, 02 Mar 2025 01:28:12 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tsdh@HIDDEN>)
 id 1toco2-0000FX-Io; Sun, 02 Mar 2025 01:28:06 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=ol2+Y4oQMwY5jZX5yLTCCfnnuHWS2r6o2N2gLnGQ1Ko=; b=JVUHSbttimH41mYh/ZFb
 WuBO8Q7yKiww9lzXQBFxe9xRHgETXWBsaovlGPRxFwMRA4YiOTHjEqgg66tv5yok3PLnrzVuOgrdU
 YBgD1NzIvXD+vOE4POWeWTyvnMj4ARsrH4M7uNoAWLqYx7jMaJh5iS2VLzti4lxhkxDkk9EH79nJT
 7gjgbDCOz2A6dk+LkqOLbqwSODzNTsq475kuhmS2Ja3nucMx02g8vpZHEiTYIkJ/2xyEPO6w1o63y
 FEVg02V7sYOYnk8+jgCp1DuMgJHTCd7j5HP4MU7EkIHfs0IFfTb4twuydJQ9DnbcPeALjRcGujfn9
 Esf4dCgoVns8QA==;
X-ME-Sender: <xms:cvrDZ2x2J4KttUQBWT2kiL9ikIbnaOAMjO0ePxOqeoJfXpxtg414Vg>
 <xme:cvrDZySQuPrI3f-ez1tgbAbBLoeD4wRuH_lV-clUc2lA94IVUws9kDXxHrPl8wDJ7
 noMPtuDGvZ7MQ>
X-ME-Received: <xmr:cvrDZ4UPpqL4Mvj5883_TdfBIeBAWv6VUD8-mkYUwkNROh3UH4diPF6cdlKieX-8fCp051LWHFmUra5Q8BixQxg4UeMO83x0>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdelheeglecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhgffffkgggtsehttdertddtredt
 necuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqne
 cuggftrfgrthhtvghrnhepleduvdegfeduvdejkeefteelgeetgfevhefhueffueffgeeh
 gfeufefgvdffgedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh
 hfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeei
 jeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrih
 hlrdhfmhdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthht
 ohepjeehheduheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegsrdhrih
 gvfhgvnhhsthgrhhhlsehtuhhrthhlvgdqthhrrgguihhnghdrnhgvthdprhgtphhtthho
 pehsthgvfhgrnhhkrghnghgrshesghhmrghilhdrtghomh
X-ME-Proxy: <xmx:cvrDZ8iFJVxCePXJKOI2PD3mIVdNMypmZgqd6vXn_2kQoWNik0n7SA>
 <xmx:cvrDZ4Bqz_Ke_uDogrLnkIOi7IHRPUGg61GuUarExK2z6LhWX_CNfQ>
 <xmx:cvrDZ9L05Wry9SPBOEFL4Wu2pDWE3Mpj1sPsbsanz_tTcnTZETFw3w>
 <xmx:cvrDZ_B6E166qrgC4drhiUD0fiH-J4Sa-4RCATeIIyVAWnOnvCQfmw>
 <xmx:cvrDZwzFrwx4sWmPB91YzeqJCw8FlacTUCq06Mttt1t3vApYCSSalkc6>
Feedback-ID: ib2b94485:Fastmail
From: Tassilo Horn <tsdh@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#75515: 30.0.92; doc-view: Saving an epub raises error in
 doc-view--revert-buffer
In-Reply-To: <CADwFkmnLQbDNLVES=OD-YsGR-4RLMCsgvCGa+iOcCJ9tRA7srQ@HIDDEN>
References: <87o70cjeam.fsf@HIDDEN>
 <CADwFkmnLQbDNLVES=OD-YsGR-4RLMCsgvCGa+iOcCJ9tRA7srQ@HIDDEN>
User-Agent: mu4e 1.12.9; emacs 31.0.50
Date: Sun, 02 Mar 2025 07:27:59 +0100
Message-ID: <87zfi47xqo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75515
Cc: 75515 <at> debbugs.gnu.org,
 Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

merge 75515 76478

Stefan Kangas <stefankangas@HIDDEN> writes:

> Benjamin Riefenstahl <b.riefenstahl@HIDDEN> writes:
>
>> I was editing an epub file.  When I save, I get an error from
>> doc-view--revert-buffer.  I have reproduced the problem with "emacs -Q".
>
> Tassilo, any comments here?

Yes, that should already fixed by 34362a2a1cc for bug#76478 which is
essentially the same just with OpenDocument docs which are archives,
too.

I hope I've merged these two reports with this message.

Bye,
Tassilo




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75515; Package emacs. Full text available.

Message received at 75515 <at> debbugs.gnu.org:


Received: (at 75515) by debbugs.gnu.org; 2 Mar 2025 04:07:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 01 23:07:07 2025
Received: from localhost ([127.0.0.1]:49541 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1toabZ-00047c-MS
	for submit <at> debbugs.gnu.org; Sat, 01 Mar 2025 23:07:06 -0500
Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:56613)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1toabW-00046M-TF
 for 75515 <at> debbugs.gnu.org; Sat, 01 Mar 2025 23:07:04 -0500
Received: by mail-ed1-x52c.google.com with SMTP id
 4fb4d7f45d1cf-5e50d491f69so1386182a12.1
 for <75515 <at> debbugs.gnu.org>; Sat, 01 Mar 2025 20:07:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740888417; x=1741493217; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=VywxdK40BUluz07MOi90AqsYqUfB/Aoa2YMOUi/mCDk=;
 b=NTmzOOfXxuwG7zJCcyMDFswHr4MblEME3y2AMLE6+FU+ZjY9KtvKUXc/NPViBA3SXK
 Kij051riKtiCoDvcCdAxzo8qngW5ghiE02OJpR1wu+7MpucX+sAQfkW6Y17Vl569uo8p
 ec6Xv7n0tVZqUdv4IuUlcPPzMpvuqENitUcl6bNLob/S2mkFEDD+PAYcMZnNIejWnISM
 qEE8oPqLdvcNTkKBSBduMAC29yggTT1EOb6EzDCm9PVIjfbVUgUZSYcauvy/iuKQbBj5
 6HGMSopLQgS3mWEn51VEbBrjK8svpJmorphJqyssnPaY41pyAnzimIel3tvxAjqzhjcM
 AS0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740888417; x=1741493217;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=VywxdK40BUluz07MOi90AqsYqUfB/Aoa2YMOUi/mCDk=;
 b=KLZaUJqOCjrnLnd/f/O3o6iw2m+9m6SvU1C9x/lXhSZ0wFToTSa4wnMjYVZavEdF9s
 jJVL+ZCATJkqH0JpY/yWn75sTHQoqZMCN2QLX/GZbCMQnBnqPBjb5FBGTu7j8no2Zy0l
 Ll0XyEMQQWIcLxa1oq0M9kGiK+rwj75EtbKNTh5w4smGwUwNKlHTDHFuxrU8mA3kLc/R
 K5wudaqloU1L0y9EPFl4w06hR3bQ73XRwpHws/VYTImGpowksd7lTA0jYOrfockYTaMS
 BLjjYnvrIb7q+95TsOirn4cEWYP00NlWmGxV1oBtZX46RuV7EGcD3KWtZ4N5FebY0QVc
 D/6Q==
X-Gm-Message-State: AOJu0Yzajagr+/RdiwMvkRmfvo+kBNLFFChGj1KUbppSC9BhXlq0EWyT
 aSwK336KDYotQj1WHzZvdrQ/JM1pDeO0/gw69rvNg0e23rxaTqWdLA7k5XCs5QI19Y+Cg++Nzbp
 AizBWgHz/iswCmUq4jwB1SecrSK3iEIbY1Rw=
X-Gm-Gg: ASbGncvhHCkxDc1sPMGdFEqhhqvhUwRy6p+SyzVDhxu0WtzZ/va4saM7ypg1e8v83E5
 VwpHpr6Hl2H/SMcNyl2gG8H+t8bBjnH29gq1LLWbWc546hvSeLK9h5IZBV9FmDMfU9mX28eO3X6
 YbjCsBmF7jAyVbAJHPdXxrf6y8bg==
X-Google-Smtp-Source: AGHT+IE/XzRF8NbkH5AEj7K/Wpi3V6+ISSjG77Z54ulqSbQjr2DA5/kyHBY44IWTEmf/CFMo3sal/rh3N9GhwsaUtIg=
X-Received: by 2002:a05:6402:234e:b0:5dc:c9ce:b029 with SMTP id
 4fb4d7f45d1cf-5e4d6acd607mr11527467a12.5.1740888416701; Sat, 01 Mar 2025
 20:06:56 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sun, 2 Mar 2025 04:06:56 +0000
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87o70cjeam.fsf@HIDDEN>
References: <87o70cjeam.fsf@HIDDEN>
MIME-Version: 1.0
Date: Sun, 2 Mar 2025 04:06:56 +0000
X-Gm-Features: AQ5f1JpOx1BmOBUZLVq8t-42y3p5MoxUHsxfr4hJcWPEbK3MjGrnZ5J98tkLOM0
Message-ID: <CADwFkmnLQbDNLVES=OD-YsGR-4RLMCsgvCGa+iOcCJ9tRA7srQ@HIDDEN>
Subject: Re: bug#75515: 30.0.92;
 doc-view: Saving an epub raises error in doc-view--revert-buffer
To: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75515
Cc: 75515 <at> debbugs.gnu.org, Tassilo Horn <tsdh@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Benjamin Riefenstahl <b.riefenstahl@HIDDEN> writes:

> I was editing an epub file.  When I save, I get an error from
> doc-view--revert-buffer.  I have reproduced the problem with "emacs -Q".

Tassilo, any comments here?

> Steps:
>
> * Open an epub file.  (I can make a minimal example file, if that
>   helps.)
> * Switch to archive mode with C-c C-c.  (Epubs are zip files.)
> * Open and edit one of the files in the zip.
> * Save the file (C-x C-s).
> * The mini-buffer shows "Wrong type argument: stringp, nil".  Running
>   with debug-on-error gives the backtrace below.
> * The Zip-File was actually saved, but the archive buffer is left in a
>   raw-bytes mode and the modified file is still marked modified.

[...]




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75515; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Jan 2025 14:32:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 12 09:32:29 2025
Received: from localhost ([127.0.0.1]:46496 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tWz0u-0007uL-5a
	for submit <at> debbugs.gnu.org; Sun, 12 Jan 2025 09:32:29 -0500
Received: from lists.gnu.org ([2001:470:142::17]:36218)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <b.riefenstahl@HIDDEN>)
 id 1tWz0r-0007u5-Gh
 for submit <at> debbugs.gnu.org; Sun, 12 Jan 2025 09:32:26 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <b.riefenstahl@HIDDEN>)
 id 1tWz0i-0002Sc-H5
 for bug-gnu-emacs@HIDDEN; Sun, 12 Jan 2025 09:32:16 -0500
Received: from mail.turtle-trading.net ([18.197.215.73])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <b.riefenstahl@HIDDEN>)
 id 1tWz0g-0002Fg-De
 for bug-gnu-emacs@HIDDEN; Sun, 12 Jan 2025 09:32:16 -0500
Received: from [185.117.215.14] (helo=arrian)
 by mail.turtle-trading.net with esmtpsa (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97)
 (envelope-from <b.riefenstahl@HIDDEN>)
 id 1tWyyQ-00000000j6V-0t8z; Sun, 12 Jan 2025 15:29:54 +0100
From: Benjamin Riefenstahl <b.riefenstahl@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.92; doc-view: Saving an epub raises error in
 doc-view--revert-buffer
X-Debbugs-Cc: 
Date: Sun, 12 Jan 2025 15:29:53 +0100
Message-ID: <87o70cjeam.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: none client-ip=18.197.215.73;
 envelope-from=b.riefenstahl@HIDDEN; helo=mail.turtle-trading.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

I was editing an epub file.  When I save, I get an error from
doc-view--revert-buffer.  I have reproduced the problem with "emacs -Q".

Steps:

* Open an epub file.  (I can make a minimal example file, if that
  helps.)
* Switch to archive mode with C-c C-c.  (Epubs are zip files.)
* Open and edit one of the files in the zip.
* Save the file (C-x C-s).
* The mini-buffer shows "Wrong type argument: stringp, nil".  Running
  with debug-on-error gives the backtrace below.
* The Zip-File was actually saved, but the archive buffer is left in a
  raw-bytes mode and the modified file is still marked modified.

----

    Debugger entered--Lisp error: (wrong-type-argument stringp nil)
      doc-view--revert-buffer(#[128 "\301\302\300!\2\"\207" [revert-buffer-function apply default-value] 4 advice--forward] t t)
      apply(doc-view--revert-buffer #[128 "\301\302\300!\2\"\207" [revert-buffer-function apply default-value] 4 advice--forward] (t t))
      #f(advice doc-view--revert-buffer :around #[128 "\301\302\300!\2\"\207" [revert-buffer-function apply default-value] 4 advice--forward])(t t)
      archive--mode-revert(#f(advice doc-view--revert-buffer :around #[128 "\301\302\300!\2\"\207" [revert-buffer-function apply default-value] 4 advice--forward]) nil t)
      apply(archive--mode-revert #f(advice doc-view--revert-buffer :around #[128 "\301\302\300!\2\"\207" [revert-buffer-function apply default-value] 4 advice--forward]) (nil t))
      #f(advice archive--mode-revert :around #f(advice doc-view--revert-buffer :around #[128 "\301\302\300!\2\"\207" [revert-buffer-function apply default-value] 4 advice--forward]))(nil t)
      revert-buffer(nil t)
      #f(compiled-function () #<bytecode -0x5455c868d873543>)()
      archive--with-ensure-extension("/home/benny/Downloads/epubs/Dona Rosita la Soltera.epub" #f(compiled-function (archive) #<bytecode 0x7c85228407ddbaf>))
      archive-*-write-file-member("/home/benny/Downloads/epubs/Dona Rosita la Soltera.epub" #s(archive--file-desc :ext-file-name "META-INF/container.xml" :int-file-name "META-INF/container.xml" :mode 384 :size 244 :time "27-Feb-2017 22:54:36" :ratio nil :uid nil :gid nil :pos 52893) ("zip" "-q"))
      archive-zip-write-file-member("/home/benny/Downloads/epubs/Dona Rosita la Soltera.epub" #s(archive--file-desc :ext-file-name "META-INF/container.xml" :int-file-name "META-INF/container.xml" :mode 384 :size 244 :time "27-Feb-2017 22:54:36" :ratio nil :uid nil :gid nil :pos 52893))

----

In GNU Emacs 30.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.38, cairo version 1.16.0) of 2024-11-27 built on arrian
Repository revision: fc17e8727d48c32f2610c6fe7c17147bff7be52b
Repository branch: emacs-30
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux 12 (bookworm)

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Zip-Archive

Minor modes in effect:
  doc-view-minor-mode: t
  desktop-save-mode: t
  display-time-mode: t
  server-mode: t
  xclip-mode: t
  xterm-mouse-mode: t
  delete-selection-mode: t
  cua-mode: t
  display-battery-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
~/Projects/ttf-mode/arc-mode-compat hides ~/emacs/arc-mode-compat
/home/benny/.emacs.d/elpa/transient-20240729.1524/transient hides /usr/local/share/emacs/30.0.92/lisp/transient

Features:
(shadow bbdb-message emacsbug ttf-glyphs rng-xsd xsd-regexp rng-cmpct
rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt
rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode
facemenu nxml-util nxml-enc xmltok arc-mode archive-mode gnus-kill nndoc
comp-run python project compat oc-basic org-element org-persist org-id
org-refile org-element-ast inline avl-tree generator ol-eww benny-nitter
eww xdg url-queue ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
ol-docview doc-view filenotify image-mode exif ol-bibtex bibtex ol-bbdb
ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table
ob-exp org-macro org-src sh-script smie treesit executable ob-comint
org-pcomplete pcomplete org-list org-footnote org-faces org-entities
noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol
org-fold org-fold-core org-keys oc org-loaddefs find-func org-version
org-compat org-macs display-line-numbers shortdoc comp-common rx
thingatpt help-fns smerge-mode diff shr-color color qp sort smiley
gnus-cite flow-fill mail-extr textsec uni-scripts idna-mapping
ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg
gnus-dup gnus-ml pp gnus-topic jka-compr mm-archive url-http url-gw
url-cache url-auth nndraft nnmh nnfolder bbdb-gnus bbdb-mua
network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig nntp
gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg message-x pop3
gnus-group gnus-undo nnrss dom mm-url bbdb-com crm bbdb bbdb-site
timezone gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7
nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message sendmail
yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util
mail-utils range mm-util mail-prsvr wid-edit imenu view mule-util
dired-aux time-date desktop frameset highline benny-calendar-cfg
ange-ftp generic-x autoinsert cc-mode cc-fonts cc-guess cc-menus
cc-styles cc-align cc-cmds cc-engine cc-vars cc-defs ps-print
ps-print-loaddefs lpr advice cl-extra help-mode dired dired-loaddefs
derived benny-x-clipboard disp-table time server protbuf xclip
term/xterm xterm xt-mouse cal-china lunar solar cal-dst cal-bahai
cal-islam cal-hebrew holidays holiday-loaddefs vc-git diff-mode
track-changes easy-mmode vc-dispatcher diary-lib diary-loaddefs cal-menu
calendar cal-loaddefs delsel grep compile text-property-search comint
ansi-osc ansi-color ring cua-base cus-load format-spec battery dbus xml
.loaddefs benny-tools autoload loaddefs-gen radix-tree lisp-mnt
bbdb-autoloads crontab-mode-autoloads csv-mode-autoloads
debbugs-autoloads elpher-autoloads enwc-autoloads graphql-autoloads
graphql-doc-autoloads graphql-mode-autoloads jsonian-autoloads
lsp-java-autoloads dap-mode-autoloads lsp-docker-autoloads
lsp-treemacs-autoloads lsp-ui-autoloads lsp-mode-autoloads f-autoloads
magit-autoloads pcase git-commit-autoloads magit-section-autoloads
markdown-preview-mode-autoloads markdown-mode-autoloads
mastodon-autoloads monky-autoloads nov-autoloads esxml-autoloads
osm-autoloads persist-autoloads request-autoloads sly-autoloads
sql-indent-autoloads sqlup-mode-autoloads telega-autoloads tp-autoloads
transient-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads
ht-autoloads hydra-autoloads pfuture-autoloads ace-window-autoloads
avy-autoloads s-autoloads dash-autoloads vc-fossil-autoloads
visual-fill-column-autoloads websocket-autoloads info
with-editor-autoloads x509-mode-autoloads xclip-autoloads yaml-autoloads
yaml-imenu-autoloads yaml-mode-autoloads package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs icons password-cache json
subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib
rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt
fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode
register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar
make-network-process native-compile emacs)

Memory information:
((conses 16 636284 118044) (symbols 48 36587 0)
 (strings 32 154237 18123) (string-bytes 1 4411985) (vectors 16 83147)
 (vector-slots 8 1754624 224329) (floats 8 1431 9469)
 (intervals 56 1085 373) (buffers 992 56))




Acknowledgement sent to Benjamin Riefenstahl <b.riefenstahl@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#75515; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 2 Mar 2025 07:45:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.