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#50646: 28.0.50; narrow-to-defun sometimes narrows to wrong defun Date: Sun, 19 Sep 2021 16:43:23 +0300 Message-ID: <83lf3s4r5w.fsf@gnu.org> References: <3a6fa91859db00e5c382752ddedfbdd0@webmail.orcon.net.nz> <83r1dk4vvh.fsf@gnu.org> <83o88o4v53.fsf@gnu.org> <23b323a6af5c91a665890b4cb5d3ba61@webmail.orcon.net.nz> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19587"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arthur.miller@live.com, 50646@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 19 15:44:09 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 1mRx73-0004v6-8w for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 15:44:09 +0200 Original-Received: from localhost ([::1]:51822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRx72-0007I3-39 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 09:44:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRx6w-0007Hu-Nw for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 09:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRx6w-0008WN-C9 for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 09:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRx6w-00087N-AN for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 09:44: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: Sun, 19 Sep 2021 13:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50646 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 50646-submit@debbugs.gnu.org id=B50646.163205902231165 (code B ref 50646); Sun, 19 Sep 2021 13:44:02 +0000 Original-Received: (at 50646) by debbugs.gnu.org; 19 Sep 2021 13:43:42 +0000 Original-Received: from localhost ([127.0.0.1]:37700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRx6c-00086a-85 for submit@debbugs.gnu.org; Sun, 19 Sep 2021 09:43:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRx6Z-00086M-GK for 50646@debbugs.gnu.org; Sun, 19 Sep 2021 09:43:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53676) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRx6T-0008DB-Mm; Sun, 19 Sep 2021 09:43:33 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1556 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 1mRx6T-0001za-5i; Sun, 19 Sep 2021 09:43:33 -0400 In-Reply-To: <23b323a6af5c91a665890b4cb5d3ba61@webmail.orcon.net.nz> (message from Phil Sainty on Mon, 20 Sep 2021 00:53:48 +1200) 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:214710 Archived-At: > Date: Mon, 20 Sep 2021 00:53:48 +1200 > From: Phil Sainty > Cc: arthur.miller@live.com, 50646@debbugs.gnu.org > > I now have this: > > "Like `insert-file-contents', but only reads in the file literally. > See `insert-file-contents' for an explanation of the parameters. > > Insert after point the contents of file FILENAME as a sequence of > ASCII characters with no special encoding or conversion. > > This is contrary to other functions, like `insert-file-contents' and > `find-file', which may modify a buffer in several ways after reading > into the buffer, due to Emacs features such as format decoding, > character code conversion, `find-file-hook', automatic uncompression, > etc. > > Using `insert-file-contents-literally' ensures that none of these > modifications will take place." > > > > I took "as a sequence of ASCII characters with no special encoding or > conversion" from (info "(emacs) Visiting") but I see that wording used > by `insert-file-literally' is "Insert contents of file FILENAME into > buffer after point with no conversion", and I figure the two should > probably use the same wording? Is there a preference? The "ASCII characters" part is wrong. I suggest "sequence of uninterpreted bytes" instead.