[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] bug: using remember can cause data corruption in other buffers
From: |
Samuel Wales |
Subject: |
[Orgmode] bug: using remember can cause data corruption in other buffers |
Date: |
Wed, 25 Mar 2009 20:13:28 -0700 |
Hi Carsten,
The following form in org-remember.el appears to set the global value.
(setq auto-save-visited-file-name t)
This is the right thing for remember buffers, but it should be
buffer-local. It could lead to data corruption in other buffers if
you make changes that you don't intend to be permanent.
I think that
(set (make-variable-buffer-local ...) t)
would fix it.
This might or might not also fix a bug where emacs thinks that another
process is locking the file that is currently being edited. I don't
know why.
Once this is fixed, I recommend that everybody who used git within the
last day or so, and I think set the remember directory, get the fixed
version and check the value of that variable.
Thanks.
--
Myalgic encephalomyelitis denialism is causing death (decades early;
Jason et al. 2006) and severe suffering (worse than nearly all other
diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting
science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
- [Orgmode] bug: using remember can cause data corruption in other buffers,
Samuel Wales <=