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

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

  Sebastian

  reply	other threads:[~2010-09-15 17:07 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 [this message]
2010-09-15 18:10   ` Robert Goldman

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=87pqwfgcn9.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=rpgoldman@sift.info \
    /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).