jeremy-compostella / org-msg

OrgMsg is a GNU/Emacs global minor mode mixing up Org mode and Message mode to compose and reply to emails in a Outlook HTML friendly style.
GNU General Public License v3.0
275 stars 58 forks source link

Support drag-n-drop attachments #72

Closed A6GibKm closed 3 years ago

A6GibKm commented 3 years ago

mu4e supports adding attachments using drag and drop.

When using this feature in a org-msg compose buffer, instead of adding the file to the :attachment: org property, or its less desirable option of adding a

<#part filename=FILEPATH disposition=attachment><#/part>

html tag, which is the default mu4e behaviour; it opens a buffer with the file which was dragged.

jeremy-compostella commented 3 years ago

Could you give a try to the patch I have pushed on the experimental branch ?

A6GibKm commented 3 years ago

Can confirm that it is working. Thanks!