lykwydchykyn · 2022-11-18 16:57
I'm using Mu4e for email, when I get an attachment that emacs knows how to open (text, PDF, etc) I can't figure out how to just save it to my machine. If I click on it or put the cursor on it and hit 'e' or 'enter' it just opens in emacs.
I found the function mu4e-view-save-attachments and it asks me which part I want to save, but then nothing happens.
I thought at one point there was a key that would force it to save rather than open, but I can't seem to find it now. Anyone?
ieure · 2022-11-18 17:50
Press `A`, the attachment number, then `s` to save. Or `e` [attachment number] to save directly.
lykwydchykyn · 2022-11-18 19:17
I must have some different mode involved here; if I press `A` I get a menu to open the email in a browser. If I press `e` emacs just opens the attachment.
EDIT: correction -- if I press `e` while over the attachment I get prompted for a MIME type to view it, and if I take the default emacs opens it. If I press `e` while not over the attachment, I get asked an attachment number and then nothing happens (I am not prompted for a location to save it and it does not open).
EDIT2: Hang on, CAPITAL `A` prompts me for a part number then gives me a menu of what I want to do with it. HURRAH! Thank you thank you.
Now I just need to remember that next time I get an attachment...
ieure · 2022-11-18 20:31
Yes, the `A` in my reply was deliberate and important.
lykwydchykyn · 2022-11-18 22:12
I get that now, thanks. Easy to overlook.