[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] bugs in org-remember-backup-directory
From: |
Samuel Wales |
Subject: |
[Orgmode] bugs in org-remember-backup-directory |
Date: |
Sat, 25 Apr 2009 15:08:01 -0700 |
I noticed the following regarding
org-remember-backup-directory:
1) auto-saving does not save contents
- solution: put (auto-save-mode 1) before or after (not
sure which) the call to org-set-local in the
following lines in org-remember:
# (expand-file-name
# (format-time-string "remember-%Y-%m-%d-%H-%M-%S")
# org-remember-backup-directory))
# (save-buffer)
# (org-set-local 'auto-save-visited-file-name t))
# (when (save-excursion
2) save-buffer is called before there are any contents
- this causes files without useful content to stick
around in the dir if the buffer is killed or
something.
- solution: don't save the buffer; let auto-saving do
that work. will this work?
3) if you have auto-save-file-name-transforms set,
auto-saving is done according to that variable instead
of saving in place.
- solution: is this an emacs bug? i am not sure. the
auto-saving should be done in place, saving in
org-remember-backup-directory and not saving in the
place where the transforms variable tells it to save.
perhaps each user can kludge transforms or perhaps
emacs needs fixing? i have reached debugging ability
limit.
Thanks.
--
Myalgic encephalomyelitis denialism is causing death and severe suffering
worse than MS. Greed is corrupting science into foul nonsense. Anybody can
get the disease at any time permanently. Do science and justice matter to
you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Orgmode] bugs in org-remember-backup-directory,
Samuel Wales <=