From mboxrd@z Thu Jan 1 00:00:00 1970 From: Enda Subject: first level heading = category Date: Wed, 27 Jun 2012 09:05:26 -0700 (PDT) Message-ID: <1340813126.71882.YahooMailNeo@web163106.mail.bf1.yahoo.com> Reply-To: Enda Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="-1423285701-821168211-1340813126=:71882" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjukD-0001Rr-SG for emacs-orgmode@gnu.org; Wed, 27 Jun 2012 12:05:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjukC-0007sO-1E for emacs-orgmode@gnu.org; Wed, 27 Jun 2012 12:05:29 -0400 Received: from nm21-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.137]:35752) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SjukB-0007pY-Or for emacs-orgmode@gnu.org; Wed, 27 Jun 2012 12:05:27 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" ---1423285701-821168211-1340813126=:71882 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable In an org file, I want the category of each item (and subitems) to be=0Athe= name of the first level heading, is there a way to do this without=0Asetti= ng the category for each heading like so?:=0A=0A* Web=0A=A0 :PROPERTIES:=0A= =A0 :CATEGORY: Web=0A=A0 :END:=0A** Web1=0A** Web2=0A* Holiday=0A=A0 :PROPE= RTIES:=0A=A0 :CATEGORY: Holiday=0A=A0 :END:=0A** Holiday1=0A** Holiday2=0A= =0A=0ABest wishes,=0A=0AEnda=0A=0A=0AP.S. In the org manual on page 95, the= re is=0A=0A* Birthdays and similar stuff=0A#+CATEGORY: Holiday=0A%%(org-cal= endar-holiday) ; special function for holiday names=0A#+CATEGORY: Ann=0A%%(= org-anniversary 1956 5 14)6 Arthur Dent is %d years old=0A%%(org-anniversar= y 1869 10 2) Mahatma Gandhi would be %d years old=0A=0AIs using #+CATEGORY:= like this depreciated according to the footnote=0Aon page 101 of the org m= anual? ---1423285701-821168211-1340813126=:71882 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
In an org file, I want the cat= egory of each item (and subitems) to be
the name of the first level heading, i= s there a way to do this without
setting the category for each heading like so= ?:
=
  :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-calend= ar-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 woul= d be %d years old

Is using #+CATEGORY: like this depreciated according to th= e footnote
on page 101 of the org manual?
---1423285701-821168211-1340813126=:71882--