From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#46933: Possible bugs in filepos-to-bufferpos / bufferpos-to-filepos Date: Wed, 22 Jun 2022 06:17:09 +0200 Message-ID: <87r13huybe.fsf@gnus.org> References: <9cff0f8894f167925251@heytings.org> <87im53ny95.fsf@gnu.org> <87r13kqhdj.fsf@gnus.org> <838rprmu1f.fsf@gnu.org> <877d5a1er4.fsf@gnus.org> <835ykukybi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12742"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: handa@gnu.org, gregory@heytings.org, 46933@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 22 06:18:12 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 1o3roh-00035M-05 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 06:18:11 +0200 Original-Received: from localhost ([::1]:39412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3rof-00070m-M1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 00:18:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3roY-00070b-RV for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 00:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3roY-0003jI-Id for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 00:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3roY-00007k-Cy for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 00:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Jun 2022 04:18: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.1655871442422 (code B ref 46933); Wed, 22 Jun 2022 04:18:02 +0000 Original-Received: (at 46933) by debbugs.gnu.org; 22 Jun 2022 04:17:22 +0000 Original-Received: from localhost ([127.0.0.1]:33678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3rnu-00006k-HU for submit@debbugs.gnu.org; Wed, 22 Jun 2022 00:17:22 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:51674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3rns-00006W-Ln for 46933@debbugs.gnu.org; Wed, 22 Jun 2022 00:17:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YEle+axDaxfT54Sd2gHvAUywguXF+fk4Ibqj5ZTuS0A=; b=ltvxmu+z8FW5SAvycxUed26W3o riKJha20EilF5jC1H9StbpwF8Hp+HQiCOPnE7dQNJvuKD3sWbtqkFC5FeIOK6LWiruE6ww5+1GniP IiAm6XNK+0w2q00mG/K0nEUgMHm3wm/em2/EzXIsLNkbAiW9BfGFevvXS6pHC89llZSY=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3rni-00068U-Js; Wed, 22 Jun 2022 06:17:13 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXaixKce2Cwmkj/ //99tgMYAAAAAWJLR0QDEQxM8gAAAAlwSFlzAAALEgAACxIB0t1+/AAAAAd0SU1FB+YGFgQDJObc sBIAAAEASURBVCjPrdKxTsMwEAbgS9RISacMZGcAhj5Fli5MEeK3iCeElEr1UwSk7l2MgAkGo/qe kovtBCTW3nSfdL47JyY6exRD3835JeUjlQk1FR2tFlTtAroZ87c5z9l4HmO+Kt6123WhQ0kbVpZP qYw9YDhhtwf2fj4/laUO0ky7BVgb79XLlGcZ+HFt0cade30agC7BOAD3CRZThA0KbTHMdV/KYjsD CpA8IEOKB0H1H9qFMkEPSJMJBZRT06TbAO0VC64iWPGrw1FwHSBXjzCs+cOjjvCav90vZAqeBFYG yt5tc4g4aKvGpgnorbK6tc2f31eF7/5c0ucF0V195sfxAyqmZ7+Lo700AAAAWmVYSWZNTQAqAAAA CAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAAhMAAwAA AAEAAQAAAAAAAAAAAEgAAAABAAAASAAAAAEfUvc0AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2 LTIyVDA0OjAzOjM1KzAwOjAwG7XoFAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0yMlQwNDow MzozNSswMDowMGroUKgAAAAXdEVYdGV4aWY6WUNiQ3JQb3NpdGlvbmluZwAxrA+AYwAAAABJRU5E rkJggg== X-Now-Playing: Mice Parade's =?UTF-8?Q?=5FLapap=E1=BB=8D=5F:?= "Bushwick & Knoll" In-Reply-To: <835ykukybi.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 21 Jun 2022 15:14:57 +0300") 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:234998 Archived-At: Eli Zaretskii writes: > The GDB manual, if you have it, is generated in split form. Thanks; I could test with that. >> 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. I meant more that I don't really know what it wants to achieve, or what kinds of files are typically used by hexl users. Do people use that on huge hex dumps or something else? And on hex dumps, there's typically be no coding system, so loading the file into memory just to determine that would be inefficient. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no