[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs 30.5.0 editing epub

From: H . -J . Heitländer
Subject: Re: emacs 30.5.0 editing epub
Date: Thu, 16 Mar 2023 13:16:49 +0000

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.


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

The problem:

I am editing epub archives and  any saves that I am doing result in


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
(<name>.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 </p>


It should have been shown as


"Nicely done. Now let's get that equipment on board." </p>


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]