From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46933: Possible bugs in filepos-to-bufferpos / bufferpos-to-filepos Date: Tue, 21 Jun 2022 15:14:57 +0300 Message-ID: <835ykukybi.fsf@gnu.org> References: <9cff0f8894f167925251@heytings.org> <87im53ny95.fsf@gnu.org> <87r13kqhdj.fsf@gnus.org> <838rprmu1f.fsf@gnu.org> <877d5a1er4.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7748"; mail-complaints-to="usenet@ciao.gmane.io" Cc: handa@gnu.org, gregory@heytings.org, 46933@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 21 14:16:18 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3cnp-0001oQ-Qp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jun 2022 14:16:17 +0200 Original-Received: from localhost ([::1]:47718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3cno-0003XU-N0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jun 2022 08:16:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3cna-0003XI-L5 for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 08:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37219) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3cna-00077i-BD for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 08:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3cna-0005BN-5b for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2022 08:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jun 2022 12:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46933 X-GNU-PR-Package: emacs Original-Received: via spool by 46933-submit@debbugs.gnu.org id=B46933.165581371819857 (code B ref 46933); Tue, 21 Jun 2022 12:16:02 +0000 Original-Received: (at 46933) by debbugs.gnu.org; 21 Jun 2022 12:15:18 +0000 Original-Received: from localhost ([127.0.0.1]:59349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3cmr-0005AD-OC for submit@debbugs.gnu.org; Tue, 21 Jun 2022 08:15:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3cmp-00059t-MN for 46933@debbugs.gnu.org; Tue, 21 Jun 2022 08:15:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3cmk-0006y1-5y; Tue, 21 Jun 2022 08:15:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=gghFJJZ9NnDlzsDzTipxOt8fzqmaHvJmLdCzUAiuQYI=; b=dZp4THPSJImf fhlTRxsOWl9TlK9r+uyxfFFCpsijY/bfpRyIsVezXDcM6FjG1gDv7wrW93Y/N+9eQLHo7Vo2pEu/i gVZjFgbT+pssIXv1fmYPSWq8erb4au4Ott1UJdVmSZ6p11Der0QsytkOzwA9/4a6HfwSb+/1ri9XF x4R7AH3QpgNqKyYeZABH9JH87taZH/EUfVj73MnXp33s9sBZzgRoJuZZjJQdUx6mmCkx39Vsz0chh mNxW4KLRFwQRIHgCfQY7Me2LOmSJwQ28Johe5hJSAj2jrdMMpl6GCT9AZV88BuSkVxNU1VqxC05WU ifdF8tJuaA+iwl7AOfUFvg==; Original-Received: from [87.69.77.57] (port=4401 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3cmi-0004PT-RQ; Tue, 21 Jun 2022 08:15:09 -0400 In-Reply-To: <877d5a1er4.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 21 Jun 2022 12:40:15 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234951 Archived-At: > From: Lars Ingebrigtsen > Cc: handa@gnu.org, gregory@heytings.org, 46933@debbugs.gnu.org > Date: Tue, 21 Jun 2022 12:40:15 +0200 > > > The original (and so far the only) use case was an Info manual > > separated into several files, where the tag table at the end of the > > main file specifies offsets in bytes. See the function > > Info-find-node-2 in info.el. > > We no longer split up .info files into several files, so that's a bit > difficult to test. The GDB manual, if you have it, is generated in split form. > But there's one new in-tree usage for this -- in > hexl.el. (In hexl-mode-exit and hexl-maybe-dehexlify-buffer.) I don't > know whether that has the problem described in this bug report, though > (I'm not familiar with hexl.el at all). There's no reason why this won't be relevant to hexl: it is a general-purpose hex editor, so editing a file encoded in one of those problematic ISO-2022 encodings should bump into the same issues.