From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Configuration query Date: Thu, 18 Nov 2010 06:43:50 -1000 Message-ID: References: <4CE53243.10309@unibas.ch> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=47376 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJ7aX-00063a-F6 for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 11:43:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJ7aW-00018i-1k for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 11:43:57 -0500 Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:54650) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PJ7aV-00018F-SG for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 11:43:56 -0500 In-Reply-To: <4CE53243.10309@unibas.ch> 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: =?ISO-8859-1?Q?J=F6rg_Hagmann?= Cc: Emacs Org mode mailing list Aloha S=E9b and J=F6rg, Thanks for these suggestions. I was hoping for something a bit more =20 fine-grained, so that only the settings that were changed in the file =20= were reset, and the values they were reset to were the ones they had, =20= rather than the ones in .emacs. It appears there is no standard way =20 to do this, which helps me on my way. Tom On Nov 18, 2010, at 4:03 AM, J=F6rg Hagmann wrote: > M-x load-file RET .emacs ? > > On 11/17/10 10:19 PM, Thomas S. Dye wrote: >> Aloha all, >> >> This might be a naive query, but I'm wondering if there is some =20 >> standard >> way to put the emacs configuration back to a previous state outside =20= >> of >> the customization interface? >> >> I'm finding that I frequently work with Org-mode files that need >> different configurations. I typically have a #+begin_src emacs-lisp >> block in these files that I can execute with C-c C-c, so that emacs >> behaves the way the file requires for the task at hand. When I'm =20 >> done, >> though, and jump onto the next task, which might depend on my =20 >> standard >> configuration to work correctly, I sometimes find that the changes =20= >> I've >> made break things. At this point, I typically save, quit emacs and =20= >> start >> over. >> >> What I'd like to do is be able to have, in each file that contains an >> emacs-lisp source block that changes the configuration, a =20 >> corresponding >> source code block that puts things back the way they were before the >> block was executed. >> >> Perhaps there is an easy way to do this? >> >> All the best, >> Tom >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode