what does the leading - mean in the attachment view?

Kevin J. McCarthy kevin at 8t8.us
Wed Mar 14 16:20:14 UTC 2018


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:
> 
>     -----------------------------------------------------------
>     - 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20180314/a19fb49d/attachment.asc>


More information about the Mutt-users mailing list