emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* first level heading = category
@ 2012-06-27 16:05 Enda
  0 siblings, 0 replies; only message in thread
From: Enda @ 2012-06-27 16:05 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-27 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-27 16:05 first level heading = category Enda

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).