From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nurullah Akkaya Newsgroups: gmane.emacs.help Subject: desktop-files-not-to-save ignored for tramp files Date: Fri, 20 Feb 2009 17:09:46 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636c5a73d2217d004635b0b42 X-Trace: ger.gmane.org 1235142726 848 80.91.229.12 (20 Feb 2009 15:12:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 15:12:06 +0000 (UTC) To: Emacs Help List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 20 16:13:20 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LaX3s-0002YB-NZ for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Feb 2009 16:13:08 +0100 Original-Received: from localhost ([127.0.0.1]:35381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaX2Y-0007BD-F0 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Feb 2009 10:11:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LaX0j-0006Qt-Fh for help-gnu-emacs@gnu.org; Fri, 20 Feb 2009 10:09:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaX0h-0006Pw-R3 for help-gnu-emacs@gnu.org; Fri, 20 Feb 2009 10:09:53 -0500 Original-Received: from [199.232.76.173] (port=42400 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaX0h-0006Ps-Jq for help-gnu-emacs@gnu.org; Fri, 20 Feb 2009 10:09:51 -0500 Original-Received: from mail-bw0-f160.google.com ([209.85.218.160]:52980) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LaX0h-0001k7-54 for help-gnu-emacs@gnu.org; Fri, 20 Feb 2009 10:09:51 -0500 Original-Received: by bwz4 with SMTP id 4so2646899bwz.18 for ; Fri, 20 Feb 2009 07:09:48 -0800 (PST) Original-Received: by 10.181.227.9 with SMTP id e9mr307008bkr.133.1235142586799; Fri, 20 Feb 2009 07:09:46 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62228 Archived-At: --001636c5a73d2217d004635b0b42 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --001636c5a73d2217d004635b0b42 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I edit various files using tramp, i am on a slow connection thus want to av= oid saving remote files while exiting.
the default value for desktop-fil= es-not-to-save is "^/[^/:]*:" when i check the regex using list b= uffers it does match tramp files
but they are still saved when i exit emacs. is there another way to make de= sktop-mode skip tramp files?

i have the following in my .emacs for l= oading desktop.

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

thanks...=
--
Nurullah Akkaya
http://nakkaya.com=
--001636c5a73d2217d004635b0b42--