* bug#1687: Bug 1687 @ 2009-01-29 13:55 Relson, David 2009-01-29 14:31 ` Juanma Barranquero 0 siblings, 1 reply; 9+ messages in thread From: Relson, David @ 2009-01-29 13:55 UTC (permalink / raw) To: 1687 Yes, I have the same problem as originally reported. I have a .emacs file in my ~/ directory, i.e. c:\user. With the following line: (desktop-read) The problem occurs. Without the line, the problem goes away. The problem occurs when the above line is the _only_ line in .emacs My original .emacs file uses desktop-read in the following manner: ;; This enables saving the current desktop on shutdown. ;; The ESC-x desktop-save command must be given once ;; for this to work in perpetuity. (desktop-load-default) (desktop-read) I've run the desktop-save command but that didn't solve the problem. FWIW, desktop-save put its .emacs.desktop in c:/Program Files/GNU/ntemacs22/bin (which seems reasonable). I copied the .emacs.desktop file to c:/user but it didn't help. ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#1687: Bug 1687 2009-01-29 13:55 bug#1687: Bug 1687 Relson, David @ 2009-01-29 14:31 ` Juanma Barranquero 2009-01-29 14:39 ` Relson, David 0 siblings, 1 reply; 9+ messages in thread From: Juanma Barranquero @ 2009-01-29 14:31 UTC (permalink / raw) To: Relson, David, 1687 > I have a .emacs file in my ~/ directory, i.e. c:\user. With the > following line: > > (desktop-read) > > The problem occurs. Without the line, the problem goes away. Does it also happen if you use (desktop-save-mode 1) instead? Juanma ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#1687: Bug 1687 2009-01-29 14:31 ` Juanma Barranquero @ 2009-01-29 14:39 ` Relson, David 2009-01-29 14:54 ` Juanma Barranquero 0 siblings, 1 reply; 9+ messages in thread From: Relson, David @ 2009-01-29 14:39 UTC (permalink / raw) To: Juanma Barranquero, 1687 With two lines in .emacs, i.e. (desktop-load-default) (desktop-save-mode 1) The PID warning appears when I open a second copy of emacs. I used to be able to open multiple copies of emacs without warnings. ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#1687: Bug 1687 2009-01-29 14:39 ` Relson, David @ 2009-01-29 14:54 ` Juanma Barranquero 2009-01-29 15:07 ` Relson, David 0 siblings, 1 reply; 9+ messages in thread From: Juanma Barranquero @ 2009-01-29 14:54 UTC (permalink / raw) To: Relson, David; +Cc: 1687 > With two lines in .emacs, i.e. > > (desktop-load-default) > (desktop-save-mode 1) Why do you use `desktop-load-default'? Have you tried just with `desktop-save-mode'? > I used to > be able to open multiple copies of emacs without warnings. Yes. Opening multiple copies was allowed before, but it leads to the last Emacs to exit clobbering the desktop file of the previous instances. You can set `desktop-load-locked-desktop' to t and Emacs won't ask you when loading the desktop (though it will still ask before overwriting the previous instance's desktop while exiting). Juanma ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#1687: Bug 1687 2009-01-29 14:54 ` Juanma Barranquero @ 2009-01-29 15:07 ` Relson, David [not found] ` <f7ccd24b0901290722j12f71d38u511d9f627c14d06a@mail.gmail.com> 0 siblings, 1 reply; 9+ messages in thread From: Relson, David @ 2009-01-29 15:07 UTC (permalink / raw) To: Juanma Barranquero; +Cc: 1687 The desktop invocations were part of the standard .emacs file when I started this job several years ago. Since they worked, I never paid attention to them. Having multiple copies overwrite the previous desktop when exiting is behavior I don't mind. I've revised my .emacs file to include: (setq desktop-load-locked-desktop t) (desktop-save-mode 1) And things seem fine. Ciao, David ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <f7ccd24b0901290722j12f71d38u511d9f627c14d06a@mail.gmail.com>]
* bug#1687: Emacs.app -- Warning: desktop file appears to be in use by PID 537. @ 2008-12-24 2:14 ` Gilbert Harman 2009-01-29 15:30 ` bug#1687: marked as done (Emacs.app -- Warning: desktop file appears to be in use by PID 537.) Emacs bug Tracking System 0 siblings, 1 reply; 9+ messages in thread From: Gilbert Harman @ 2008-12-24 2:14 UTC (permalink / raw) To: emacs-pretest-bug [-- Attachment #1: Type: text/plain, Size: 658 bytes --] 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 [-- Attachment #2: Type: text/html, Size: 748 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#1687: marked as done (Emacs.app -- Warning: desktop file appears to be in use by PID 537.) 2008-12-24 2:14 ` bug#1687: Emacs.app -- Warning: desktop file appears to be in use by PID 537 Gilbert Harman @ 2009-01-29 15:30 ` Emacs bug Tracking System 0 siblings, 0 replies; 9+ messages in thread From: Emacs bug Tracking System @ 2009-01-29 15:30 UTC (permalink / raw) To: Juanma Barranquero [-- Attachment #1: Type: text/plain, Size: 904 bytes --] Your message dated Thu, 29 Jan 2009 16:22:22 +0100 with message-id <f7ccd24b0901290722j12f71d38u511d9f627c14d06a@mail.gmail.com> and subject line Re: bug#1687: Bug 1687 has caused the Emacs bug report #1687, regarding Emacs.app -- Warning: desktop file appears to be in use by PID 537. to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) -- 1687: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1687 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems [-- Attachment #2: Type: message/rfc822, Size: 4795 bytes --] [-- Attachment #2.1.1: Type: text/plain, Size: 658 bytes --] 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 [-- Attachment #2.1.2: Type: text/html, Size: 748 bytes --] [-- Attachment #3: Type: message/rfc822, Size: 3171 bytes --] From: Juanma Barranquero <lekktu@gmail.com> To: "Relson, David" <david.relson@orion-sys.com> Cc: 1687-done@emacsbugs.donarmstrong.com Subject: Re: bug#1687: Bug 1687 Date: Thu, 29 Jan 2009 16:22:22 +0100 Message-ID: <f7ccd24b0901290722j12f71d38u511d9f627c14d06a@mail.gmail.com> tags 1687 + notabug quit On Thu, Jan 29, 2009 at 16:07, Relson, David <david.relson@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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#1687: Bug 1687 [not found] ` <f7ccd24b0901290722j12f71d38u511d9f627c14d06a@mail.gmail.com> 2008-12-24 2:14 ` bug#1687: Emacs.app -- Warning: desktop file appears to be in use by PID 537 Gilbert Harman @ 2009-01-29 15:48 ` Juanma Barranquero 1 sibling, 0 replies; 9+ messages in thread From: Juanma Barranquero @ 2009-01-29 15:48 UTC (permalink / raw) To: Relson, David; +Cc: 1687 reopen 1687 quit Oops. Closed by mistake. The OP's problem is not fixed. Juanma ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#1687: Emacs.app -- Warning: desktop file appears to be in use by PID 537.
@ 2009-01-21 19:01 Adrian Robert
0 siblings, 0 replies; 9+ messages in thread
From: Adrian Robert @ 2009-01-21 19:01 UTC (permalink / raw)
To: 1687; +Cc: Gilbert Harman
> 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.
I can't reproduce this here on 2009/01/21. How are you starting
Emacs in these cases?
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-01-29 15:48 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-01-29 13:55 bug#1687: Bug 1687 Relson, David 2009-01-29 14:31 ` Juanma Barranquero 2009-01-29 14:39 ` Relson, David 2009-01-29 14:54 ` Juanma Barranquero 2009-01-29 15:07 ` Relson, David [not found] ` <f7ccd24b0901290722j12f71d38u511d9f627c14d06a@mail.gmail.com> 2008-12-24 2:14 ` bug#1687: Emacs.app -- Warning: desktop file appears to be in use by PID 537 Gilbert Harman 2009-01-29 15:30 ` bug#1687: marked as done (Emacs.app -- Warning: desktop file appears to be in use by PID 537.) Emacs bug Tracking System 2009-01-29 15:48 ` bug#1687: Bug 1687 Juanma Barranquero -- strict thread matches above, loose matches on Subject: below -- 2009-01-21 19:01 bug#1687: Emacs.app -- Warning: desktop file appears to be in use by PID 537 Adrian Robert
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.