From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: Defining macros globally Date: Mon, 19 Dec 2016 17:59:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ad4e21fb76d054406b0da Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ2EE-0001Mc-1T for emacs-orgmode@gnu.org; Mon, 19 Dec 2016 13:00:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJ2ED-00031W-8B for emacs-orgmode@gnu.org; Mon, 19 Dec 2016 13:00:02 -0500 Received: from mail-ua0-x234.google.com ([2607:f8b0:400c:c08::234]:33586) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cJ2ED-000319-4l for emacs-orgmode@gnu.org; Mon, 19 Dec 2016 13:00:01 -0500 Received: by mail-ua0-x234.google.com with SMTP id b35so81636918uaa.0 for ; Mon, 19 Dec 2016 09:59:59 -0800 (PST) In-Reply-To: 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: Arun Isaac , "emacs-orgmode@gnu.org" --001a113ad4e21fb76d054406b0da Content-Type: text/plain; charset=UTF-8 On Mon, Dec 19, 2016, 7:12 PM Arun Isaac wrote: > > Is it possible to define macros globally, probably in the ~/.emacs init > file with some elisp, instead of on a per-file basis using the #+MACRO > keyword? > You can choose to put all macros in a single org file, and then add that one file as a #+SETUPFILE in all the org files where you wish to use those macros. > -- Kaushal Modi --001a113ad4e21fb76d054406b0da Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mon, Dec 19, 2016, 7:12 PM A= run Isaac <arunisaac@syste= mreboot.net> wrote:

Is it possible to define macros globally, probably in the ~/.emacs init
file with some elisp, instead of on a per-file basis using the #+MACRO
keyword?

You = can choose to put all macros in a single org file, and then add that one fi= le as a #+SETUPFILE in all the org files where you wish to use those macros= .=C2=A0
--

Kaushal Modi

--001a113ad4e21fb76d054406b0da--