Re: bug saving attachments
- To: mutt-users@xxxxxxxx, "Luciano Rocha" <strange@xxxxxxxxxxxxx>
- Subject: Re: bug saving attachments
- From: "Francis Moreau" <francis.moro@xxxxxxxxx>
- Date: Tue, 15 Jan 2008 14:39:33 +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=xxQ3HEH2SD8wz7PfnBcPAhOKi384c03lYR07sQt+SqY=; b=b7vGXVDPhHWed2ALu1MOICWInU+G3HsTZmtmBkx8tqU+fWSXpQDiCuYZIJfNAoZl1SJKw+Y1LwrZioz7Q1jKmfwsIE+QqwMO3OGduZOgUx53nVdW9J39yOPDVR/cmjxoxHagubaWlCxklR0NVZ18KVb0fnNHGsyaw/F6ZCmkTYs=
- 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=MNmLgCxgmJcujly0jYiFsgs8KpjWdMDlINx9tCIQi+7CTj2uAGeJQHzjDFjxIe+u+HAm7LtNqm3/c6OKb6dV0HjjKi58Wv4DLja8ym5brVZBFsiTs7eavX6yihVKa0EH+7EO1rDhml0XU6xc9hFIB35sic3H7Eq3eRmkw7YVBck=
- In-reply-to: <20080115131833.GA5642@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- References: <20080115122842.GA12462@xxxxxxxxxxxxxxxxxxxxxx> <20080115131833.GA5642@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
On Jan 15, 2008 2:18 PM, Rocco Rutte <pdmef@xxxxxxx> wrote:
> Hi,
>
> * Luciano Rocha wrote:
>
> >I received a file from a friend starting with '-':
> >------=_NextPart_000_1cd4_6abd_704a
> >Content-Type: application/vnd.ms-powerpoint; name="-Casamento.pps";
> >Content-Transfer-Encoding: base64
> >Content-Disposition: attachment; filename="-Casamento.pps";
>
> >While saving the attachment, mutt prompted for the filename and
> >presented the default of -Casamento.pps, that I accepted:
> >Save to file: -Casamento.pps
>
> >However, it didn't save to that file, but to a file with the '-'
> >replaced to the last folder I was in:
> >~/Maildir/fooCasamento.pps
>
> Umm, that's not a bug but rather a feature. Mutt expands certain
> shortcuts in paths, including '!' ($spoolfile), '^' (current), '='
> ($folder)... and '-' for the last folder opened.
>
> So it's rather undocumented, also see ticket #1719
> (http://dev.mutt.org/trac/ticket/1719).
>
> Saving to \-Casamento.pps should work.
>
Shouldn't mutt prompt for "\-Casamento.pps" instead of "-Casamento.pps" ?
--
Francis