On Wed, Jun 15, 2011 at 6:49 PM, Eric Schulte <address@hidden>
I was able to reproduce this query-on-close behavior with the following
emacs -Q -l ~/.emacs.d/src/org/lisp/org.el --eval "(desktop-save-mode 1)"
however, I think this prompting behavior is expected, and when I
switched to the following alternative
emacs -Q -l ~/.emacs.d/src/org/lisp/org.el --eval '(desktop-read "~/Desktop/")'
I received no prompt on exit. As far as I can tell there is not an
Org-mode bug here, however I could very well have missed something.
I can not reproduce your example, as I am getting an "can not open org-entities", but have you tried it with org-mode 7.5 as well as the newest git? My point is, that up to a recent git version (probably yesterday), this question was *not* there, but it is there at with the newest git version.
I agree, that emacs should ask where to save if there is no .emacs.desktop if where to save the desktop file, but the final question
"Current desktop was not loaded from a file. Overwrite this desktop file?"
(which I did not see in your example) should not be there as the desktop file was definitely loaded. I attache my emacs.org
file for reference.
Hope this clarifies the issue,
Cheers -- Eric
Rainer M Krug <address@hidden
> when using the newest version of org-mode (Org-mode version 7.5
> (release_7.5.391.gfacc)), I get the following warning when closing emacs,
> "Current desktop was not loaded from a file. Overwrite this desktop file?"
> although it has loaded the desktop file. When I use 7.5 (and te one from I
> guess yesterday), the message did not occur.
> I have (desktop-save-mode 1) on my emacs.org