From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: Re: Org source block header argument :var does not support space separated string Date: Tue, 23 Oct 2018 19:39:30 +0800 Message-ID: <87a7n4uc25.fsf@gmail.com> References: <87sh11htsy.fsf@gmail.com> <878t2sgypl.fsf@nicolasgoaziou.fr> <87r2giiz7j.fsf@gmail.com> <8CECF1D0-89CA-4826-969D-98B11C5587B2@ucsd.edu> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEvJA-0002TN-U5 for emacs-orgmode@gnu.org; Tue, 23 Oct 2018 07:57:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEvJ6-0000CK-MH for emacs-orgmode@gnu.org; Tue, 23 Oct 2018 07:57:12 -0400 Received: from [61.175.244.13] (port=43387 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEvJ6-0000B1-6a for emacs-orgmode@gnu.org; Tue, 23 Oct 2018 07:57:08 -0400 In-reply-to: <8CECF1D0-89CA-4826-969D-98B11C5587B2@ucsd.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Berry, Charles" Cc: org-mode , Nicolas Goaziou Berry, Charles writes: > > This works > > #+begin_src sh :var encrypted=(org-babel-ref-resolve "base64 encrypt text()") > echo $encrypted > #+end_src > > You might write a wrapper, so something like (quote-ref "base64 encrypt text") will handle it. > Thanks very much! this solved my problem. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3