From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: emacs.desktop non-functional Date: Fri, 18 Mar 2016 22:20:33 +0200 Message-ID: <83lh5f8rn2.fsf@gnu.org> References: <56EA0AA1.2020101@mousecar.com> <83fuvpai3i.fsf@gnu.org> <56EB1C37.3030308@mousecar.com> <8360wk9pvb.fsf@gnu.org> <56EC5550.5030801@mousecar.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1458332483 13860 80.91.229.3 (18 Mar 2016 20:21:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2016 20:21:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 18 21:21:18 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ah0ta-0001KR-3a for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Mar 2016 21:21:18 +0100 Original-Received: from localhost ([::1]:46130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah0tZ-000351-EW for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Mar 2016 16:21:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah0tN-00033d-FU for help-gnu-emacs@gnu.org; Fri, 18 Mar 2016 16:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ah0tJ-0003T8-FA for help-gnu-emacs@gnu.org; Fri, 18 Mar 2016 16:21:05 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah0tJ-0003T4-CJ for help-gnu-emacs@gnu.org; Fri, 18 Mar 2016 16:21:01 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1651 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ah0tI-0003zG-LF for help-gnu-emacs@gnu.org; Fri, 18 Mar 2016 16:21:01 -0400 In-reply-to: <56EC5550.5030801@mousecar.com> (message from ken on Fri, 18 Mar 2016 15:21:52 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109624 Archived-At: > From: ken > Date: Fri, 18 Mar 2016 15:21:52 -0400 > > > Do you have a .emacs.desktop file created when you exit a session? In > > what directories on your system do you have a file by that name? And > > what happens if you invoke desktop-save manually from a running Emacs > > session -- does that file get created/updated somewhere? > > > > Also, what exactly does it mean the "functionality is gone" in your > > case? What did you try to do and what happened? > > https://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Emacs-Sessions.html I don't think we will make any progress in investigating the reason(s) that prevent desktop from working by quoting from the manual. I asked the questions and hoped that I will get detailed answers. Like how do you invoke Emacs, in which directory, etc. This is important information that is supposed to lead to the problem. > "Use the desktop library to save the state of Emacs from one session to > another. Once you save the Emacs desktop—the buffers, their file names, > major modes, buffer positions, and so on—then subsequent Emacs sessions > reload the saved desktop. By default, the desktop also tries to save the > frame and window configuration...." > > It doesn't do any of that. Please note that the manual on-line is for version 24.5, whereas you have 24.3. So not all of what is described is supposed to be working in your version. Perhaps consider upgrading to 24.5. > Whenever I start emacs (not emacs-client) I > get at most one file (buffer) from a previous session loaded. What if you invoke desktop-read by hand -- does that restore the previous session's buffers? > Yes, I do have multiple .emacs.desktop files, this because I'm prompted > for a directory when I do manually "M-x desktop-save". Which one of those multiple files gets updated when you exit Emacs? > I don't understand the merit in having multiple such files (and by > extension the purpose of the prompting) if I have no way, AFAIK, to > pick one other than whichever is the default when I load emacs. You can save a different desktop in several directories, and then load one of them if you start Emacs in the directory where you saved desktop. > Eli (or anyone), is there a way to get desktop-save to work > automatically...? It works for me. Something in your case interferes, and the question is why. I don't yet have the answer.