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: Thu, 01 Apr 2021 18:25:24 +0300 Message-ID: <831rbugh7f.fsf@gnu.org> References: <87sg4arq9x.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14850"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, 46933@debbugs.gnu.org To: handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 01 17:27:10 2021 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 1lRzDy-0003kA-3g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Apr 2021 17:27:10 +0200 Original-Received: from localhost ([::1]:54244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRzDx-0006dm-5j for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Apr 2021 11:27:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRzDp-0006bE-VB for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 11:27:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRzDp-0000ef-MR for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 11:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRzDp-0003Fr-J2 for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 11:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Apr 2021 15:27:01 +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.161729076512437 (code B ref 46933); Thu, 01 Apr 2021 15:27:01 +0000 Original-Received: (at 46933) by debbugs.gnu.org; 1 Apr 2021 15:26:05 +0000 Original-Received: from localhost ([127.0.0.1]:58320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRzCv-0003EX-HZ for submit@debbugs.gnu.org; Thu, 01 Apr 2021 11:26:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRzCu-0003E3-A7 for 46933@debbugs.gnu.org; Thu, 01 Apr 2021 11:26:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56539) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRzCo-0008MK-NO; Thu, 01 Apr 2021 11:25:58 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3174 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lRzCX-0007vZ-EE; Thu, 01 Apr 2021 11:25:53 -0400 In-Reply-To: <87sg4arq9x.fsf@gnu.org> (message from handa on Fri, 02 Apr 2021 00:14:02 +0900) 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:203431 Archived-At: > From: handa > Cc: gregory@heytings.org, 46933@debbugs.gnu.org > Date: Fri, 02 Apr 2021 00:14:02 +0900 > > By the way, what is the intention of filepos-to-bufferpos? Why that > function was introduce? 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.