GNU bug report logs - #69930
29.1; onedrive

Previous Next

Package: emacs;

Reported by: Stephen Vavasis <vavasis <at> uwaterloo.ca>

Date: Thu, 21 Mar 2024 14:42:02 UTC

Severity: normal

Found in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 69930 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stephen Vavasis <vavasis <at> uwaterloo.ca>
Cc: 69930 <at> debbugs.gnu.org
Subject: Re: bug#69930: 29.1; onedrive
Date: Thu, 21 Mar 2024 18:55:56 +0200
> From: Stephen Vavasis <vavasis <at> uwaterloo.ca>
> 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.




This bug report was last modified 1 year and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.