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 17:02:51 +0200 Message-ID: <878t3nhtk4.fsf@nicolasgoaziou.fr> References: <1538048127.1873.26.camel@gmail.com> <87o9cjjgn7.fsf@nicolasgoaziou.fr> <1538050703.1873.31.camel@gmail.com> <87k1n7jeuk.fsf@nicolasgoaziou.fr> <1538057321.1873.35.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5Xoj-0004uj-N5 for Emacs-orgmode@gnu.org; Thu, 27 Sep 2018 11:03:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5Xof-0008Di-2F for Emacs-orgmode@gnu.org; Thu, 27 Sep 2018 11:03:01 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:40137) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g5Xoe-0008DG-S0 for Emacs-orgmode@gnu.org; Thu, 27 Sep 2018 11:02:56 -0400 In-Reply-To: <1538057321.1873.35.camel@gmail.com> (ST's message of "Thu, 27 Sep 2018 17:08:41 +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 ST writes: > Aaa... I see. Actually I don't need it to be in the middle, only at > column 0. Then the link syntax is not adequate. What would you do if the triple bracket horror is on the middle of the line? > Starting with which version of Org? I have 8.2.10 and it doesn't seem to > work there... Not out of the box, but you can probably add a mouse event on INCLUDE keywords. And there's a function to visit the file already. >> Why do you need something else if there is already a way to do what you >> want? I'm not a big fan of extending syntax gratuitously. > > Well, triple square brackets is shorter and cleaner for wiki purposes... > I don't mind it to be able to include files only at column 0, it's > totally OK. As I said, link syntax is inadequate here. I still think what Org provides is enough.