emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Horn <jrhorn424@gmail.com>
To: Erik Iverson <eriki@ccbr.umn.edu>
Cc: emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: [RFC] Self-configuring Org-mode files
Date: Fri, 10 Dec 2010 11:20:07 -0500	[thread overview]
Message-ID: <AANLkTinbgDGA+11+yTGOD7VdJY48Njan4DRxc_onebOu@mail.gmail.com> (raw)
In-Reply-To: <4D025193.5030705@ccbr.umn.edu>

Hah! You're right. Sorry for noise.

On Fri, Dec 10, 2010 at 11:13 AM, Erik Iverson <eriki@ccbr.umn.edu> wrote:
>
>
> Jeff Horn wrote:
>>
>> On Fri, Dec 10, 2010 at 2:09 AM, Thomas S. Dye <tsd@tsdye.com> wrote:
>>>
>>> 4) A super-function in the Library of Babel would set the buffer-local
>>> instance of every relevant Org-mode variable to its default state:
>>> #+source: lob-set-local-defaults
>>> #+begin_src emacs-lisp
>>> ...
>>> #+end_src
>>
>> Would this function save the current state of each variable it changes
>> for restoration after the user exits the buffer?
>>
> Perhaps I'm mis-understanding, but Thomas' suggestion is to set the
> variables *buffer-local*, not global, so once the buffer is killed,
> so are the buffer-local versions of the variables.
>
>



-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

      reply	other threads:[~2010-12-10 16:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-10  7:09 [RFC] Self-configuring Org-mode files Thomas S. Dye
2010-12-10 16:04 ` Jeff Horn
2010-12-10 16:13   ` Erik Iverson
2010-12-10 16:20     ` Jeff Horn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinbgDGA+11+yTGOD7VdJY48Njan4DRxc_onebOu@mail.gmail.com \
    --to=jrhorn424@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eriki@ccbr.umn.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).