From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: session.* files (was: In defense of Customize) Date: Tue, 14 Jan 2014 20:52:47 +0100 Message-ID: <652D35DE-5404-4169-9E83-511024030360@Web.DE> References: <3cec217d-8adb-4e6c-b239-eff0c8b520c9@googlegroups.com> <5581e666-3500-4a30-abb2-6454e2398a01@default> <874n56bbqh.fsf_-_@nyu.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1389729189 17931 80.91.229.3 (14 Jan 2014 19:53:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 19:53:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: gottlieb@nyu.edu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 14 20:53:15 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W3A31-0007MD-Ge for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jan 2014 20:53:15 +0100 Original-Received: from localhost ([::1]:50385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3A31-0004Jw-6p for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jan 2014 14:53:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3A2l-0004Jp-SC for help-gnu-emacs@gnu.org; Tue, 14 Jan 2014 14:53:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3A2d-0003gb-9v for help-gnu-emacs@gnu.org; Tue, 14 Jan 2014 14:52:59 -0500 Original-Received: from mout.web.de ([212.227.15.4]:62666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3A2c-0003gE-WA for help-gnu-emacs@gnu.org; Tue, 14 Jan 2014 14:52:51 -0500 Original-Received: from sumac.fritz.box ([84.119.50.65]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0MAMli-1WEku23F06-00BgGN for ; Tue, 14 Jan 2014 20:52:48 +0100 In-Reply-To: <874n56bbqh.fsf_-_@nyu.edu> X-Mailer: Apple Mail (2.1085) X-Provags-ID: V03:K0:lxBxSlTqOZeUBROzp8v/l6Q7f8Y4LLAwLVwBBX32cgUvShKCx7N Cd1xYnnxJIHs6TL5T1o/YUeLzWH1cWxo6ra94BWLpu+dz19pw5tt7ZDPBkFPmZhI33fFaJZ kI6BkwFRMlgOQPDu9JOwOyPgAXSHrBiZtrvVCp7ajGq3blUQFbPkS6RX3VSVZbaVtzK0ASX H7cDqJ9kc+MYHsxgalP8Q== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.4 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95396 Archived-At: Am 14.01.2014 um 20:32 schrieb gottlieb@nyu.edu: > How can I have all the session.* files written to a different > directory, say ~/.emacs.d/session-files (require 'session) (add-hook 'after-init-hook 'session-initialize) (setq session-save-file-coding-system 'utf-8-unix)) (setq session-save-file (format "%s/Psession-%s" desktop-dirname = window-system)) I put my versions into ~/.emacs.d/Sicherungen: (setq make-backup-files t ;backup my files backup-by-copying t ;don't clobber symlinks delete-old-versions t kept-new-versions 6 kept-old-versions 2 version-control t ;use versioned backups vc-make-backup-files t ;make backups for cvs projects vc-follow-symlinks t) (setq backup-directory-alist `(("." ,@(concat user-emacs-directory = "Sicherungen")))) -- Greetings Pete If you're not confused, you're not paying attention.