mu4e: work around quoting issues

Use base-64 for now.
This commit is contained in:
djcb
2017-10-28 18:23:08 +03:00
parent 2d94ff856e
commit 4ee8c5e1d6
2 changed files with 12 additions and 2 deletions

View File

@ -339,7 +339,7 @@ or an error."
(concat
"cmd:find query:%s threads:%s sortfield:%s reverse:%s maxnum:%d "
"skip-dups:%s include-related:%s")
(format "%s" query)
(base64-encode-string query)
(if threads "true" "false")
;; sortfield is e.g. ':subject'; this removes the ':'
(if (null sortfield) "nil" (substring (symbol-name sortfield) 1))