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: Thu, 02 Jan 2020 19:25:10 +0200 Message-ID: <83zhf5ixe1.fsf@gnu.org> References: <87k169okfu.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="224244"; mail-complaints-to="usenet@blaine.gmane.org" Cc: jean.christophe.helary@traduction-libre.org, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 02 18:25:45 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 1in4EC-000wBR-3H for ged-emacs-devel@m.gmane.org; Thu, 02 Jan 2020 18:25:44 +0100 Original-Received: from localhost ([::1]:43396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in4EA-0002Ym-UO for ged-emacs-devel@m.gmane.org; Thu, 02 Jan 2020 12:25:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35831) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in4E5-0002Yg-OC for emacs-devel@gnu.org; Thu, 02 Jan 2020 12:25:38 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1in4E5-0004qh-4b; Thu, 02 Jan 2020 12:25:37 -0500 Original-Received: from [176.228.60.248] (port=4390 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1in4Di-0000Ie-Aq; Thu, 02 Jan 2020 12:25:24 -0500 In-reply-to: <87k169okfu.fsf@igel.home> (message from Andreas Schwab on Thu, 02 Jan 2020 18:08:21 +0100) 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:243870 Archived-At: > From: Andreas Schwab > Date: Thu, 02 Jan 2020 18:08:21 +0100 > Cc: Emacs developers > > On Jan 03 2020, Jean-Christophe Helary wrote: > > > → for some reason, the foo.el buffer is now associated to bar.txt > > You asked for it. Indeed, because the VISIT argument of write-region was non-nil, and that's what it does. It's in the documentation.