emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* wrong category in archive
@ 2007-09-13 14:45 John Rakestraw
  2007-09-14  6:15 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: John Rakestraw @ 2007-09-13 14:45 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1081 bytes --]

Hi --

I have a file "home.org" with several different first-level headings.
Included at the top of the file is a general category setting:

#+CATEGORY: Home

At the bottom of the file there are two first-level headings that have
their own category settings:

* Next-to-last heading
#+CATEGORY: Blue

* Last Heading
#+CATEGORY: Green

The category settings work as expected in the agenda view; i.e., items
above the next-to-last heading are categorized as "Home" and items in
the next-to-last heading are categorized "Blue". However, when I
archive completed items in this file, all of them show up in
archive_home.org with this:

   :ARCHIVE_CATEGORY: Green

That is, they all take the archive_category from the last category in
the file, regardless of where they are in the file.

It's perhaps significant that the Green category was the first category
I set in this file. However, the problem persists even after restarting
org-mode to refresh keyword and special line setup.

Fedora 7, Emacs 22.1.1, Org 5.08

Thanks --

-- 
John Rakestraw

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: wrong category in archive
  2007-09-13 14:45 wrong category in archive John Rakestraw
@ 2007-09-14  6:15 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2007-09-14  6:15 UTC (permalink / raw)
  To: John Rakestraw; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Sep 13, 2007, at 16:45, John Rakestraw wrote:

> Hi --
>
> I have a file "home.org" with several different first-level headings.
> Included at the top of the file is a general category setting:
>
> #+CATEGORY: Home
>
> At the bottom of the file there are two first-level headings that have
> their own category settings:
>
> * Next-to-last heading
> #+CATEGORY: Blue
>
> * Last Heading
> #+CATEGORY: Green
>
> The category settings work as expected in the agenda view; i.e., items
> above the next-to-last heading are categorized as "Home" and items in
> the next-to-last heading are categorized "Blue". However, when I
> archive completed items in this file, all of them show up in
> archive_home.org with this:
>
>    :ARCHIVE_CATEGORY: Green
>
> That is, they all take the archive_category from the last category in
> the file, regardless of where they are in the file.
>
> It's perhaps significant that the Green category was the first category
> I set in this file. However, the problem persists even after restarting
> org-mode to refresh keyword and special line setup.
>
> Fedora 7, Emacs 22.1.1, Org 5.08
>
> Thanks --
>
> -- 
> John Rakestraw
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-14  7:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-13 14:45 wrong category in archive John Rakestraw
2007-09-14  6:15 ` Carsten Dominik

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