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: desktop-save problems Date: Thu, 14 Jul 2016 07:30:30 -0400 Message-ID: <578777D6.4040606@mousecar.com> References: <576087FA.5020106@mousecar.com> <831t3yebgf.fsf@gnu.org> <57869B44.7050907@mousecar.com> <83poqh8fxc.fsf@gnu.org> <5786BF9C.3070701@mousecar.com> <83k2gp7xm8.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: 7bit X-Trace: ger.gmane.org 1468495893 9670 80.91.229.3 (14 Jul 2016 11:31:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2016 11:31:33 +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 Thu Jul 14 13:31:24 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 1bNerQ-0006M0-6s for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jul 2016 13:31:20 +0200 Original-Received: from localhost ([::1]:52932 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNerP-00015C-3M for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jul 2016 07:31:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNeqs-000156-Gg for help-gnu-emacs@gnu.org; Thu, 14 Jul 2016 07:30:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNeqm-0006tt-6Q for help-gnu-emacs@gnu.org; Thu, 14 Jul 2016 07:30:45 -0400 Original-Received: from mout.perfora.net ([74.208.4.197]:55269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNeql-0006sn-Ug; Thu, 14 Jul 2016 07:30:40 -0400 Original-Received: from nv.mousecar.net ([96.27.75.237]) by mrelay.perfora.net (mreueus003) with ESMTPSA (Nemesis) id 0MGQI2-1bao0M0xsm-00DJPh; Thu, 14 Jul 2016 13:30:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: <83k2gp7xm8.fsf@gnu.org> X-Provags-ID: V03:K0:u8iF8FZ8zEtO6R2Gwqyg9jc0NgvpUTzJ8GlpWGO0+YZnzMiRRxU QyJjkouD/dG8KesWC0pUkNj2Qgk/QPplrl4lbjMBWF2SoMb9Wgm4zEYq70oWLQPK0YZhJCg CaKcRQP0IV0O6nRFfAwfcX2B1LDlluwEipLFWMt1iMzC5DUyNNdmWtexQXmF9TDKP8IUmqD nqAdFU+OwQiBpYDNIvwLg== X-UI-Out-Filterresults: notjunk:1;V01:K0:TaNkHEGrDRM=:ABg3ZYzh2tRYdtX43ib4L8 khk75gB2vcinIH0SGkL7rvS8y3fKPFUhugAm3kCylHhghk1aTN3gtwJveB7fu23+DmIRS01YW iiW218eDlD59TEGQv31w5viTUL5kvi+NSj3fb/V5/g39LYW7YL1zCwr2ZX6UMdL+//br/z0yK KbBt3skmGReyGoiuSEB7qRjw4FrF099HReC/wqe+XHgmwuCiWZk07xZKNZ8bWvr68m9GRYpCt OUX+VMixgAVzri6t9fp9QaALUccxHGdEWkSv5H+8T/OdvB0Xk3JvW5MdBawV4x3JIQvh0SBsZ r/gzjctKi7c1xQ3j75uCjdl4HZKRlEPIStBGfSKsDfsX/bWcj3WjCyypOq7NjDZKCVStqr60t eaWbRQCl6IPiWfduughTOT0Z5N0H5fldLEaciXHc0hlAf3vp8RIbWt6MxmHv3ENmh2L9VGSS3 3IoV7oTrJEVZuUYLu4h06p46kAhq/vJzs6AzWDJoYL6Fp6cnoJvX/XmYS5cOZGc9bfDIo0fa+ 5gKPIz9QbeLD9phl310mYFMBDfqMBLE7bHohDSj/L2VOQqrKgVvU/YnSB3hdwQKcPviDV+QnB EAYSiztIKNs8En2EpXpsXxvQMDeoUI9w5tQphuqM9t6XuBrm4EjvXgF1shqsLhh5vwC+V2AR5 48mEU2/gyZUSNefTfg+oC4r2K9i55Tk9VgbUz68T2WTnam43SxUoEe2b0c7bh8NE36OBjaMp/ qtsQHWYMn0aoNsQr 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.21 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" Xref: news.gmane.org gmane.emacs.help:110835 Archived-At: On 07/13/2016 10:38 PM, Eli Zaretskii wrote: >> From: ken >> Date: Wed, 13 Jul 2016 18:24:28 -0400 >> >> On 07/13/2016 04:02 PM, Eli Zaretskii wrote: >>>> From: ken >>>> Date: Wed, 13 Jul 2016 15:49:24 -0400 >>>> >>>>> The way I do it is turn on desktop-save-mode, then Emacs will save the >>>>> desktop when I exit automatically. >>>> This means that the desktop isn't saved when the system crashes, e.g., >>>> the power suddenly goes out, yes? >>> If this is frequent enough, you can save manually at strategic times. >> Years ago desktop-save and desktop-read both worked properly out of the >> box... didn'tl even have to invoke anything. It just kept track of what >> files/buffers were open and opened them again in the next session, >> whether the previous session was graceful or a crash... files opened via >> tramp too. How/Why did things get messed up? > It didn't. It still works the same for me, except now it also saves > and restores frame and window configuration. Actually it did, at least for me. I used it all the time, both at home and at work. I remember working with the tramp maintainer guy so emacs would work over a proxy server and even files edited via proxy were saved to the desktop. Very cool stuff. I almost got our entire department at work to switch the standard editor (what we were all forced to use) from vi to emacs. But there was too much intransigence. I've never gotten frame and window configuration to be saved between sessions though. Word was, there wasn't enough support for it in the window manager. So if that's working in a future version, that would be excellent. Which emacs version does that happen, if you happen to know? >>>> Also, in my emacs (24.3.1) I'm always prompted for the directory to save >>>> the desktop in. Is there a way to specify one directory where the >>>> desktop is saved so I don't have this prompt come up? >>> It doesn't prompt me, it uses the ~/.emacs.d/ directory by default; >>> the directory from which the desktop was read overrides that. I'm >>> never asked any such questions. Something is wrong with your setup. >> This is how it works when I start emacs with "emacs -Q". > Then I suggest to look into your customizations for something that > defeats that. All desktop customizations are set to Standard (unchanged) except these: Desktop Files Not To Save - None Desktop Save - Always save Desktop Save Mode - On Is there something which needs to be changed from Standard to avoid that prompt? > ....