all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Persistent emacs.desktop lockfile
@ 2008-06-05  9:04 Arne Schmitz
  2008-06-05  9:59 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Arne Schmitz @ 2008-06-05  9:04 UTC (permalink / raw)
  To: help-gnu-emacs

Hi!

I am using GNU Emacs 22.2.1 with the desktop package. Since a few weeks (I
guess since one of the Debian updates), I always get the message that my
desktop file is being used by another emacs instance. This is untrue and I
have to acknowledge the usage of the desktop file every time I run Emacs.
How can I get this to work again flawlessly? It seems that
the .emacs.desktop.lock file remains after I quit Emacs.

Arne

-- 
[--- PGP key FD05BED7 --- http://www.root42.de/ ---]


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Persistent emacs.desktop lockfile
  2008-06-05  9:04 Persistent emacs.desktop lockfile Arne Schmitz
@ 2008-06-05  9:59 ` Peter Dyballa
  2008-06-05 10:11   ` Arne Schmitz
  2008-06-05 10:41 ` Juanma Barranquero
       [not found] ` <mailman.12689.1212680856.18990.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 6+ messages in thread
From: Peter Dyballa @ 2008-06-05  9:59 UTC (permalink / raw)
  To: Arne Schmitz; +Cc: help-gnu-emacs


Am 05.06.2008 um 11:04 schrieb Arne Schmitz:

> How can I get this to work again flawlessly?

Just quit GNU Emacs, don't kill it!

--
Mit friedvollen Grüßen

   Pete

Remember: use logout to logout.






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Persistent emacs.desktop lockfile
  2008-06-05  9:59 ` Peter Dyballa
@ 2008-06-05 10:11   ` Arne Schmitz
  0 siblings, 0 replies; 6+ messages in thread
From: Arne Schmitz @ 2008-06-05 10:11 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

Am Donnerstag, 5. Juni 2008 11:59:30 schrieben Sie:
> Am 05.06.2008 um 11:04 schrieb Arne Schmitz:
> > How can I get this to work again flawlessly?
>
> Just quit GNU Emacs, don't kill it!

I quit it regularly, with C-x C-c.

Arne

-- 
Dipl.-Inform. Arne Schmitz              Phone   +49 (0)241 80-21817
Computer Graphics Group                 Fax     +49 (0)241 80-22899
RWTH Aachen University                  http://www.rwth-graphics.de
Ahornstrasse 55, 52074 Aachen, Germany

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Persistent emacs.desktop lockfile
  2008-06-05  9:04 Persistent emacs.desktop lockfile Arne Schmitz
  2008-06-05  9:59 ` Peter Dyballa
@ 2008-06-05 10:41 ` Juanma Barranquero
       [not found] ` <mailman.12689.1212680856.18990.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 6+ messages in thread
From: Juanma Barranquero @ 2008-06-05 10:41 UTC (permalink / raw)
  To: Arne Schmitz; +Cc: help-gnu-emacs

> I am using GNU Emacs 22.2.1 with the desktop package. Since a few weeks (I
> guess since one of the Debian updates), I always get the message that my
> desktop file is being used by another emacs instance. This is untrue and I
> have to acknowledge the usage of the desktop file every time I run Emacs.
> How can I get this to work again flawlessly? It seems that
> the .emacs.desktop.lock file remains after I quit Emacs.

If you're sure that no two Emacs instances run at the same time, you
can perhaps work around the problem by setting
`desktop-load-locked-desktop' to t. Though you should try to
investigate why is the lock file not being deleted.

 Juanma




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Persistent emacs.desktop lockfile
       [not found] ` <mailman.12689.1212680856.18990.help-gnu-emacs@gnu.org>
@ 2008-06-05 16:27   ` Arne Schmitz
  2008-06-05 17:31     ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: Arne Schmitz @ 2008-06-05 16:27 UTC (permalink / raw)
  To: help-gnu-emacs

Juanma Barranquero wrote:

>> I am using GNU Emacs 22.2.1 with the desktop package. Since a few weeks
>> (I guess since one of the Debian updates), I always get the message that
>> my desktop file is being used by another emacs instance. This is untrue
>> and I have to acknowledge the usage of the desktop file every time I run
>> Emacs. How can I get this to work again flawlessly? It seems that
>> the .emacs.desktop.lock file remains after I quit Emacs.
> 
> If you're sure that no two Emacs instances run at the same time, you
> can perhaps work around the problem by setting
> `desktop-load-locked-desktop' to t. Though you should try to
> investigate why is the lock file not being deleted.

Ok, good workaround. But how do I debug the stale lock-file?

Arne

-- 
[--- PGP key FD05BED7 --- http://www.root42.de/ ---]


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Persistent emacs.desktop lockfile
  2008-06-05 16:27   ` Arne Schmitz
@ 2008-06-05 17:31     ` Peter Dyballa
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2008-06-05 17:31 UTC (permalink / raw)
  To: Arne Schmitz; +Cc: help-gnu-emacs


Am 05.06.2008 um 18:27 schrieb Arne Schmitz:

> Ok, good workaround. But how do I debug the stale lock-file?

You could rename it ...

--
Mit friedvollen Grüßen

   Pete

Programming today is a race between software engineers striving to  
build bigger and better idiot-proof programs, and the Universe trying  
to produce bigger and better idiots. So far, the Universe is winning.
				– Rich Cook







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-05 17:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05  9:04 Persistent emacs.desktop lockfile Arne Schmitz
2008-06-05  9:59 ` Peter Dyballa
2008-06-05 10:11   ` Arne Schmitz
2008-06-05 10:41 ` Juanma Barranquero
     [not found] ` <mailman.12689.1212680856.18990.help-gnu-emacs@gnu.org>
2008-06-05 16:27   ` Arne Schmitz
2008-06-05 17:31     ` Peter Dyballa

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.