[neomutt-users] attach-file function in macro

Richard Russon rich at flatcap.org
Wed Oct 20 02:15:21 CEST 2021


Hi David,

> thanks to the NeoMutt developers and supporters for their awesome work!

You're welcome :-)

> I ... have found that a macro doesn't work any more
> macro compose K ':exec attach-file<enter>/path/to/the/file<enter>'

Oh.  That's a bug, sorry.
I've create a fix in branch [devel/compose].

    https://github.com/neomutt/neomutt/pull/3080

Meanwhile, you could simplify your macro to:

macro compose K '<attach-file>/path/to/the/file<enter>'

Cheers,
    Rich / FlatCap
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20211020/b59ba1e1/attachment.sig>


More information about the neomutt-users mailing list