GNU bug report logs - #62239
30.0.50; emacs 30.5.0 editing epub encoding system

Previous Next

Package: emacs;

Reported by: H.-J. Heitländer <Heiner.Heitlaender <at> posteo.de>

Date: Fri, 17 Mar 2023 10:14:02 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Full log


Message #11 received at 62239 <at> debbugs.gnu.org (full text, mbox):

From: H.-J. Heitländer <Heiner.Heitlaender <at> posteo.de>
To: 62239 <at> debbugs.gnu.org
Subject: patch feedback
Date: Mon, 27 Mar 2023 08:27:48 +0000
[Message part 1 (text/plain, inline)]
Hi there,

Michael Heerdegen developed a patch for the problem.

Feedback: apply patch - not quite successfull


When trying to apply the patch

M-diff-mode

open patch-file

M-n

C-c C-a

I get "Hunk seriously messed up"


If I understand diff correctly, the patch aims for line 2204 = 
"(add-hook 'change-major-mode-hook..."

In my version of doc-view.el that line: "(add-hook 
'change-major-mode-hook..." is contained in line 2207.

That is probably the reason for "Hunk seriously messed up"

... So what I did is: I changed the source code of view-doc.el manually 
and not via the delevered patch. Then I tested it and ...
TADA!!! Success!!! It works.

Thanks for the effort

Heiner
[62239.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 280 days ago.

Previous Next


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