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.bugs Subject: bug#69930: 29.1; onedrive Date: Thu, 21 Mar 2024 18:55:56 +0200 Message-ID: <86ttkz1q3n.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10976"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69930@debbugs.gnu.org To: Stephen Vavasis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 21 17:56:47 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rnLig-0002h4-6g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Mar 2024 17:56:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rnLiL-0004KU-Ki; Thu, 21 Mar 2024 12:56:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rnLiJ-0004Ju-06 for bug-gnu-emacs@gnu.org; Thu, 21 Mar 2024 12:56:23 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rnLiI-0001sv-Ml for bug-gnu-emacs@gnu.org; Thu, 21 Mar 2024 12:56:22 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rnLiw-0001Lk-G3 for bug-gnu-emacs@gnu.org; Thu, 21 Mar 2024 12:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Mar 2024 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69930 X-GNU-PR-Package: emacs Original-Received: via spool by 69930-submit@debbugs.gnu.org id=B69930.17110402105149 (code B ref 69930); Thu, 21 Mar 2024 16:57:02 +0000 Original-Received: (at 69930) by debbugs.gnu.org; 21 Mar 2024 16:56:50 +0000 Original-Received: from localhost ([127.0.0.1]:44253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rnLik-0001Kx-GD for submit@debbugs.gnu.org; Thu, 21 Mar 2024 12:56:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rnLii-0001KS-0Q for 69930@debbugs.gnu.org; Thu, 21 Mar 2024 12:56:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rnLhw-0001qW-Mq; Thu, 21 Mar 2024 12:56:01 -0400 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=pHHui/ypaSQTaZwdKWH/lXmenmY9zak5tlWA8RZ+bt4=; b=mDz18HoBxMyO cxm4+sXaSJgokfVSp9TdC9jlvMwIZLNA4j/GhLTKeT4dmbJdl77Jvb3f9CfjP8HZMSef4q65DNioC Ymn9GZKFrq8EXrN2tlz8fNStW2pTX8fZU8jiT4bOb7xJ4LkVj/5oHJHUN967nL0DfEamPegnLfr80 B8u2DzAyhwrjr7hanvRrTkH5I9SscJgunl1pFfsFjsQ/rj8Jjap3M7UmlBSVcndjXpnenJXtOYIpX sYSSyppayHNYIkKUGYahxhJny8Dwhw0925itgcCqaL3mkvpr9aoSixqRSZLgClo7+wBh5ZWY8Qhzf V4mNHDZqTEOMph+KBK+62w==; In-Reply-To: (message from Stephen Vavasis on Thu, 21 Mar 2024 12:45:46 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281909 Archived-At: > From: Stephen Vavasis > Date: Thu, 21 Mar 2024 12:45:46 +0000 > > Emacs does not work properly with the version-history feature of > Microsoft's OneDrive cloud file system. The situation arises for a file > on the C: drive of my Windows machine that sits inside the OneDrive > cloud-sync'd folder. When I edit a file like this on my Windows machine > with emacs, the OneDrive version-history shows only the latest version. > It seems that the Emacs save-button CTRL-X CTRL-S causes OneDrive to > discard older versions. Older versions of the file can still be found > in the Recycled folder in the cloud. This is not an ideal place for > them because Recycled is not easily searched, file names can collide, > and Recycled is periodically purged. Does this happen in "emacs -Q"? If this doesn't happen in "emacs -Q", you should look for some customization of yours that causes this; in particular, Emacs by default never writes old versions of files to the Recycled directory. If "emacs -Q" also shows this behavior, my suggestion is to try setting the option backup-by-copying to a non-nil value.