From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: desktop-save problems Date: Tue, 14 Jun 2016 18:40:58 -0400 Message-ID: <576087FA.5020106@mousecar.com> 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 1465944214 21239 80.91.229.3 (14 Jun 2016 22:43:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2016 22:43:34 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 15 00:43:26 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 1bCx3M-00034W-JM for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jun 2016 00:43:24 +0200 Original-Received: from localhost ([::1]:38700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCx3L-0002zr-Jb for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2016 18:43:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCx1F-0001DR-B7 for help-gnu-emacs@gnu.org; Tue, 14 Jun 2016 18:41:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCx1B-0006kg-Av for help-gnu-emacs@gnu.org; Tue, 14 Jun 2016 18:41:13 -0400 Original-Received: from mout.perfora.net ([74.208.4.196]:49319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCx1B-0006kS-3h for help-gnu-emacs@gnu.org; Tue, 14 Jun 2016 18:41:09 -0400 Original-Received: from nv.mousecar.net ([96.27.75.237]) by mrelay.perfora.net (mreueus003) with ESMTPSA (Nemesis) id 0LwY1Z-1bUG231bxf-018O7t; Wed, 15 Jun 2016 00:41:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 X-Provags-ID: V03:K0:MFS34yvYKWzOgImgT7YM88adbqJ0SLgXk94MjcWNRkI8TJcn34/ FB3FHDl+0ukz3AzkyQYZlKsGBderFBDOLnwTrfUP/n6pXttIHBxUU89OuJ6TCtr1aJqlA3f t4HEeQMVq/U/ILE4JqUyBN6d5FJHCvanZ66ttpbHeTHEtQoLOgRrbuy1sudyprnO1SETSnP tzWMfEBF5r/bD4pKqZKmA== X-UI-Out-Filterresults: notjunk:1;V01:K0:eviopvwXCyY=:5qf//wZ6+vRitpWIUzKcyY bQyTsUe4HnI3YwzEzaKSh9GRrFI7ukRdeft/VMYS4SX0NAB5Dqz5L8q/R6ZbQXanCfVBg1FPE XD1ACpZcBdsx2AndcDV7d2ZIuawG/oaDKDNrSHP/jWGdbR8BuswTa9lB71p9FqNlMzX2U/2/4 yRndunI0wN8tXel/nmoMWoBSfhe1hRxbCqhzpR4hCROrP1aricWJay1zx2TB0/gwgoUTWLfLQ 2J+wlxPia+tsk/BHrFk0tfgSc0Ag5Jk+kcr2TjfGaIUO1D/FOz61z5+t2tXUaJiMFlJMPVwX1 cFmPej6MrOGlexKeezBy4Eg2Yff00All0k4+SMVQ0CzFdoTRE9ctxdbKaQQBHu4f6wU5TzcoV 3PcjqM2M50M9OP7q/m5xqXQ0ZM7q/6YrdxDJZ0ZKlglBnLU/HzxuQoeKWI2ckh1XVfxmtrS/R 12UWKxqTlqH/dEp1xXP+r9Xyo7I9FStQkd6cFp8obdeyloZxQIX9HjM3DSCT8IRrFHECFRAUX 0APvtxfFzPsqoymDXu91RvIxyntlzCmmRVXa1oDLuaO+9Y4RAsIwfe0STPdQy69WBt3Syckaj iza98p00quhiHycDbVbTHerexsvW+PQ5YDHcKktdOP+qkRIioqy1mTgYKgBQWUK6+BEpgwzgo YPPerh26P8+eZiuiN76u/mLNvZSnhkkAhQnA7F6tnkTC0FIwNxScT4WaOyHfoDpVkCnfwT9Jn K4oL2Yq5K3vLzmDn X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 74.208.4.196 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:110439 Archived-At: Hi, all, Still there are problems with saving sessions. First, I can save a listing (sort of*) by running "desktop-save" and then follow the prompt to select a directory. I always select ~/.emacs.d/ on the local machine. Is there some way I can configure desktop-save to always save to this same directory-- and on the local machine-- and not prompt me each time? If there is no configuration for this, is it relatively easy to edit the code to accomplish this? Second, is there a way for "desktop-save" to be run programmatically whenever I open a new file/buffer or kill a buffer? That is, opening a new buffer would automatically add that buffer to the session file (for me, that's .emacs.desktop), killing a buffer would remove it from the session file. *Third, when I use tramp to open a buffer from a remote machine and then do "desktop-save" etc., that buffer name is written into the session file after "(setq file-name-history" but not under ";; Buffer section"; that is, it isn't given a "(desktop-create-buffer" section in the session file. Consequently, when I next time start emacs, none of the buffers opened with tramp previous session are opened. Many years ago emacs did all the above just fine. Anyone know what happened? Just curious. Thanks for any help.