From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: external/central ``macro'' definitions (for instance link abbrev's)? Date: Sat, 26 Mar 2016 12:55:10 +0000 Message-ID: <871t6xtn4h.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajnkM-0006LJ-Ew for emacs-orgmode@gnu.org; Sat, 26 Mar 2016 08:55:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajnkJ-0006SV-9Y for emacs-orgmode@gnu.org; Sat, 26 Mar 2016 08:55:18 -0400 Received: from mail-db5eur01on0099.outbound.protection.outlook.com ([104.47.2.99]:61800 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajnkJ-0006S2-0x for emacs-orgmode@gnu.org; Sat, 26 Mar 2016 08:55:15 -0400 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: emacs-orgmode@gnu.org On Saturday, 26 Mar 2016 at 11:43, Martin Steffen wrote: [...] > Now, the #+LINK mechanism works fine as such. But I want that it works > for all used *.org files that constituted the overall document /without/ > repeating the definition. Something like > > #+INCLUDE "definitions.org" > > at the beginning of each file, so that if something changes, I need to > adapt only "definitions.org", not all files making use of that shared links. Have you tried that? Org supports include files: #+include: "definitions.org" (note :) [[info:org#Include%20files][info:org#Include files]] -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-668-g809a83