[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5755: 24.0.50; desktop should not save tramp buffers
From: |
Thierry Volpiatto |
Subject: |
bug#5755: 24.0.50; desktop should not save tramp buffers |
Date: |
Wed, 24 Mar 2010 06:54:34 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Glenn Morris <rgm@gnu.org> writes:
> Thierry Volpiatto wrote:
>
>> I never been able to make working
>> `desktop-files-not-to-save' and/or `desktop-buffers-not-to-save' (new
>> maybe?).
>
> It seems to work fine for me (tramp files are excluded by default).
> Can you give an example from emacs -Q showing a tramp file being saved
> in the desktop?
emacs -Q
(desktop-save-mode 1)
C-x C-f /su::/etc
C-x C-c ==> desktop file is created when quitting emacs.
Here the desktop file:
,----
| ;; -*- mode: emacs-lisp; coding: emacs-mule; -*-
| ;; --------------------------------------------------------------------------
| ;; Desktop File for Emacs
| ;; --------------------------------------------------------------------------
| ;; Created Wed Mar 24 06:45:54 2010
| ;; Desktop file format version 206
| ;; Emacs version 24.0.50.1
|
| ;; Global section:
| (setq desktop-missing-file-warning nil)
| (setq tags-file-name nil)
| (setq tags-table-list nil)
| (setq search-ring nil)
| (setq regexp-search-ring nil)
| (setq register-alist nil)
| (setq file-name-history '("~/"))
|
| ;; Buffer section -- buffers listed in same order as in buffer list:
| (desktop-create-buffer 206
| nil
| "~"
| 'dired-mode
| nil
| 4228
| '(nil nil)
| t
| '("/home/thierry/")
| nil)
|
| (desktop-create-buffer 206
| nil
| "etc"
| 'dired-mode
| nil
| 199
| '(nil nil)
| t
| '("/su:root@tux.homenetwork:/etc/")
| nil)
`----
/su::/etc have been saved.
>> In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.7)
>> of 2010-03-21 on tux
>
--
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/