From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: Re: coderef does not provide file path for org-insert-link when not in original buffre Date: Tue, 06 Nov 2018 12:48:29 +0800 Message-ID: <877ehqq09u.fsf@gmail.com> References: <87po1zvw9n.fsf@gmail.com> <87bmc1tb4s.fsf@nicolasgoaziou.fr> <87va6wk3ea.fsf@gmail.com> <875zysr0bb.fsf@nicolasgoaziou.fr> <875zxst5to.fsf@gmail.com> <87bm7gg06l.fsf@nicolasgoaziou.fr> <87zhv0p07b.fsf@gmail.com> <874ld0d7e3.fsf@nicolasgoaziou.fr> <87pnvoxaw7.fsf@gmail.com> <87va5c974g.fsf@nicolasgoaziou.fr> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJtLR-0007tp-Sm for emacs-orgmode@gnu.org; Mon, 05 Nov 2018 23:52:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJtIC-0000Wo-K5 for emacs-orgmode@gnu.org; Mon, 05 Nov 2018 23:48:47 -0500 Received: from [61.175.244.13] (port=18220 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJtI8-0000RU-26 for emacs-orgmode@gnu.org; Mon, 05 Nov 2018 23:48:43 -0500 In-reply-to: <87va5c974g.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: org-mode Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Because the variable `org-src-source-file' is a bridge to pass info >> between two buffers "source buffer" and source block opened "dedicated >> buffer". So this variable must be global. Otherwise the "dedicated >> buffer" can't read it. > > The variable is set in the "dedicated buffer", and is local to it. OTOH, > the source buffer doesn't need to read it, ever. > > I committed a change in "master" branch. Could you tell me if it fixes > your issue? > > Regards, I tested, confirm that it works. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3