GNU bug report logs - #13431
24.2; UTF-8 causes bad reference position under Emacs Info

Previous Next

Package: emacs;

Reported by: Joseph Oswald <josephoswald <at> gmail.com>

Date: Mon, 14 Jan 2013 00:46:02 UTC

Severity: normal

Tags: patch

Merged with 20704

Found in version 24.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Joseph Oswald <josephoswald <at> gmail.com>
Cc: 13431 <at> debbugs.gnu.org
Subject: Re: bug#13431: 24.2;
 UTF-8 causes bad reference position under Emacs Info
Date: Thu, 27 Jun 2019 13:44:06 +0200
Joseph Oswald <josephoswald <at> gmail.com> writes:

> Info files with UTF-8 characters cause bad cursor positioning when
> following references.
>
> In the attached utf8-test info file, following the reference "English"
> positions the point "p" in "speaking", several characters past where
> the reference is located.
>
> utf8-test was generated using makeinfo from texinfo 4.13
>
> I did a bit of investigation: makeinfo apparently generates tag tables
> using bytes, not characters; it seems Emacs Info is using goto-char
> without the bytes-to-position conversion.

I tested this now, and it seemed like it jumped to the right position,
so somebody fixed this during the past four years?

Closing this bug report; please reopen if this is still a problem.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 333 days ago.

Previous Next


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