From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: emacs.desktop non-functional Date: Fri, 18 Mar 2016 15:21:52 -0400 Message-ID: <56EC5550.5030801@mousecar.com> References: <56EA0AA1.2020101@mousecar.com> <83fuvpai3i.fsf@gnu.org> <56EB1C37.3030308@mousecar.com> <8360wk9pvb.fsf@gnu.org> Reply-To: gebser@mousecar.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1458328944 24299 80.91.229.3 (18 Mar 2016 19:22:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2016 19:22:24 +0000 (UTC) To: Eli Zaretskii , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 18 20:22:17 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 1agzyS-0002Ok-3r for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Mar 2016 20:22:16 +0100 Original-Received: from localhost ([::1]:45924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agzyR-000721-Cy for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Mar 2016 15:22:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agzyG-00071v-1b for help-gnu-emacs@gnu.org; Fri, 18 Mar 2016 15:22:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agzyF-0004Jg-1y for help-gnu-emacs@gnu.org; Fri, 18 Mar 2016 15:22:03 -0400 Original-Received: from mout.perfora.net ([74.208.4.197]:55265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agzy9-0004Ij-U0; Fri, 18 Mar 2016 15:21:58 -0400 Original-Received: from nv.mousecar.net ([66.219.160.17]) by mrelay.perfora.net (mreueus003) with ESMTPSA (Nemesis) id 0M5ehC-1ZsSiJ30Se-00xbO2; Fri, 18 Mar 2016 20:21:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <8360wk9pvb.fsf@gnu.org> X-Provags-ID: V03:K0:SBIirbOM/xZyf5mRQE5ZGg1WXT9dG1b2agh6q+42BirUG/zUI6f hzo0d6gdRwDjuZerW9xE8TAl8qRL4V2w7cY6KdULEHZLIAfnHUtnK2tonpl9ywbR3iq+UeF Gl2Z0b8PtiZhSeURJaf56R0plNj5/uY+dLFenx4wme0fAZCVkqeiJ2Vkbk2u0Kg2MFZLWpW d0kEthk71wQmi6LQ7MFPQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:pFMhDxoTNq4=:Rz8LEU5R2nbD89+O/9XdSf qtchqWrRPW+y82PdpKvQByHsb8L6estREh+an9JBpHSeTIBmwFrtiAcyL9JYYTM5RE0D2l+AP wB0W8KN1sQ8rvSy2VesQTzWWvsBrhW4APuADlU2iCJcSz6d+tYF9Ped1mtkePxKokyfcVnC+6 vvnVy/iZ+WbLX4gsT+MxBdu2/1ckcAuRgMV0m+arRvylKKwionwz4UhWdl56O+QJfUoEXEmv2 Mw+kBPF//NeeXuIn0gfjIC6e4bKsPngse/81aDiwf3aYjwHnD0ocaSS7uFwN3aSjif7b4d0LW zsqbKNY73s/+tSfsDr6U38Y7CHNr/eZPSl4Zd0i47eWdbrOGsL0xvSzwVB/vQr9HQXoxs6/H6 jJGT89uy7xHWrJTQoKwU16ksm+/nPRRwRHmiaLvdZnB/5qtxil5uiDiUhruIHGJpRYUhT2D+d 59FTpWFZ7oN9IdiS/hNcUIyFAEK3Qs0PurCMA7YRFFAhvX6cFOgDzq6dnbc1Zh+o4YBkd9HWc D9CMsqVH+5pGimbj1ab8I7/N6EZb/EvtfnTRhAJjQLH5yqcxtWW9L1YeIs/oDCmRnTTvaa0pF z+z6eEr5Dcgj7G5ofJMkMw5OQdvO/XVmMf8mg8R2LPqS/amySB5tZRy4z5ZSudPJDZusQPx0I TKiVJBO9UTCHt+rWUipAQMjBpVBRQV+5f8XVs5nkiTj7sQxEj6BWTe23dXRXj43qibOQkSrKN mlvuDX1LiaS6xijM X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 74.208.4.197 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:109620 Archived-At: On 03/18/2016 04:01 AM, Eli Zaretskii wrote: >> From: ken >> Date: Thu, 17 Mar 2016 17:05:59 -0400 >> >> in ~/.emacs: >> >> (desktop-save-mode 1) > > This looks OK. I have the same here, and it does work for me. > > 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 "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. Whenever I start emacs (not emacs-client) I get at most one file (buffer) from a previous session loaded. So of course too the frame and window config is not reloaded either-- because there's just one buffer loaded. Saving the multiple frames and window configuration has never worked for me in the entire history of session-saving... going back five (?) ten (?) years... since I've been using it. Yes, I do have multiple .emacs.desktop files, this because I'm prompted for a directory when I do manually "M-x desktop-save". 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. Eli (or anyone), is there a way to get desktop-save to work automatically...? that is, to add to the listing in.emacs.desktop the name of a file when it's opened and, conversely, taken out when the file is closed (~= buffer is killed)? That's the behavior I was expecting. tnx for the f1