From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: coderef does not provide file path for org-insert-link when not in original buffre Date: Sun, 24 Jun 2018 00:02:11 +0200 Message-ID: <87bmc1tb4s.fsf@nicolasgoaziou.fr> References: <87po1zvw9n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWqbp-0000nB-AB for emacs-orgmode@gnu.org; Sat, 23 Jun 2018 18:02:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWqbm-0004fx-94 for emacs-orgmode@gnu.org; Sat, 23 Jun 2018 18:02:17 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:44565) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fWqbm-0004fe-2V for emacs-orgmode@gnu.org; Sat, 23 Jun 2018 18:02:14 -0400 In-Reply-To: <87po1zvw9n.fsf@gmail.com> (stardiviner's message of "Mon, 14 May 2018 09:52:36 +0800") 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: stardiviner Cc: org-mode Hello, stardiviner writes: > `org-insert-link` should be smart on decide whether current buffer is the same buffer with `org-store-link` source buffer, if yes, use [[(set the temp buffer to unibyte)]]. If no, use: > > [[file:~/Org/elquery.org::(set%20the%20temp%20buffer%20to%20unibyte)][(set the temp buffer to unibyte)]] > > WDYT? It sounds like a good idea. Do you want to implement it? Regards, -- Nicolas Goaziou