emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Enda <enda_k2@yahoo.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: first level heading = category
Date: Wed, 27 Jun 2012 09:05:26 -0700 (PDT)	[thread overview]
Message-ID: <1340813126.71882.YahooMailNeo@web163106.mail.bf1.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

In an org file, I want the category of each item (and subitems) to be
the name of the first level heading, is there a way to do this without
setting the category for each heading like so?:

* Web
  :PROPERTIES:
  :CATEGORY: Web
  :END:
** Web1
** Web2
* Holiday
  :PROPERTIES:
  :CATEGORY: Holiday
  :END:
** Holiday1
** Holiday2


Best wishes,

Enda


P.S. In the org manual on page 95, there is

* Birthdays and similar stuff
#+CATEGORY: Holiday
%%(org-calendar-holiday) ; special function for holiday names
#+CATEGORY: Ann
%%(org-anniversary 1956 5 14)6 Arthur Dent is %d years old
%%(org-anniversary 1869 10 2) Mahatma Gandhi would be %d years old

Is using #+CATEGORY: like this depreciated according to the footnote
on page 101 of the org manual?

[-- Attachment #2: Type: text/html, Size: 3553 bytes --]

                 reply	other threads:[~2012-06-27 16:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1340813126.71882.YahooMailNeo@web163106.mail.bf1.yahoo.com \
    --to=enda_k2@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /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).