From: Charlie Allom <charlie@mediasp.com>
To: notmuch@notmuchmail.org
Subject: Re: [PATCH 2/2] vim plugin: Implement attachment saving
Date: Sat, 3 Mar 2012 03:12:47 +0000 (UTC) [thread overview]
Message-ID: <loom.20120303T040913-8@post.gmane.org> (raw)
In-Reply-To: 1316226470-30001-3-git-send-email-rharper@shake.ath.cx
Ryan Harper <rharper@...> 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.
next prev parent reply other threads:[~2012-03-03 3:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-17 2:27 [PATCH 0/2] vim plugin: implement viewing/saving attachments Ryan Harper
2011-09-17 2:27 ` [PATCH 1/2] vim plugin: Implement show_view_all_mime_parts Ryan Harper
2011-09-17 2:27 ` [PATCH 2/2] vim plugin: Implement attachment saving Ryan Harper
2012-03-03 3:12 ` Charlie Allom [this message]
2011-09-19 0:18 ` [PATCH 0/2] vim plugin: implement viewing/saving attachments Blake Sweeney
2011-09-19 18:15 ` Ryan Harper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20120303T040913-8@post.gmane.org \
--to=charlie@mediasp.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).