Re: Question on 'tmpdir' configuration variable
- To: mutt-users@xxxxxxxx
- Subject: Re: Question on 'tmpdir' configuration variable
- From: "Francis Moreau" <francis.moro@xxxxxxxxx>
- Date: Mon, 14 Jan 2008 09:58:00 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=03ZWuMQVLm++ij8xxZVvhUtJJPH9MBr826iEgiRcZY0=; b=kGaZ+dL40gAS/lZHVnBBHmAPIRpuKewV+6p7Lk/hHvTmq16TpBxwdz6yqYZdlEdaoZCUy7Olghw92ClMYIk/UAEcxkpKpnnPN/H7Vnn+LsmOjoUfJ09HUGAqcHmRnUc/5WJGuv5QMlfpc57BZZBznA9rJ+VWaykya0d0QKYAOt4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IXoB579z7xkGHRStCUxpu6SZZ26VebEkPT/RBHKYGApLd3RM7IMX290bX1d6taL8dNfPNXcaVcEoExs5X8cjaAc9bdJTLaTElxRPBZzluOJAsIyHcku3YxUb9IVz+pKGqvV5LYTCJQVnLgS4giGeS6VkENT3RgTIKx2DY0o4SVI=
- In-reply-to: <20080113205801.GB24085@xxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- References: <38b2ab8a0801121232q2a2a96b8g42cd922d5559ed52@xxxxxxxxxxxxxx> <20080113205801.GB24085@xxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
Hello Kyle,
On Jan 13, 2008 9:58 PM, Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Saturday, January 12 at 09:32 PM, quoth Francis Moreau:
> > Is it possible to specify a path for this variable which does not
> > exist and need to be created ?
>
> Nope.
>
> > For example I'd like to do:
> >
> > set tmpdir = "./.mutt-tmp"
>
> However, you CAN do this:
>
> set tmpdir = `mkdir -p ./.mutt-tmp ; echo ./.mutt-tmp`
>
Cool, I didn't know about that.
However thinking more on my needs, I think my initial request is not
appropriate: what I really need the following:
First I'm using emacs to compose my email but I suspect the same is
true for others editors.
When working in a project directory, I sometimes need to write an
email including some outpouts coming from a shell command. So I launch
mutt then start composing my email using emacs. But emacs was launches
to edit '/tmp/Mutt-xxx', therefore the working directory of emacs is
now /tmp which is not very interesting if I need to start some shell
commands. To workaround this I set tmpdir to '.' which works fine.
But there is still a little issue: if I do an 'ls' command for
example, I now see the Mutt-xxx file in my current directory which is
a little bit annoying.
So the question is now: can I specify the template of this temporary
file used by mutt when composing an email ?
Thanks
--
Francis