unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* desktop-files-not-to-save ignored for tramp files
@ 2009-02-20 15:09 Nurullah Akkaya
  2009-02-20 16:05 ` Juanma Barranquero
  2009-02-20 17:27 ` Thierry Volpiatto
  0 siblings, 2 replies; 7+ messages in thread
From: Nurullah Akkaya @ 2009-02-20 15:09 UTC (permalink / raw)
  To: Emacs Help List

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

I edit various files using tramp, i am on a slow connection thus want to
avoid saving remote files while exiting.
the default value for desktop-files-not-to-save is "^/[^/:]*:" when i check
the regex using list buffers it does match tramp files
but they are still saved when i exit emacs. is there another way to make
desktop-mode skip tramp files?

i have the following in my .emacs for loading desktop.

;;destop mode
(load "desktop")
(desktop-load-default)
;(desktop-read)
;; automatically save the desktop on exit.
(setq desktop-enable t)
;;save where we left cursor in file on kill
(require 'saveplace)
(setq-default save-place t)

thanks...
-- 
Nurullah Akkaya
http://nakkaya.com

[-- Attachment #2: Type: text/html, Size: 823 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-02-21 11:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-20 15:09 desktop-files-not-to-save ignored for tramp files Nurullah Akkaya
2009-02-20 16:05 ` Juanma Barranquero
2009-02-20 16:18   ` Nurullah Akkaya
2009-02-20 17:02     ` Peter Dyballa
2009-02-20 17:27 ` Thierry Volpiatto
2009-02-21 10:57   ` Michael Albinus
2009-02-21 11:10     ` Thierry Volpiatto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).