Re: what does the leading - mean in the attachment view?

2018-03-14 Thread Kevin J. McCarthy
On Wed, Mar 14, 2018 at 01:29:41PM +0800, Yubin Ruan wrote:
> Just out of curious: in the attachment view (of the compose view), there are
> some attachments with a - before them:
> 
> ---
> - I1 /path/to/file1   [text/plain, 7 bit, us-ascii, 13]
> - A1 /path/to/file2   [text/plain, 7 bit, us-ascii, 13]
> 
> what does that - mean?

It's the %u in $attach_format.  It will show '-' if the attachment will
be unlinked after sending.  This is usually the case for tempfiles.

If you invoke 'G' , it converts an attachment to a
tempfile and sets the unlink flag.

'u'  toggles the state of the flag.  Use with extreme
caution on non-tempfiles.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


what does the leading - mean in the attachment view?

2018-03-13 Thread Yubin Ruan
Hi,

Just out of curious: in the attachment view (of the compose view), there are
some attachments with a - before them:

---
- I1 /path/to/file1   [text/plain, 7 bit, us-ascii, 13]
- A1 /path/to/file2   [text/plain, 7 bit, us-ascii, 13]

what does that - mean?

Yubin