(defadvice remember-finalize (before org-save-and-detach activate)
(when buffer-file-name
(save-buffer)
(setq buffer-file-name nil)))
(add-hook 'remember-mode-hook
(lambda ()
(org-set-local 'change-major-mode-with-file-name nil)
(write-file "~/path/to/remember_backup.org")
(org-set-local 'remember-buffer (buffer-name)))
'append)
I don't think I will add this to org.el because it seems to me
that you are, in some sense, using remember out of its realm by making
is a work buffer instead of a quick capture-or-note buffer. An
alternative work flow would be to use remember to set up an entry, file it,
go to the location and then work with the entry in place.
Anyway, the above code should do the trick.
Hope this helps.
- Carsten