From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Conditional link export? Date: Sun, 08 Nov 2015 16:04:51 +0100 Message-ID: <871tc08rcc.fsf@nicolasgoaziou.fr> References: <87ziyri8lk.fsf@gmail.com> <878u6buupy.fsf@gmail.com> <87d1vmgdt6.fsf@gmail.com> <87fv0hubym.fsf@gmail.com> <874mgwd1mi.fsf@gmail.com> <87h9kw8t1t.fsf@nicolasgoaziou.fr> <87h9kwbkv2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvRUq-00016s-Cf for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 10:03:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvRUp-00060J-Cx for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 10:03:08 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:51039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvRUp-00060F-6D for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 10:03:07 -0500 In-Reply-To: <87h9kwbkv2.fsf@gmail.com> (Oleh Krehel's message of "Sun, 08 Nov 2015 15:56:33 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Oleh Krehel Cc: emacs-orgmode@gnu.org Oleh Krehel writes: > Is that a new feature? It is probably almost as old as Babel itself. > First time I've heard about it, and I did google > for inline code block evaluation before. You should check the Org manual first: (info "(org) Structure of code blocks") > In any case, the HTML export result of e.g. this: > > The current time is: src_emacs-lisp{(format "%s" "http://google.com" (format-time-string "%H:%M"))}. > > is: > > The current time is: <a href"http://google.com/">15:50</a>=. > > which is far from what I want. Try The current time is: src_emacs-lisp[:results html]{(format "%s" "http://google.com" (format-time-string "%H:%M"))}. > And I still think that Elisp could benefit from privileged call > syntax. Compare: > > !(foo) > > to > > src_emacs-lisp{(foo)} I'm not a big fan of redundant syntax. Also, I'm trying to move Org format out of Elisp's grasp. This doesn't help much either. > Additionally `org-edit-src-code' doesn't work for these blocks. Do you want to provide a patch for it? Regards,