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: Re: emacs 30.5.0 editing epub
Date: Thu, 16 Mar 2023 13:16:49 +0000
Message-ID: <74d91d8b-ac3c-9463-4334-9c1db8df7c13@posteo.de>
References:
<87pm99830a.fsf@gmx.net>
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="5448"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: gnu emacs
To: Stephen Berman
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 16 14:17:39 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 1pcnU7-00014A-VM
for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 16 Mar 2023 14:17:35 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1pcnTY-0000vT-I0; Thu, 16 Mar 2023 09:17:00 -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 1pcnTW-0000tU-HN
for help-gnu-emacs@gnu.org; Thu, 16 Mar 2023 09:16:58 -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 1pcnTQ-0007is-9P
for help-gnu-emacs@gnu.org; Thu, 16 Mar 2023 09:16:58 -0400
Original-Received: from submission (posteo.de [185.67.36.169])
by mout02.posteo.de (Postfix) with ESMTPS id E9788240497
for ; Thu, 16 Mar 2023 14:16:49 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017;
t=1678972609; bh=XCV3pzc5FCcWAbIBXjKuYl+eJrXMWIzoHfnj4A4jlYw=;
h=Date:Subject:To:Cc:From:From;
b=fzuPO3TgHzR+0IeC+8vYCP8+emnALTj6AFwlJV1rknVBRI4h9LhRatOHdSW/0ZGwp
f62M2mSSNYnZRarJl5swXyH4kSSApPAoW+x66mZ4LBL9IDN7hP3KodY4/evYJdb//x
RceSgujPChsgsaqpIHZcXtFdlpr2KYZpw1O0x9eVj/+1L3uGCtMEB+mSylBDMGmOrO
nf0FSTtcX7ipK1qRmbRRN3DEYzOHjEgEna+PKcmUPmZtkMb/+q+Msxi34TJE82jKfE
luXSBposRidhoZpKxoarfVi0BJ6253ltxkMOp5+A6e2vET1ni21ZW/iKxCMgWjoXvp
W0naV3QAvpy9g==
Original-Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4Pcnpn278Hz9rxM;
Thu, 16 Mar 2023 14:16:49 +0100 (CET)
Content-Language: de-DE
In-Reply-To: <87pm99830a.fsf@gmx.net>
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-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:143041
Archived-At:
Hi Stephen,
mode line displays
=:**-
When entering the command C-x RET r ... utf-8 the "answer" is
"wrong type argument: strongp, nil".
Testcase 2)
kill buffer up to the top epub
reopen epub
open epub subfile (...html)
C-x RET r ... utf-8
in minibufer: Revert buffer from file xxx.html? (y or n)
Answer: y
Minibuffer: Cannot revert noexistent file xxx.html
Other directory buffers display with "coding system (default nil)" as
soon as I perform a refresh of the directory display with "g". To cure
this phenomen I have to kill / restart emacs.
So no easy solution / workaround at the moment.
TX
Heiner
Am 16.03.23 um 10:22 schrieb Stephen Berman:
> On Wed, 15 Mar 2023 18:35:55 +0000 H.-J. Heitländer wrote:
>
>> 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***
> [...]
>> 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???
> It looks like the buffer is being displayed in the raw-text coding
> system (is the first character in the mode line "t"?). \342\200\234 is
> the raw-byte sequence of the unicode character LEFT DOUBLE QUOTATION
> MARK (#x201c) and \342\200\231 of RIGHT SINGLE QUOTATION MARK (#x2019).
> Does typing `C-x RET r' and at the prompt entering `utf-8' and at the
> next prompt `yes' fix the display?
>
> Steve Berman