From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: write-region bug ? Date: Mon, 06 Jan 2020 07:29:14 +0200 Message-ID: References: <87k169okfu.fsf@igel.home> <83zhf5ixe1.fsf@gnu.org> <83woa7ezzb.fsf@gnu.org> <83r20efua9.fsf@gnu.org> <83k165gbl5.fsf@gnu.org> <046646BD-7C4A-4D42-93F0-9B45980DD9BC@traduction-libre.org> <83y2uldzlz.fsf@gnu.org> <8587D3AF-EB7F-4AF1-806A-5C5EBB5DF8AA@traduction-libre.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="38937"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: K-9 Mail for Android To: emacs-devel@gnu.org, Jean-Christophe Helary , Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 06 06:29:29 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ioKxE-0009xy-1y for ged-emacs-devel@m.gmane.org; Mon, 06 Jan 2020 06:29:28 +0100 Original-Received: from localhost ([::1]:48252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioKxC-0001NI-3K for ged-emacs-devel@m.gmane.org; Mon, 06 Jan 2020 00:29:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45657) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioKx5-0001NA-9w for emacs-devel@gnu.org; Mon, 06 Jan 2020 00:29:20 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ioKx4-0001KF-KI; Mon, 06 Jan 2020 00:29:18 -0500 Original-Received: from [176.12.180.157] (port=34086 helo=[10.212.47.98]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ioKx4-0003hM-0p; Mon, 06 Jan 2020 00:29:18 -0500 In-Reply-To: <8587D3AF-EB7F-4AF1-806A-5C5EBB5DF8AA@traduction-libre.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:244020 Archived-At: On January 6, 2020 5:50:55 AM GMT+02:00, Jean-Christophe Helary wrote: >=20 >=20 > > On Jan 6, 2020, at 12:37, Eli Zaretskii wrote: > >=20 > >> From: Jean-Christophe Helary > > >> Date: Mon, 6 Jan 2020 01:42:35 +0900 > >>=20 >=20 > And I wish I understood better what=20 >=20 > (docstring) "the buffer is marked as visiting FILENAME=2E" >=20 > (lisp reference) "Emacs establishes an association between the buffer > and the file: the buffer is then visiting that file=2E" >=20 > mean practically speaking, because nowhere in those sentences does it > imply (to me) that the buffer contents will overwrite the file=2E This is explained at the very beginning of the "Files" node in the Emacs m= anual=2E The Glossary also explains that under Saving and under Visiting= =2E These are very basic notions in Emacs, so if the relations between a b= uffer visiting a file and what happens when you save that buffer aren't cle= ar to you, I suggest a good reading of those parts in the manual=2E