I'm in a strange situation.
Emacs automatically backup all of my files except for some of my orgmode files. And I can't understand why.
Do you have any idea how I can investigate and fix this?
If your org files are under version control (which I would recommend) then
t. This makes sense as my
.org files are all under version control and don't need the
~ backup. (I use Version Control Always and SRC - Simple Revision Control
If you really want the
~ backups as well, then
(setq-local backup-inhibited nil).
The last time I ran into similar problems was when some of my file or directory names matched a magic variable which is supposed to prevent saving of unwanted things. In my particular case, the project's directory was called something like
com.example.githook and the
completion-ignored-extensions. It's been a while, though, so I'm not 100% it was that variable.
So, while I can't explain why your files are not backed up, maybe this gives you a hint at what to search for: do the filenames of the files which are not backed up look suspicious?