Ryan Harper <rharper at ...> writes: > Using the dictionary of attachments in a message we can implement > saving the attachment. Select the current attachment under the cursor > request a new name, but default to the extracted name. >
Hi Ryan, can you see why I might be getting these errors on 'S'? here is my patch https://p.6core.net/p/0jzvp42a5rn8bhny Error detected while processing function <SNR>14_NM_show_save_mime_parts: line 1: E121: Undefined variable: b:attachments E15: Invalid expression: b:attachments line 14: E121: Undefined variable: attachments E15: Invalid expression: attachments line 23: E716: Key not present in Dictionary: filename E15: Invalid expression: curatt['filename'] line 24: E121: Undefined variable: fn E116: Invalid arguments for function printf('Save: %s', fn) E15: Invalid expression: printf('Save: %s', fn) line 25: E121: Undefined variable: prompt E116: Invalid arguments for function input(prompt) E15: Invalid expression: input(prompt) line 26: E121: Undefined variable: outfile E116: Invalid arguments for function strlen(outfile) E15: Invalid expression: strlen(outfile) line 35: E716: Key not present in Dictionary: id E116: Invalid arguments for function printf("--part=%s", curatt['id'])) E116: Invalid arguments for function add line 36: E716: Key not present in Dictionary: mid E116: Invalid arguments for function add line 39: E121: Undefined variable: outfile E116: Invalid arguments for function printf('>%s', outfile)) E116: Invalid arguments for function add Press ENTER or type command to continue Regards, C.