From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: How to stop desktop.lock file creation Date: Fri, 25 Mar 2022 23:53:19 +0100 (CET) Message-ID: <1960767723.287175.1648248799870@mail1.libero.it> References: <1843424395.177680.1648161239137@mail1.libero.it> <838rsyczh6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20714"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 25 23:53:59 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXsoh-0005BG-3l for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Mar 2022 23:53:59 +0100 Original-Received: from localhost ([::1]:35370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXsog-00016v-1W for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Mar 2022 18:53:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXso9-0000Pm-FL for emacs-devel@gnu.org; Fri, 25 Mar 2022 18:53:25 -0400 Original-Received: from smtp-17-i2.italiaonline.it ([213.209.12.17]:43963 helo=libero.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXso7-0000ht-JS for emacs-devel@gnu.org; Fri, 25 Mar 2022 18:53:24 -0400 Original-Received: from oxapps-11-063.iol.local ([10.101.8.73]) by smtp-17.iol.local with ESMTPA id Xso3nmNyz8sytXso3n5DHW; Fri, 25 Mar 2022 23:53:20 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1648248800; bh=FM6aCLXy2m8xyf7PBIdoreE6aO61xtOfDbZcG88hQM8=; h=From; b=NrTEmoWaa2I8z13s7wD44wT236570znYPlmESgHO24ujO15CtjICe48dZOYBX9Gr3 B1OmOQ5eOcceWHsZ4/vvC/qg4Tewghhohl+KPJ5kRgYKoHmfXJuX61MtmxdruOsIC1 LeUWt50W1B2tKxNfaENBSsY9vPa1nC3GvTeRCDDfsXc84paqEUEOW/qKSicrevzj8t q/dO4cSwsv7EIcfJArwfPnSaS055qa3xw5FJXCbYVPffeW+HfiyCS0lCj6dB4XpHml 9PIAw/UTtlxOtiQFOewyrz97NNVaBlDwEzI8qN8D35C7+oT+D4i//2kyd+bSvGE/dv sntTaxuFjEssw== X-CNFS-Analysis: v=2.4 cv=KqWIZUaN c=1 sm=1 tr=0 ts=623e47e0 cx=a_exe a=mMekBfHVlu8C64H7xmYZHA==:117 a=u9EvwOgZ-24A:10 a=IkcTkHD0fZMA:10 a=qNOUexd4iEoA:10 a=xZlw3YyN8l5acqEEWrwA:9 a=QEXdDO2ut3YA:10 In-Reply-To: <838rsyczh6.fsf@gnu.org> X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.5-Rev39 X-Originating-IP: 79.36.221.205 X-Originating-Client: open-xchange-appsuite x-libjamsun: NzYT1px1kLIvmjmTwXQhJhJ0Cyc1f2DI x-libjamv: 5VNrFJzK810= X-CMAE-Envelope: MS4xfKAxTZwRp7M93pWV2VP70y99vcbBNHdu+THesFHRKLE64qJZdcG41wPpRPLskQTt5w9Vx3ZlgiUJbpPHsVf6zzvQkBrxEmzE4gUX/+TYJaBG5lyH0uHY 3brn9c68yu3fhlTjOx4z/2+o5GArw4v/YZ/zCrQfAt/v0dVrZoKN52VCxd5Bl1Xk8fykp4Qsdc15BN/Y3xdvP+fcJbk3Va6Lu/PnYDWr+pBMHzvqEayqUmLo Received-SPF: pass client-ip=213.209.12.17; envelope-from=angelo.g0@libero.it; helo=libero.it X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287462 Archived-At: > Il 25/03/2022 07:34 Eli Zaretskii ha scritto: > > > > Date: Thu, 24 Mar 2022 23:33:59 +0100 (CET) > > From: Angelo Graziosi > > > > 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 The alternative is to accept to load it or not but why should i play this game.. > 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. You do not say if Emacs can be configured to avoid its creation, i.e. the creation of the 'desktop.lock' file.. > > If there's some other problem with that lock file, please describe it, > so we understand what problem you are trying to solve. I don't like it, I don't see its usefulness in my case, I am the only user of this PC and the only user of Emacs and I only start it once. Emacs worked the same before its introduction...