From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Scott Otterson Newsgroups: gmane.emacs.bugs Subject: bug#51740: 27.2; find-file-literally doesn't respect saveplace-mode Date: Wed, 10 Nov 2021 20:46:49 -0800 Message-ID: References: <835yt03ztz.fsf@gnu.org> <87zgqbbamo.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000047d8b05d07c0a6c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34464"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51740@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 11 07:56:21 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 1ml40T-0008nJ-0O for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Nov 2021 07:56:21 +0100 Original-Received: from localhost ([::1]:55548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ml40R-0003WL-RL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Nov 2021 01:56:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ml40A-0003Uh-L1 for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 01:56:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ml40A-00029g-DP for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 01:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ml40A-00055I-Cx for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 01:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Scott Otterson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Nov 2021 06:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51740 X-GNU-PR-Package: emacs Original-Received: via spool by 51740-submit@debbugs.gnu.org id=B51740.163661372919480 (code B ref 51740); Thu, 11 Nov 2021 06:56:02 +0000 Original-Received: (at 51740) by debbugs.gnu.org; 11 Nov 2021 06:55:29 +0000 Original-Received: from localhost ([127.0.0.1]:40000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ml3zc-000541-LE for submit@debbugs.gnu.org; Thu, 11 Nov 2021 01:55:29 -0500 Original-Received: from mail-pl1-f172.google.com ([209.85.214.172]:43709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ml1zo-00073s-6g for 51740@debbugs.gnu.org; Wed, 10 Nov 2021 23:47:32 -0500 Original-Received: by mail-pl1-f172.google.com with SMTP id y1so4751890plk.10 for <51740@debbugs.gnu.org>; Wed, 10 Nov 2021 20:47:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharpleaf-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tGA4XTdbcx6vntW5+r9WK2QqNs9Ut2mmUbz56wM3rNQ=; b=FjqLptzQDk5noct+qeRobJbscTyzZtR2sMMK5zDoQ+O0BC3HAoFAdzSXBWcVq/LrvK e+CcD3P2rkbolgCJzQGHqO34+ujvlwBtEZ22VG/RIq1q0DJcRQN5xbdy1I7IT6Rn08CV GvDMcjkc2aCnn1t08tjvZTeRg7mSJaD+zO09DRj/5eh7G66l+2FFdr2e8P3hCh1D62uH DhLl4SMLLCKSXbCyE8TPMws7+Se3Q1YclpPXCi2N3HX1jaHfQu1UbSIIsDcwyRRdwxFM QZ6JCSlo8hNs+oUlM6jpsA9uhYhpjxN4DbCpilzz1Epatrp/RoEF8Hhyon6jgALS15Jy anvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tGA4XTdbcx6vntW5+r9WK2QqNs9Ut2mmUbz56wM3rNQ=; b=KoNMsmX82/2c4UyTRK4CfIlKSltgSU+drF7+Y/tlsfoL9NmyoHOqcuzTBVagF1/axp XGmG/cLN69DoiaE04tgfOxHeGpGeXYPluLi6aQr8qoV8Oj8fc2zzaN3TJgo65/7Le/Gs rEGaLQ2wjXAiGH3JvOb5uKUc4hf4yGrvIPfSFPHmCQNEKFVgrWVEoIcA41aHW00eZng6 B/v2/4BJ7HNzeC6fTkH7fBlYlRCRC8/KekXIWk03UJSuQPOaEt9ILaxPhTlIqSVdY9lH RPFzR3Vcfple+LWvRt2NoZ66MizRw2VjOdUDM1bblPBdgmuKxNwpKwah5D5jNCqgrF0w aI5g== X-Gm-Message-State: AOAM533Nsw2S/x2oB2sy2WzH4vMUdSjqJhAo6102EWMWOBF0SoOCqBn+ U9lr1C/I/tgaetXL2WgyoyfSFGPxCZ7q1F+Sg3MZtVU95oC11w== X-Google-Smtp-Source: ABdhPJxQHWFApMfyQhRPBX1XMdDXPP4xg/2eiEc9ldq0v6AHJlzlWew2VgnWCN9KHep8ApC2jmcK+uRKxaS5mX8NvxA= X-Received: by 2002:a17:90a:4306:: with SMTP id q6mr5313064pjg.17.1636606046137; Wed, 10 Nov 2021 20:47:26 -0800 (PST) In-Reply-To: <87zgqbbamo.fsf@gnus.org> X-Mailman-Approved-At: Thu, 11 Nov 2021 01:55:27 -0500 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:219603 Archived-At: --000000000000047d8b05d07c0a6c Content-Type: text/plain; charset="UTF-8" That was fast. Thanks! On Wed, Nov 10, 2021 at 8:05 PM Lars Ingebrigtsen wrote: > Eli Zaretskii writes: > > > That's not really possible, since find-file-literally reads the file > > into a buffer in a way that can completely change the relation between > > the buffer position and the corresponding file byte offset -- due to > > decoding of text and other transformations that affect this. > > Yup. So I've now done this in Emacs 29 (and not on the emacs-28 branch > since this isn't a regression). > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --000000000000047d8b05d07c0a6c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That was fast.=C2=A0 Thanks!

On Wed, Nov 10, 2021 at 8:= 05 PM Lars Ingebrigtsen <larsi@gnus.or= g> wrote:
Eli Zaretskii <eliz@g= nu.org> writes:

> That's not really possible, since find-file-literally reads the fi= le
> into a buffer in a way that can completely change the relation between=
> the buffer position and the corresponding file byte offset -- due to > decoding of text and other transformations that affect this.

Yup.=C2=A0 So I've now done this in Emacs 29 (and not on the emacs-28 b= ranch
since this isn't a regression).

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--000000000000047d8b05d07c0a6c--