emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Detlef Steuer <detlef.steuer@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Standard agenda views don't show file name after update (replaced by "???:")
Date: Fri, 03 Apr 2015 21:12:30 +0200	[thread overview]
Message-ID: <878ue9yqjl.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20150403185017.0f12f9bb@linux-w3xx.localdomain> (Detlef Steuer's message of "Fri, 3 Apr 2015 18:50:17 +0200")

Detlef Steuer <detlef.steuer@gmx.de> writes:

> Am Fri, 03 Apr 2015 17:59:16 +0200
> schrieb Nicolas Goaziou <mail@nicolasgoaziou.fr>:
>
>> 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 this@footnote{For
  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	other threads:[~2015-04-03 19:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 17:20 Standard agenda views don't show file name after update (replaced by "???:") John Hendy
2015-04-01 20:44 ` Nicolas Goaziou
2015-04-03  2:40   ` John Hendy
2015-04-03 10:21     ` Detlef Steuer
2015-04-03 15:59       ` Nicolas Goaziou
2015-04-03 16:50         ` Detlef Steuer
2015-04-03 19:12           ` Nicolas Goaziou [this message]
2015-04-04 13:31             ` Xavier Maillard

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=878ue9yqjl.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=detlef.steuer@gmx.de \
    --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).