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: Thu, 9 Jan 2020 23:39:56 +0900 Message-ID: <73117FF5-30B3-475B-8908-BD0C26EEAACF@traduction-libre.org> 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> <219F7B4D-88EA-4EE3-A8EB-244A08F43B63@traduction-libre.org> <81246516-A350-4E2A-9F1C-F80BFA0C0316@traduction-libre.org> <83k160aflg.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="71494"; mail-complaints-to="usenet@blaine.gmane.org" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 09 15:44:38 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.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 1ipZ1U-000fNZ-Pd for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Jan 2020 15:42:56 +0100 Original-Received: from localhost ([::1]:33474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipZ1S-0006Dz-U4 for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Jan 2020 09:42:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57674) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipZ0y-0005n8-S1 for emacs-devel@gnu.org; Thu, 09 Jan 2020 09:42:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipZ0x-000733-GS for emacs-devel@gnu.org; Thu, 09 Jan 2020 09:42:24 -0500 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:37395) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipZ0x-0006kt-91 for emacs-devel@gnu.org; Thu, 09 Jan 2020 09:42:23 -0500 X-Originating-IP: 182.251.134.161 Original-Received: from [172.20.10.2] (KD182251134161.au-net.ne.jp [182.251.134.161]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 7539060015 for ; Thu, 9 Jan 2020 14:42:17 +0000 (UTC) In-Reply-To: <83k160aflg.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.195 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:244163 Archived-At: > On Jan 9, 2020, at 23:07, Eli Zaretskii wrote: >=20 >> From: Jean-Christophe Helary = >> Date: Thu, 9 Jan 2020 21:30:49 +0900 >>=20 >> Conclusion: the user experience is a mess, messages appear to be = contradictory and don't seem to reflect what is actually happening, the = state of the file system in emacs does not match the state of the file = system in Finder, and besides for the very last message, there are no = clues that I've been working on B.txt all that time. >=20 > My proposed conclusion is different: what you did is not meant for > interactive use, Indeed. And my original use was not interactive. I was writing a string = to a file from inside some code. And I just spent a few hours trying to understand what was actually = happening to see how I could eventually have seen from the messages that = what I was doing was wrong and I've just shown that the messages are not = helping at all. As I've written in this thread, the manual too was not helping much, = neither were the doc strings, so I'm not sure from where I could=20 > "have a clear idea what does "visiting a file" means for a buffer and = its relation with the file it visits." Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune