unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Scott Otterson <scotto@sharpleaf.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 51740@debbugs.gnu.org
Subject: bug#51740: 27.2; find-file-literally doesn't respect saveplace-mode
Date: Wed, 10 Nov 2021 20:46:49 -0800	[thread overview]
Message-ID: <CAPY3P0Sc9uLm3AHRN=sr000LG3GhXCKXOD1xKXe075SKe6Mb=w@mail.gmail.com> (raw)
In-Reply-To: <87zgqbbamo.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

That was fast.  Thanks!

On Wed, Nov 10, 2021 at 8:05 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Eli Zaretskii <eliz@gnu.org> 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
>

[-- Attachment #2: Type: text/html, Size: 1127 bytes --]

      reply	other threads:[~2021-11-11  4:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10  3:06 bug#51740: 27.2; find-file-literally doesn't respect saveplace-mode Scott Otterson
2021-11-10 13:27 ` Eli Zaretskii
2021-11-11  4:05   ` Lars Ingebrigtsen
2021-11-11  4:46     ` Scott Otterson [this message]

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='CAPY3P0Sc9uLm3AHRN=sr000LG3GhXCKXOD1xKXe075SKe6Mb=w@mail.gmail.com' \
    --to=scotto@sharpleaf.org \
    --cc=51740@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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).