unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Joseph Oswald <josephoswald@gmail.com>
Cc: 13431@debbugs.gnu.org
Subject: bug#13431: 24.2; UTF-8 causes bad reference position under Emacs Info
Date: Thu, 27 Jun 2019 13:44:06 +0200	[thread overview]
Message-ID: <m38stn8d89.fsf@gnus.org> (raw)
In-Reply-To: <CALQ_E59oOkr5P7QGzTxYDJLRPTe_B0ez1VqviFWiY84zzwMSXg@mail.gmail.com> (Joseph Oswald's message of "Sun, 13 Jan 2013 18:12:39 -0500")

Joseph Oswald <josephoswald@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





  reply	other threads:[~2019-06-27 11:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-13 23:12 bug#13431: 24.2; UTF-8 causes bad reference position under Emacs Info Joseph Oswald
2019-06-27 11:44 ` Lars Ingebrigtsen [this message]
2019-06-27 13:33   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m38stn8d89.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=13431@debbugs.gnu.org \
    --cc=josephoswald@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).