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.devel Subject: Re: sqlite3 Date: Thu, 16 Dec 2021 10:20:56 +0200 Message-ID: <83wnk5gduf.fsf@gnu.org> References: <87tufmjyai.fsf@gnus.org> <87mtl13vz2.fsf@gnus.org> <87ilvp3tzo.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17867"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 16 09:22:17 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mxm1o-0004OK-T2 for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Dec 2021 09:22:17 +0100 Original-Received: from localhost ([::1]:50922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxm1n-0004R7-FL for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Dec 2021 03:22:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxm0o-00036Q-3j for emacs-devel@gnu.org; Thu, 16 Dec 2021 03:21:14 -0500 Original-Received: from [2001:470:142:3::e] (port=53852 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxm0n-00058L-OV; Thu, 16 Dec 2021 03:21:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Um3HnU3OfdfUDIrQby+putjGzcUMJvKmG2H7Tcst5OA=; b=GMHRy1fnSZYS 1uDuCbzoDWsCWN0T7jaKERHcS75atXPqZIToj17HfE8QDQq5Z0fnGljgBBm7mFQVYd+DaxWDF0ZuR AWdF7KMoZdGW18i0sTVbL3RndVIJooF9Rd5xuOnuwoUOk+GhgOMq8TQbWlLun13mIWIuE9iGmSffL dCPkWl9XYTP+t41mzm+VwMf8aJOg+hVr3ZsEjVziLNy4b3BBLog5Jw59xwcMGgQ0OOm/DTD35hNed kpp6NSMJ7wAvhJ2hB1cNXE0o4BX9Y1BWYrvl3EYYKhNwnUsugkyt+TspXzS724mEWwwnL66IM7ght 4OSirmw3ystYtd+dl5N0ZQ==; Original-Received: from [87.69.77.57] (port=3996 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 1mxm0n-00085v-B5; Thu, 16 Dec 2021 03:21:13 -0500 In-Reply-To: <87ilvp3tzo.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 16 Dec 2021 08:10:35 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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.io gmane.emacs.devel:282133 Archived-At: > From: Lars Ingebrigtsen > Date: Thu, 16 Dec 2021 08:10:35 +0100 > > Lars Ingebrigtsen writes: > > > Things should basically work, but more testing would be nice. > > I'm seeing some oddnesses I don't understand in the `files' backend on > Windows. > > If I write-region to a file, and then rename the file to "foo.value" in > one Emacs, then another Emacs may or may not get a file-error like this: > > (file-error "Opening input file" "Permission denied" "c:/Users/larsi/AppData/Local/Temp/emacs-test-nJO8TU-multisession/files/sbar/sbar.value") Is this code on master? If so, can you show some recipe to reproduce this? > There's probably something about file locking on Windows that I don't > understand. Who does the file locking in this case, and by what means?