all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs 30.5.0 editing epub
@ 2023-03-15 18:35 H.-J. Heitländer
  2023-03-16  5:05 ` Michael Heerdegen
  2023-03-16  9:22 ` emacs 30.5.0 editing epub Stephen Berman
  0 siblings, 2 replies; 37+ messages in thread
From: H.-J. Heitländer @ 2023-03-15 18:35 UTC (permalink / raw)
  To: gnu emacs

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

<snip>

***backtrace***

Debugger entered--Lisp error: (wrong-type-argument stringp nil)

doc-view--revert-buffer(#f(compiled-function (&rest args) #<bytecode 
-0x1d096aa50772e2b6>) t t)

apply(doc-view--revert-buffer #f(compiled-function (&rest args) 
#<bytecode -0x1d096aa50772e2b6>) (t t))

#f(advice doc-view--revert-buffer :around #f(compiled-function (&rest 
args) #<bytecode -0x1d096aa50772e2b6>))(t t)

archive--mode-revert(#f(advice doc-view--revert-buffer :around 
#f(compiled-function (&rest args) #<bytecode -0x1d096aa50772e2b6>)) nil nil)

apply(archive--mode-revert #f(advice doc-view--revert-buffer :around 
#f(compiled-function (&rest args) #<bytecode -0x1d096aa50772e2b6>)) (nil 
nil))

#f(advice archive--mode-revert :around #f(advice doc-view--revert-buffer 
:around #f(compiled-function (&rest args) #<bytecode 
-0x1d096aa50772e2b6>)))(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)

</snip>


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)

<snip>

\342\200\234Nicely done. Now let\342\200\231s get that equipment on 
board.\342\200\234 </p>

</snip>

It should have been shown as

<snip>

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

</snip>

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2023-03-28 11:28 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-15 18:35 emacs 30.5.0 editing epub H.-J. Heitländer
2023-03-16  5:05 ` Michael Heerdegen
2023-03-16  6:57   ` H.-J. Heitländer
2023-03-17  0:44     ` Michael Heerdegen
2023-03-17  1:13     ` Michael Heerdegen
2023-03-19 21:23       ` editing a PDF [Re: emacs 30.5.0 editing epub] gebser
2023-03-19 23:59         ` Michael Heerdegen
2023-03-20  7:15           ` gebser
2023-03-21  0:31             ` Michael Heerdegen
2023-03-21  6:28             ` Yuri Khan
2023-03-21  6:38               ` Emanuel Berg
2023-03-22 16:32                 ` Yuri Khan
2023-03-22 18:48                   ` Bob Newell
2023-03-23  9:36                     ` Jean Louis
2023-03-23 23:00                       ` Bob Newell
2023-03-23  9:13                   ` Jean Louis
2023-03-23 10:37                   ` Michael Heerdegen
2023-03-23 20:13                     ` Emanuel Berg
2023-03-23 20:07                   ` Emanuel Berg
2023-03-21 11:51               ` Ulrich Deiters
2023-03-21 21:57                 ` gebser
2023-03-21 22:55                   ` Ulrich Deiters
2023-03-22  1:56                     ` Michael Heerdegen
2023-03-22  8:26                     ` FOSS replacement for PDF [Re: editing a PDF] gebser
2023-03-22  9:18                       ` Yuri Khan
2023-03-23  9:21                         ` Jean Louis
2023-03-23  9:49                           ` Yuri Khan
2023-03-23 10:53                             ` Gregory Heytings
2023-03-28 11:28                     ` editing a PDF [Re: emacs 30.5.0 editing epub] Michael Heerdegen
2023-03-22  7:03                   ` Jean Louis
2023-03-22 15:20                     ` gebser
2023-03-16  9:22 ` emacs 30.5.0 editing epub Stephen Berman
2023-03-16 13:16   ` H.-J. Heitländer
2023-03-16 15:23     ` Yuri Khan
2023-03-16 16:54       ` H.-J. Heitländer
2023-03-16 18:58         ` Stefan Monnier via Users list for the GNU Emacs text editor
2023-03-20 21:50           ` emacs 30.5.0 editing epub - finishing remark H.-J. Heitländer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.