From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Question about local variables block Date: Wed, 15 Sep 2010 19:06:02 +0200 Message-ID: <87pqwfgcn9.fsf@gmx.de> References: <4C90E885.7010409@sift.info> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=36704 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvvRQ-0001zL-RV for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 13:07:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvvQw-000713-EP for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 13:06:40 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:38633 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OvvQw-00070W-0K for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 13:06:10 -0400 In-Reply-To: <4C90E885.7010409@sift.info> (Robert Goldman's message of "Wed, 15 Sep 2010 10:38:45 -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: rpgoldman@sift.info Cc: Org Mode Robert Goldman writes: > I've been putting local variables blocks at the bottom of some of my > org-mode files (in particular, those files that I share with others). > > The problem is that having a local variables block at the bottom of the > file, at least if it uses # as a virtual comment character, doesn't > dovetail nicely with org's folding behavior. I find if I fold the > bottom-most header line in such an org-mode file, my local variables > block gets folded into that header inappropriately. > > So is there some way to format a local variables block at the bottom of > a file so that org-mode knows that it's a local variables block and not > part of the outline? Not that I'm aware of it. But you could use a special comment section: * COMMENT local varibles # Local Variables: # mode: org # fill-column: 70 # End: HTH Sebastian