Necessary gnus cloud change for gnus-cloud-download-all-data to not fail on backup files

Steinar Bang <[email protected]> Sat, 23 May 2026 19:36:17 +0200
Newsgroups gmane.emacs.gnus.general
Organization Probably a good idea
Message-ID <[email protected]>
To get gnus cloud sync read to work I need one little tweak.

Without this change gnus-cloud-download-all-data will stop with an error
message like this:
 lsp--on-rename-file: File already exists: /home/sb/News/nntp+news.gmane.io:gmane.linux.debian.user.SCORE~

And I need this change on gnus in Emacs 30.1 as well
 https://github.com/steinarb/emacs-gnus-cloud-sb/commit/210309098625ca643cbc2ecb6e56b619da84b3f0

The way I do it, is every time I start using a new emacs version, is:
 - Create a branch of the release's version or tag and push to by
   emacs-gnus-cloud-sb repo
 - Cherry pick the above commit (or a predecessor or a descendent... I
   have done this for quite a few emacs releases now)
 - Then I need this in my .emacs:
     ;; Git version of Gnus to get gnus-cloud fixes
     (let ((git-emacs-directory
            (concat git-workspace "/emacs")))
           (push (concat git-emacs-directory "/lisp/gnus") load-path))

But it would be nice not to have to do it.

I have some lines in emacs from before. No idea if I'm over the limit
and I haven't turned in paper.

But I am sure it would be within rules to look at the above commit and
be inspired.  It is just a single line after all.

Thanks!