Don't know if it's just me but if I have the following in my binds.conf:
[messages]
D = :move Trash<Enter>
[messages:folder=Trash]
D = :delete-message<Enter>
Then the latter doesn't work (aerc still attempts to move messages to Trash despite this folder-specific binding).
I too have noticed this issue also and I'm using the latest git version.
Do you use an account-specific binding for messages as well (e.g. [messages:account=..])?
Using just folder-specific bindings seem to work fine on my end on the current master. However, it breaks when using it together with an account-specific one I'm wondering if that's the bug you see or if it's something else?
~skejg or/and ~justinesmithies is this still an issue for you on current master?
~ferdinandyb, ~justinesmithies
With 0.18.2, folder-specific bindings certainly seem to work, if I'm not mistaken.
However, the command
:delete-message
itself acts strange for me: in a Gmail account, it only deletes messages if run in[Gmail]/Trash
folder. In any other folder (or, label in Gmail's vocabulary), it just deletes a message from the current folder (strips the current label from an email).Sadly, I don't recall it already, but it's possible it was the command's behaviour (different at the time of submission), not the folder-specific bindings per se, that was the reason for my original report (I don't remember if I only had this one folder-specific binding back then and if I tested it with other mappings).
Anyway, as the title stands now, it probably can be closed?