GNU bug report logs - #1687
Emacs.app -- Warning: desktop file appears to be in use by PID 537.

Previous Next

Packages: ns, emacs;

Reported by: "Gilbert Harman" <harman <at> princeton.edu>

Date: Wed, 24 Dec 2008 02:20:03 UTC

Severity: normal

Done: Adrian Robert <adrian.b.robert <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: "Gilbert Harman" <harman <at> princeton.edu>
Subject: bug#1687 closed by Juanma Barranquero <lekktu <at> gmail.com> (Re: 
 bug#1687: Bug 1687)
Date: Thu, 29 Jan 2009 15:30:03 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs,ns package:

#1687: Emacs.app -- Warning: desktop file appears to be in use by PID 537.

It has been closed by Juanma Barranquero <lekktu <at> gmail.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Juanma Barranquero <lekktu <at> gmail.com> by
replying to this email.


-- 
1687: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1687
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Juanma Barranquero <lekktu <at> gmail.com>
To: "Relson, David" <david.relson <at> orion-sys.com>
Cc: 1687-done <at> debbugs.gnu.org
Subject: Re: bug#1687: Bug 1687
Date: Thu, 29 Jan 2009 16:22:22 +0100
tags 1687 + notabug
quit

On Thu, Jan 29, 2009 at 16:07, Relson, David <david.relson <at> orion-sys.com> wrote:

> I've revised my .emacs file to include:
>
>   (setq desktop-load-locked-desktop t)
>   (desktop-save-mode 1)
>
> And things seem fine.

It will still ask you when exiting.

If you really don't mind the last Emacs standing to win, you can add
this to your .emacs:

;; slightly tested
(add-hook 'kill-emacs-hook
          (lambda ()
            (when (and desktop-dirname desktop-base-file-name)
              (condition-case nil
                  (delete-file (expand-file-name desktop-base-file-name
                                                 desktop-dirname))
                (error nil)))))

    Juanma

[Message part 3 (message/rfc822, inline)]
From: "Gilbert Harman" <harman <at> princeton.edu>
To: emacs-pretest-bug <at> gnu.org
Subject: Emacs.app -- Warning: desktop file appears to be in use by PID 537.
Date: Tue, 23 Dec 2008 21:14:16 -0500
[Message part 4 (text/plain, inline)]
Using Emacs.app, GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, NS
apple-appkit-949.35) of 2008-12-14 on GH-iMAC.local.

If I choose "Quit Emacs" from the "Emacs" menu, the next time I start up
Emacs, I get a warning of the form: Warning: desktop file appears to be in
use by PID 537.  Furthermore, if I then try to send a bug report, Emacs.app
freezes after I enter the above as subject of the bug report.

No problem if instead I had chosen "Exit Emacs" from the "File" menu, or use
C-x C-c.

No problem using "Quit Emacs" in Carbon Emacs: GNU Emacs 22.3.1
(i386-apple-darwin9.5.0, Carbon Version 1.6.0) of 2008-10-27 on
leopard.local. (same machine)

  Gil
[Message part 5 (text/html, inline)]

This bug report was last modified 16 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.