On 2024-05-20 01:03:00 +0200, Vincent Lefevre wrote:
> The issue remains after downgrading the emacs packages to testing
> (1:29.3+1-2).
And it disappears after downgrading the packages of gnupg2 source
to 2.2.40-3.
The issue about the file disappearing does not occur with "emacs -Q"
(I'll have to find the exact cause). This is a more general issue,
but this bug about emacs hanging just makes it much worse.
I'm using
(defun find-backup-file-name (fn)
(list (concat "~/.poub/" (file-name-nondirectory fn) "~")))
and there's actually a backup there, but this should be regarded as
very temporary, as I sometimes clean up this directory. Files should
never expected to be *only* there. I suspect wrong logic in Emacs,
because with the downgraded gnupg, the file disappearance occurs
only after the first save (according to strace, Emacs does a rename
to create the backup instead of copying the file).
--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)