From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Krehel Subject: Re: Conditional link export? Date: Sun, 08 Nov 2015 15:56:33 +0100 Message-ID: <87h9kwbkv2.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvROQ-00009W-1G for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 09:56:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvROM-0004uo-Pa for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 09:56:29 -0500 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:34792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvROM-0004uK-J1 for emacs-orgmode@gnu.org; Sun, 08 Nov 2015 09:56:26 -0500 Received: by wikq8 with SMTP id q8so54596606wik.1 for ; Sun, 08 Nov 2015 06:56:25 -0800 (PST) Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by smtp.gmail.com with ESMTPSA id r65sm9203367wmb.20.2015.11.08.06.56.24 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 08 Nov 2015 06:56:24 -0800 (PST) In-Reply-To: <87h9kw8t1t.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 08 Nov 2015 15:27:58 +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: emacs-orgmode@gnu.org Hi Nicolas, Nicolas Goaziou writes: > There is already inline syntax for any language, including elisp: > > src_emacs-lisp{(foo)} > > and, if you use the library of Babel, > > call_foo{} > > I don't see the need to add yet another way to call inline code from an > Org document. Is that a new feature? First time I've heard about it, and I did google for inline code block evaluation before. 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. And I still think that Elisp could benefit from privileged call syntax. Compare: !(foo) to src_emacs-lisp{(foo)} No one would quickly forget the first call syntax after using it once, while the second one is highly forgettable and clumsy. Additionally `org-edit-src-code' doesn't work for these blocks. regards, Oleh