From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: =?UTF-8?B?SC4tSi4gSGVpdGzDpG5kZXI=?=
Newsgroups: gmane.emacs.help
Subject: emacs 30.5.0 editing epub
Date: Wed, 15 Mar 2023 18:35:55 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="20993"; mail-complaints-to="usenet@ciao.gmane.io"
To: gnu emacs
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 16 05:25:14 2023
Return-path:
Envelope-to: geh-help-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 1pcfAw-0005ES-Pk
for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 16 Mar 2023 05:25:14 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1pcfAH-00068N-S3; Thu, 16 Mar 2023 00:24:33 -0400
Original-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 )
id 1pcVyk-0007PT-Qj
for help-gnu-emacs@gnu.org; Wed, 15 Mar 2023 14:36:03 -0400
Original-Received: from mout02.posteo.de ([185.67.36.66])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1pcVyi-0002Yi-Gj
for help-gnu-emacs@gnu.org; Wed, 15 Mar 2023 14:36:02 -0400
Original-Received: from submission (posteo.de [185.67.36.169])
by mout02.posteo.de (Postfix) with ESMTPS id D0DE024078D
for ; Wed, 15 Mar 2023 19:35:56 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017;
t=1678905356; bh=xtJ0pmSREKZZBymhJD1ZJjo03RRN2F0XU7qJYTt/y28=;
h=Date:From:Subject:To:From;
b=QKmf0RfjzOIGUvcz3y9xfVSMtT+dKvQgmhbd1AABZnIeHXN68o1TPnEqASwr9pqlV
ZjHJXvnEliCbSqyAKfSAyHL8pDxnhlSIKwMkvztbbW2w3tzGhi1h7z8MUDR4i3VONy
cROeUmVqtd+LrBRPFAmb07UW662zDnuQWevbakfvmeNazHwgtnfB+8Pi2Oqe7TUkzv
AQcjJzuwIf/dJDn55rhNxRXyZEMm9+fwi2hHdc4KeL7BwdjJvg6y0Qjmgsr8cY2PQp
3bvkWqY9KgoJDMPUf5phPxHOIUP9d7yn2H720pTknar5SBBHJl9zwI+PPYj2cFgc1g
5UG0q8jmiwLIg==
Original-Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4PcJxS2VQpz9rxD
for ; Wed, 15 Mar 2023 19:35:56 +0100 (CET)
Content-Language: de-DE
Received-SPF: pass client-ip=185.67.36.66;
envelope-from=Heiner.Heitlaender@posteo.de; helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001,
RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Mailman-Approved-At: Thu, 16 Mar 2023 00:24:33 -0400
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Users list for the GNU Emacs text editor
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.help:143034
Archived-At:
Hi there,
trying to get my feet wet with emacs and lisp. ... well it seems I am
drowning...
The problem:
I am editing epub archives and any saves that I am doing result in
***backtrace***
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
doc-view--revert-buffer(#f(compiled-function (&rest args) #) t t)
apply(doc-view--revert-buffer #f(compiled-function (&rest args)
#) (t t))
#f(advice doc-view--revert-buffer :around #f(compiled-function (&rest
args) #))(t t)
archive--mode-revert(#f(advice doc-view--revert-buffer :around
#f(compiled-function (&rest args) #)) nil nil)
apply(archive--mode-revert #f(advice doc-view--revert-buffer :around
#f(compiled-function (&rest args) #)) (nil
nil))
#f(advice archive--mode-revert :around #f(advice doc-view--revert-buffer
:around #f(compiled-function (&rest args) #)))(nil nil)
revert-buffer()
archive-write-file-member()
run-hook-with-args-until-success(archive-write-file-member)
basic-save-buffer(t)
save-buffer(1)
funcall-interactively(save-buffer 1)
command-execute(save-buffer)
For the moment I can live with that as in reality the epub is being saved.
My problem is that from that moment on the display of the epub subfile
(.html) loses the utf-8 display. (oh, and every other file is
being displayed in the same - wrong - way.)
The content is shown as (example)
\342\200\234Nicely done. Now let\342\200\231s get that equipment on
board.\342\200\234
It should have been shown as
"Nicely done. Now let's get that equipment on board."
I searched the internet without any result. Don't know which part of
documentation to read.
Question: How do I switch the display back to show the contents in the
expected way???
TX
Heiner