From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Feature proposal: Triple square brackets to create a link to a file AND include the file Date: Thu, 27 Sep 2018 13:58:52 +0200 Message-ID: <87o9cjjgn7.fsf@nicolasgoaziou.fr> References: <1538048127.1873.26.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5Uwe-0007ep-MC for Emacs-orgmode@gnu.org; Thu, 27 Sep 2018 07:59:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5Uwb-000598-C5 for Emacs-orgmode@gnu.org; Thu, 27 Sep 2018 07:59:00 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:39339) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g5Uwb-00058H-5Q for Emacs-orgmode@gnu.org; Thu, 27 Sep 2018 07:58:57 -0400 In-Reply-To: <1538048127.1873.26.camel@gmail.com> (ST's message of "Thu, 27 Sep 2018 14:35:27 +0300") 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: ST Cc: Emacs-orgmode@gnu.org Hello, ST writes: > it would be nice to be able to make URIs to INCLUDEd files clickable. In > order to make them also lightweight, readable and corresponding to > current link syntax, I would suggest the following: > > [[[dir/file]]] > [[[dir/file]] :lines "5-10"] > [[[dir/file][My file]] :lines "5-10"] > > as clickable, including links. > > What do you think? This does not make sense: include files are not meant to be inlined. Links are. > Or maybe there is already something like this, if yes > - how can I achieve the same? Use `C-c '` on a file. Regards, -- Nicolas Goaziou