Discussion:
what does the leading - mean in the attachment view?
Yubin Ruan
2018-03-14 05:29:41 UTC
Permalink
Hi,

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

-----------------------------------------------------------
- I 1 /path/to/file1 [text/plain, 7 bit, us-ascii, 13]
- A 1 /path/to/file2 [text/plain, 7 bit, us-ascii, 13]

what does that - mean?

Yubin
Kevin J. McCarthy
2018-03-14 16:20:14 UTC
Permalink
Post by Yubin Ruan
Just out of curious: in the attachment view (of the compose view), there are
-----------------------------------------------------------
- I 1 /path/to/file1 [text/plain, 7 bit, us-ascii, 13]
- A 1 /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' <get-attachment>, it converts an attachment to a
tempfile and sets the unlink flag.

'u' <toggle-unlink> 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
Loading...