From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Oberbrunner Subject: Re: Something like SETUPFILE, but in .emacs? Date: Sun, 13 Feb 2011 21:08:22 -0500 Message-ID: References: <4d57fe92.0aeb640a.669a.4f21@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=57686 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PonrU-0000iG-8i for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 21:08:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PonrT-0001Yx-0N for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 21:08:24 -0500 Received: from mail-gw0-f41.google.com ([74.125.83.41]:62311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PonrS-0001Yt-SC for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 21:08:22 -0500 Received: by gwj22 with SMTP id 22so2091250gwj.0 for ; Sun, 13 Feb 2011 18:08:22 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: emacs-orgmode@gnu.org Yes, that's definitely what I'm looking for. If I get some time I may write a function to allow autoloading a setupfile-syntax version (just for consistency/simplicity), but given shortness of time I'll probably just track down the vars and set them in my .emacs. :-) thanks! On Sun, Feb 13, 2011 at 4:16 PM, Dan Davison wrote: > Gary Oberbrunner writes: > >> On Sun, Feb 13, 2011 at 10:53 AM, Darlan Cavalcante Moreira >> wrote: >>> You can use auto-insert for this. >> >> I guess I'm really not using org-mode in the way it was intended -- >> everyone thinks I should put these values into each one of my org-mode >> files. > > Hi Gary, > > What did you think of the suggestion I made? > > http://article.gmane.org/gmane.emacs.orgmode/37408 > > I believe it pointed you in the right direction. You need to (a) find > the variables that control the export behavior in question, and (b) set > those variables in your .emacs. My reply gave a source of many of the > relevant variables, i.e. the default value of the variable > `org-export-plist-vars'. An example of one of those variables is > > [...] > >> As an example, I *never* want to export the creator line. > > `org-export-creator-info'. > > Let us know if you have trouble finding the appropriate variable for > something, or if setting the variables isn't behaving the way you want. > > Dan > > >> =A0But most of the comments on this list seem to say I should >> modify my .org files (at least to include #+SETUPFILE), so I guess >> I'll consider that as standard practice. >> >> Would anyone be interested if I were to create a way to specify export >> values in a global file somewhere (~/.org-site-defaults or something) >> in the same syntax as SETUPFILE (#+kwd: value) that would set up all >> the defaults for _every_ org file? > --=20 -- Gary