From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Albinus Subject: Re: Local variables in org files Date: Thu, 09 Jan 2014 21:51:36 +0100 Message-ID: <87d2k0j2uf.fsf@gmx.de> References: <87a9f5xjsv.fsf@gmx.de> <87ob3luomu.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Ma2-0000iP-Tz for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 15:52:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1MZv-0001mm-SS for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 15:51:54 -0500 Received: from mout.gmx.net ([212.227.17.22]:52825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1MZv-0001mL-JB for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 15:51:47 -0500 Received: from detlef.gmx.de ([93.209.81.126]) by mail.gmx.com (mrgmx002) with ESMTPS (Nemesis) id 0MWk3f-1Vu2xu1cex-00XwLE for ; Thu, 09 Jan 2014 21:51:45 +0100 In-Reply-To: <87ob3luomu.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Thu, 09 Jan 2014 11:05:29 -0500") 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: Nick Dokos Cc: emacs-orgmode@gnu.org Nick Dokos writes: > Not sure if there are any limits for the top style but maybe you could > combine the two styles of local variables - maybe: > > # -*- foo: (1 2 3 4) -*- This would move the problem to the headline. No idea, whether there is a limit (to be tested). But this extremely long and ugly headline would be visible - nothing I like to offer :-( But maybe we don't need the Local Variables block? Code blocks could help? --8<---------------cut here---------------start------------->8--- * COMMENT Local Variables #+NAME: init #+BEGIN_SRC elisp (set (make-local-variable 'debbugs-org-ids) '(1 2 3)) #+END_SRC #+CALL: init --8<---------------cut here---------------end--------------->8--- However, I must have misread the documentation. The "#+CALL: init" directive has no effect when loading a respective xxx.org file :-( Best regards, Michael.