[neomutt-users] attach-file function in macro
David K. Trudgett
david at trudgett.me
Wed Oct 20 06:31:49 CEST 2021
On Wed, Oct 20, 2021 at 01:15:21AM +0100, Richard Russon wrote:
> > 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].
Excellent! Thanks for the amazingly quick fix! I got the GitHub
Sorry I didn't report the error message precisely right. The reason is
that my locale is not set to English, and I had to translate the error
message back to English.
> Meanwhile, you could simplify your macro to:
> macro compose K '<attach-file>/path/to/the/file<enter>'
Done. It was worth the effort just for that little tip. Thank you!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the neomutt-users