Closed Hugo-Heagren closed 2 years ago
I don't believe that such a feature is going to serve a large enough scope of users compared but it does add unnecessary complication of the code for a feature you could just implement with some Emacs configuration such as binding C-c C-a
to org-msg-attach-attach
in your own org-msg-edit-mode
hook function.
Fair enough, if you don't think it's worth it for enough users I'll just do it locally.
I find that I very rarely delete attachments, but I do add a lot of attachments. So, it would be convenient for me to be able to skip the step of pressing a in the dispatcher, by telling org-msg that I always want to add attachments, never delete them. We could do this with something like:
An implementation of this wouldn't break the current behaviour for those who are used to it, because the obvious thing to do is keep the dispatcher with both options if the variable is
nil
.Of course I might sometimes want to delete attachments. To deal with this, perhaps
org-msg-attach
could always open the dispatcher (regardless of the variable above) when given a prefix argument. Another, similar possibility would be to give a direct keybinding toorg-msg-attach-delete
, so that the dispatcher could be similarly bypassed.