all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 5755@debbugs.gnu.org
Subject: bug#5755: 24.0.50; desktop should not save tramp buffers
Date: Wed, 24 Mar 2010 06:54:34 +0100	[thread overview]
Message-ID: <87hbo6l0x1.fsf@tux.homenetwork> (raw)
In-Reply-To: <1cljdi76vn.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 23 Mar 2010 23:09:32 -0400")

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/






  reply	other threads:[~2010-03-24  5:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-23 10:06 bug#5755: 24.0.50; desktop should not save tramp buffers Thierry Volpiatto
2010-03-24  3:09 ` Glenn Morris
2010-03-24  5:54   ` Thierry Volpiatto [this message]
2010-03-25  6:19     ` Glenn Morris
2010-03-25 12:59       ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hbo6l0x1.fsf@tux.homenetwork \
    --to=thierry.volpiatto@gmail.com \
    --cc=5755@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.