GNU bug report logs -
#5755
24.0.50; desktop should not save tramp buffers
Previous Next
Full log
Message #11 received at 5755 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> 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 <at> 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/
This bug report was last modified 15 years and 115 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.