emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] BUG: Newest org-mode interferes with desktop save


From: Rainer M Krug
Subject: Re: [O] BUG: Newest org-mode interferes with desktop save
Date: Wed, 15 Jun 2011 20:23:32 +0200



On Wed, Jun 15, 2011 at 7:35 PM, Nick Dokos <address@hidden> wrote:
Eric Schulte <address@hidden> wrote:


> I was able to reproduce this query-on-close behavior with the following
> minimal config.
>
> #+begin_src sh
>   emacs -Q -l ~/.emacs.d/src/org/lisp/org.el --eval "(desktop-save-mode 1)"
> #+end_src
>
> however, I think this prompting behavior is expected, and when I
> switched to the following alternative
>
> #+begin_src sh
>   emacs -Q -l ~/.emacs.d/src/org/lisp/org.el --eval '(desktop-read "~/Desktop/")'
> #+end_src
>
> 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.
>

> Rainer M Krug <address@hidden> writes:
>
> > 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.
> >


Maybe this will help?

,----
| desktop-save is a variable defined in `desktop.el'.
| Its value is ask-if-new
|
| Documentation:
| Specifies whether the desktop should be saved when it is killed.
| A desktop is killed when the user changes desktop or quits Emacs.
| Possible values are:
|    t             -- always save.
|    ask           -- always ask.
|    ask-if-new    -- ask if no desktop file exists, otherwise just save.
|    ask-if-exists -- ask if desktop file exists, otherwise don't save.
|    if-exists     -- save if desktop file exists, otherwise don't save.
|    nil           -- never save.
| The desktop is never saved when `desktop-save-mode' is nil.
| The variables `desktop-dirname' and `desktop-base-file-name'
| determine where the desktop is saved.
`----

Might be, but my point is, that the behaviour has changed in org-mode - and that should not be.

Cheers,

Rainer
 

Nick



--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax (F):       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      address@hidden

Skype:      RMkrug


reply via email to

[Prev in Thread] Current Thread [Next in Thread]