emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Goldman <rpgoldman@sift.info>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Question about local variables block
Date: Wed, 15 Sep 2010 13:10:38 -0500	[thread overview]
Message-ID: <4C910C1E.3050501@sift.info> (raw)
In-Reply-To: <87pqwfgcn9.fsf@gmx.de>

On 9/15/10 Sep 15 -12:06 PM, Sebastian Rose wrote:
> Robert Goldman <rpgoldman@sift.info> 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


Yes, thank you very much; that's exactly what I needed to know.

best,
R

      reply	other threads:[~2010-09-15 18:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-15 15:38 Question about local variables block Robert Goldman
2010-09-15 17:06 ` Sebastian Rose
2010-09-15 18:10   ` Robert Goldman [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=4C910C1E.3050501@sift.info \
    --to=rpgoldman@sift.info \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastian_rose@gmx.de \
    /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).