all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Vavasis <vavasis@uwaterloo.ca>
Cc: 69930@debbugs.gnu.org
Subject: bug#69930: 29.1; onedrive
Date: Thu, 21 Mar 2024 18:55:56 +0200	[thread overview]
Message-ID: <86ttkz1q3n.fsf@gnu.org> (raw)
In-Reply-To: <YT1PR01MB43969B23B8E143EFC4481086D3322@YT1PR01MB4396.CANPRD01.PROD.OUTLOOK.COM> (message from Stephen Vavasis on Thu, 21 Mar 2024 12:45:46 +0000)

> From: Stephen Vavasis <vavasis@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.





  reply	other threads:[~2024-03-21 16:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21 12:45 bug#69930: 29.1; onedrive Stephen Vavasis
2024-03-21 16:55 ` Eli Zaretskii [this message]
2024-03-21 17:35   ` Stephen Vavasis
2024-03-21 17:42     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86ttkz1q3n.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=69930@debbugs.gnu.org \
    --cc=vavasis@uwaterloo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.