emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Standard agenda views don't show file name after update (replace


From: Nicolas Goaziou
Subject: Re: [O] Standard agenda views don't show file name after update (replaced by "???:")
Date: Fri, 03 Apr 2015 21:12:30 +0200

Detlef Steuer <address@hidden> writes:

> Am Fri, 03 Apr 2015 17:59:16 +0200
> schrieb Nicolas Goaziou <address@hidden>:
>
>> This is to be expected. You can set :CATEGORY: node property in
>> subtrees if needed.
>
> So this beheaviour changed at some point in the past?

This behaviour was long deprecated. Starting from Org 5.14 (released in
2008), the manual stated

  @cindex #+CATEGORY
  The category is a broad label assigned to each agenda item.  By default,
  the category is simply derived from the file name, but you can also
  specify it with a special line in the buffer, like address@hidden
  backward compatibility, the following also works: if there are several
  such lines in a file, each specifies the category for the text below it.
  The first category also applies to any text before the first CATEGORY
  line.  However, using this method is @emph{strongly} deprecated as it is
  incompatible with the outline structure of the document.  The correct
  method for setting multiple categories in a buffer is using a
  property.}:

I only removed the backward compatibility recently. I dropped a note in
ORG-NEWS.

> To be sure:
>
> I have a file (modulo scheduling information)
>
> * Line1
> #+CATEGORY: one
> ** TODO very important
>
> * Line2
> #+CATEGORY: two
> ** TODO more stuff
>
> It is expected to see both TODOs in an agenda as:
>
> two:   very important
> two:   more stuff

Yes, it is.

This should be

* Line1
  :PROPERTIES:
  :CATEGORY: one
  :END:
** TODO very important

* Line2
  :PROPERTIES:
  :CATEGORY: two
  :END:
** TODO more stuff


Regards,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]