From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: How to change default "insert file" path /tmp to home directory? Date: Tue, 14 May 2013 15:44:59 +0200 Message-ID: <20130514134459.GE6101@kuru.dyndns-at-home.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1368539125 26945 80.91.229.3 (14 May 2013 13:45:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 May 2013 13:45:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 14 15:45:24 2013 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 1UcFXg-000881-9I for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2013 15:45:24 +0200 Original-Received: from localhost ([::1]:35576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcFXf-00065N-TI for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2013 09:45:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcFXS-00063z-Bg for help-gnu-emacs@gnu.org; Tue, 14 May 2013 09:45:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcFXM-0000v7-Pl for help-gnu-emacs@gnu.org; Tue, 14 May 2013 09:45:10 -0400 Original-Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:62843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcFXM-0000r5-HZ for help-gnu-emacs@gnu.org; Tue, 14 May 2013 09:45:04 -0400 Original-Received: by mail-ea0-f178.google.com with SMTP id q16so349958ead.37 for ; Tue, 14 May 2013 06:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=9wLlXPYmeagv/eJgDpkKCRlQ1E1WlMuG4zAt7Uq12C8=; b=cMTFyc+BGoLInMQH8t5+TU9OfJKPnlOXgfFfYY/+YhUM99f1n+06pemAhd6UeJwEmA Ew/DA9seNjvX7KZrhmzpCUkKrQTRT2ZMoRAtZqP5mJfyh10rcIzQsRRALsC6DPtCOCi9 ed1nw/qibZGcDqq+tsIcXR2r4IDkvKyMjuoREPHvFVcsyQMa0DsjBfxtwd0BUj41iAws dmPKJtSFzGu/s/LxI3CoeNPlLvdFv0tf3t4YYlP7vMj495kv2gg3wRmK7wKR/2Exsn95 G5BZe5KonRoew2mQYzA80PtXP2KXWEnfjCrKZi5BsuPfxC3hyr03odyk2i7w/AhYEKnt pxrg== X-Received: by 10.15.23.69 with SMTP id g45mr91203460eeu.25.1368539103226; Tue, 14 May 2013 06:45:03 -0700 (PDT) Original-Received: from kuru.dyndns-at-home.com ([2001:610:120:3000:f2de:f1ff:fe37:c76c]) by mx.google.com with ESMTPSA id bp51sm29608493eeb.5.2013.05.14.06.45.01 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 14 May 2013 06:45:02 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::232 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:90755 Archived-At: On Tue, May 14, 2013 at 11:52:46AM +0200, gerlach wrote: > Am 11.05.2013 02:50, schrieb Barry Margolin: > >the current buffer was loaded from. So > >it's only /tmp if you happen to be > > ok, using mutt mailreader I get always /tmp. So mutt is setting /tmp > somewhere as directory. Mutt edits the message as a temporary file in $tmpdir. Usually this is set to /tmp. Here is the relevant section from the mutt manual. 3.307. tmpdir Type: path Default: (empty) This variable allows you to specify where Mutt will place its temporary files needed for displaying and composing messages. If this variable is not set, the environment variable $TMPDIR is used. If $TMPDIR is not set then "/tmp" is used. Hope this helps, -- Suvayu Open source is the future. It sets us free.