aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2022-07-31 08:48:52 -0700
committerRaul Benencia <id@rbenencia.name>2022-07-31 08:48:52 -0700
commit5193da11b7bd93ce6e4f57555c661e99f5ce4321 (patch)
tree6c06d1c8c16b4c858ed3fd8314ccd2b09b2e68df /bin
parent3db561fba59b5859bf4af5cab2ff90b57139b3d8 (diff)
mutt: fix remember-mail
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mutt-remember-mail3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/mutt-remember-mail b/bin/mutt-remember-mail
index 8fafc3d..ba5b322 100755
--- a/bin/mutt-remember-mail
+++ b/bin/mutt-remember-mail
@@ -18,6 +18,5 @@ my $mid = $1;
my $subject = $msg->head->get('subject') || "";
my $from = $msg->head->get('from') || "";
chomp ($subject, $from);
-my $note_body = uri_escape(" Subject: $subject\n From: $from");
-exec "emacsclient", "-c", "org-protocol:/capture:/m/mutt:$mid/mail/$note_body";
+exec "emacsclient", "-c", "org-protocol://capture?template=m&url=mutt://$mid&title=$subject from $from";
nihil fit ex nihilo