all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Angelo Graziosi <angelo.g0@libero.it>
Cc: emacs-devel@gnu.org
Subject: Re: How to stop desktop.lock file creation
Date: Fri, 25 Mar 2022 09:34:13 +0300	[thread overview]
Message-ID: <838rsyczh6.fsf@gnu.org> (raw)
In-Reply-To: <1843424395.177680.1648161239137@mail1.libero.it> (message from Angelo Graziosi on Thu, 24 Mar 2022 23:33:59 +0100 (CET))

> Date: Thu, 24 Mar 2022 23:33:59 +0100 (CET)
> From: Angelo Graziosi <angelo.g0@libero.it>
> 
> It is very annoying that each time I forgot to close Emacs when logout from OS I have to delete that file manually at the next start...
> 
> Please, let me know what to add to the init.el file to avoid that Emacs creates that file...

Why do you need to delete the desktop lock file?  If you are annoyed
by the question Emacs asks when you invoke it the next time, you can
simply customize desktop-load-locked-desktop to the value t, then it
will not ask any questions.

If there's some other problem with that lock file, please describe it,
so we understand what problem you are trying to solve.



  reply	other threads:[~2022-03-25  6:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-24 22:33 How to stop desktop.lock file creation Angelo Graziosi
2022-03-25  6:34 ` Eli Zaretskii [this message]
2022-03-25 22:53   ` Angelo Graziosi
2022-03-26  5:48     ` Eli Zaretskii
2022-03-26 21:30       ` Angelo Graziosi
2022-03-27  5:03         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838rsyczh6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=angelo.g0@libero.it \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.