From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Something like SETUPFILE, but in .emacs? Date: Sun, 13 Feb 2011 21:16:37 +0000 Message-ID: References: <4d57fe92.0aeb640a.669a.4f21@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=51947 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PojJO-0001Mq-8l for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 16:16:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PojJG-00063V-V7 for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 16:16:48 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:53344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PojJG-00063G-O9 for emacs-orgmode@gnu.org; Sun, 13 Feb 2011 16:16:46 -0500 Received: by wwb17 with SMTP id 17so4291043wwb.30 for ; Sun, 13 Feb 2011 13:16:45 -0800 (PST) In-Reply-To: (Gary Oberbrunner's message of "Sun, 13 Feb 2011 13:57:15 -0500") 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: Gary Oberbrunner Cc: emacs-orgmode@gnu.org 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 > But 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?