From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: write-region bug ? Date: Fri, 3 Jan 2020 02:35:24 +0900 Message-ID: <521A7CC8-3F23-4758-A620-02174FFCD8B2@traduction-libre.org> References: <87k169okfu.fsf@igel.home> <83zhf5ixe1.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) 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="1161"; mail-complaints-to="usenet@blaine.gmane.org" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 02 18:36:40 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 1in4Om-00008p-2y for ged-emacs-devel@m.gmane.org; Thu, 02 Jan 2020 18:36:40 +0100 Original-Received: from localhost ([::1]:43478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in4Ok-0007j8-HC for ged-emacs-devel@m.gmane.org; Thu, 02 Jan 2020 12:36:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36912) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in4OI-0007JJ-5k for emacs-devel@gnu.org; Thu, 02 Jan 2020 12:36:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1in4OG-0002y8-KI for emacs-devel@gnu.org; Thu, 02 Jan 2020 12:36:09 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48821) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1in4OG-0002xi-ER for emacs-devel@gnu.org; Thu, 02 Jan 2020 12:36:08 -0500 X-Originating-IP: 182.251.133.156 Original-Received: from [172.20.10.2] (KD182251133156.au-net.ne.jp [182.251.133.156]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 893EAE0005 for ; Thu, 2 Jan 2020 17:35:59 +0000 (UTC) In-Reply-To: <83zhf5ixe1.fsf@gnu.org> X-Mailer: Apple Mail (2.3608.40.2.2.4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.196 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:243872 Archived-At: > On Jan 3, 2020, at 2:25, Eli Zaretskii wrote: >=20 >> From: Andreas Schwab >> Date: Thu, 02 Jan 2020 18:08:21 +0100 >> Cc: Emacs developers >>=20 >> On Jan 03 2020, Jean-Christophe Helary wrote: >>=20 >>> =E2=86=92 for some reason, the foo.el buffer is now associated to = bar.txt >>=20 >> You asked for it. >=20 > Indeed, because the VISIT argument of write-region was non-nil, and > that's what it does. It's in the documentation. OMG. Well, I did read the thing but it obviously did not parse well... Everything that happened recently makes perfect sense now :) Apologies for the hassle and thank you for the explanation. Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune