emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Daniel J. Sinder" <djsinder@gmail.com>
To: Keith Lancaster <klancaster1957@mac.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: Hiding #+XXX lines
Date: Fri, 22 May 2009 13:35:16 -0700	[thread overview]
Message-ID: <4A170C84.6000205@gmail.com> (raw)
In-Reply-To: <146AFBC1-F187-44EF-AA71-2E13552FF5D7@mac.com>

As Keith Lancaster so eloquently wrote on 5/21/2009 2:41 PM:
> Is it possible to hide, during normal editing, the configuration / 
> comment lines in a project file?

I put my entire top-of-the-file configuration in a property drawer.  It 
can obviously be expanded on demand, but otherwise is not expanded (ie, 
when I load the file).

My .emacs has this (from Custom):
(custom-set-variables
  '(org-drawers (quote ("PROPERTIES" "SETUP" "LOGBOOK"))))

The my .org file has this at the top (for example):
:SETUP:
#+STARTUP:   hidestars odd lognoteclock-out lognotedone
#+LANGUAGE:  en
#+OPTIONS:   H:4 num:nil toc:nil \n:nil @:t ::t |:t ^:{} *:t TeX:f 
#+CATEGORY:  PROJECTS
#+TYP_TODO:  TODO(t/@) INPROGRESS(i@/@)| CANCELED(C@/@) DONE(D@/@)
#+FILETAGS:  Work
:END:

Dan

  reply	other threads:[~2009-05-22 20:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21 21:41 Hiding #+XXX lines Keith Lancaster
2009-05-22 20:35 ` Daniel J. Sinder [this message]
2009-05-22 21:03   ` Michael Mrozek
2009-05-22 21:12     ` Keith Lancaster
2009-05-22 22:33       ` Daniel J. Sinder

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=4A170C84.6000205@gmail.com \
    --to=djsinder@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=klancaster1957@mac.com \
    /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).