From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neon Absentius Newsgroups: gmane.emacs.help Subject: Re: tramp error: Opening output file, etc Date: Wed, 5 Oct 2005 13:00:54 +0000 Message-ID: <20051005130054.GC992@SDF.LONESTAR.ORG> References: <20051005072218.171f117b@dellap.mousecar.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1128517591 2696 80.91.229.2 (5 Oct 2005 13:06:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2005 13:06:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 05 15:06:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EN8ub-0003bl-8y for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Oct 2005 15:02:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EN8uZ-0006vq-PZ for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Oct 2005 09:02:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EN8tw-0006jc-Gq for help-gnu-emacs@gnu.org; Wed, 05 Oct 2005 09:01:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EN8to-0006hO-4i for help-gnu-emacs@gnu.org; Wed, 05 Oct 2005 09:01:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EN8tn-0006hE-IV for help-gnu-emacs@gnu.org; Wed, 05 Oct 2005 09:01:31 -0400 Original-Received: from [192.94.73.21] (helo=sdf.lonestar.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EN8tm-0008Aa-L8 for help-gnu-emacs@gnu.org; Wed, 05 Oct 2005 09:01:31 -0400 Original-Received: from sdf.lonestar.org (IDENT:absent@ukato.freeshell.org [192.94.73.7]) by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id j95D0tA0011381 for ; Wed, 5 Oct 2005 13:00:55 GMT Original-Received: (from absent@localhost) by sdf.lonestar.org (8.13.1/8.12.8/Submit) id j95D0sVU010399 for help-gnu-emacs@gnu.org; Wed, 5 Oct 2005 13:00:54 GMT Original-To: emacs Mail-Followup-To: Neon Absentius , emacs Content-Disposition: inline In-Reply-To: <20051005072218.171f117b@dellap.mousecar.net> User-Agent: Mutt/1.4.2.1i 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:29936 Archived-At: On Wed, Oct 05, 2005 at 07:22:18AM -0400, ken wrote: > From the little I know of emacs, I'm guessing that tramp/emacs is > trying to save a temporary file and doesn't have write permission in the > subdir it's configured to do this in. (It's kind of nuts to have this > subdir as the default for this.) How do I change this? Well you can set the variable "tramp-auto-save-directory". I prefer to have tramp to auto-save locally (its much faster) so I have in my .emacs (setq tramp-auto-save-directory "/tmp") > I would prefer to put #todo# in the same subdir as todo... and > this would seem to make the most sense as the default for > everyone. > Yes indeed (the speed issue aside). I am not sure how to do that, the naive (setq tramp-auto-save-directory (pwd)) wont work due to the semantics of evaluation in Lisp, I think. It will evaluate (pwd) at start-up and then assign that value to the variable. Probably there is a standard way to get "dynamically" the working directory. Any suggestions? > > tnx, > ken > -- Everyone is so overwhelmed by the hospitality. And so many of the people in the arena here, you know, were underprivileged anyway, so this--this (she chuckles slightly) is working very well for them. -- Barbara Bush, about the refugees from New Orleans.