From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: How to insert a link in an Org buffer programmatically? Date: Sat, 21 Feb 2015 19:09:01 +0100 Message-ID: <87oaongq36.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPEUL-0003nh-0x for emacs-orgmode@gnu.org; Sat, 21 Feb 2015 13:09:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPEUG-0001S6-0P for emacs-orgmode@gnu.org; Sat, 21 Feb 2015 13:09:12 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:53173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPEUF-0001Rs-Pa for emacs-orgmode@gnu.org; Sat, 21 Feb 2015 13:09:07 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 4B97A571C2 for ; Sat, 21 Feb 2015 19:09:05 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MqnTa5maws3R for ; Sat, 21 Feb 2015 19:09:05 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 1CB12571C1 for ; Sat, 21 Feb 2015 19:09:05 +0100 (CET) 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: Org-Mode mailing list Hello fellow Orgers, I'd like to insert a link (say, at point), given its description and the text of the link itself, from Elisp code. Is there any function to do this? I mean, some escaping might be needed, right? TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University