Re: [Orgmode] Feature Request: org-agenda-set-category

2007-09-09 Thread Xavier Maillard

   T. V. Raman [EMAIL PROTECTED] writes:

Could we perhaps introduce a special property that is used by
org-agenda to build the left column?

   What about:

 :PROPERTIES:
 :CATEGORY: general
 :ARCHIVE: archives::
 :END:

   as a future replacement for #+CATEGORY and #+ARCHIVE?

I adhere to this notation. I would also keep the old notation for
compliance for 2 or 3 other future versions.

Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org


___
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


Re: [Orgmode] Feature Request: org-agenda-set-category

2007-09-07 Thread Carsten Dominik


On Sep 6, 2007, at 7:34, Bastien wrote:


T. V. Raman [EMAIL PROTECTED] writes:


Could we perhaps introduce a special property that is used by
org-agenda to build the left column?


What about:

  :PROPERTIES:
  :CATEGORY: general
  :ARCHIVE: archives::
  :END:

as a future replacement for #+CATEGORY and #+ARCHIVE?



I think this is exactly how it should be - I am only
hesitating because many people have come to rely on the other
behavior.

- Carsten



___
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


Re: [Orgmode] Feature Request: org-agenda-set-category

2007-09-06 Thread Bastien
T. V. Raman [EMAIL PROTECTED] writes:

 Could we perhaps introduce a special property that is used by
 org-agenda to build the left column?

What about:

  :PROPERTIES:
  :CATEGORY: general
  :ARCHIVE: archives::
  :END:

as a future replacement for #+CATEGORY and #+ARCHIVE?

-- 
Bastien


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature Request: org-agenda-set-category

2007-09-05 Thread Carsten Dominik

Yes, a minor thing, fixed now.

- Carsten
On Sep 5, 2007, at 7:19, Bastien wrote:


Carsten Dominik [EMAIL PROTECTED] writes:


 it will be okay to set
whatever property you want through the column view -- and perhaps the
column view itself would be available in the agenda ebuffer


it is!


Argh... I didn't even give it a try, shame on me. But now that I boldly
did, C-c C-x C-c in the agenda buffer complained:

,
| Debugger entered--Lisp error: (wrong-type-argument 
number-or-marker-p nil)

|   org-get-level-face(2)
|   org-columns-display-here(((SCHEDULED . 2007-09-08 sam)))
|   #[(x) [EMAIL PROTECTED] [x goto-line org-columns-display-here] 2]((15 
(SCHEDULED . 2007-09-08 sam)))
|   mapc(#[(x) [EMAIL PROTECTED] [x goto-line org-columns-display-here] 2] 
((15 (SCHEDULED . 2007-09-08 sam)) (14 (SCHEDULED . 2007-09-08 
sam)) (13 (SCHEDULED . 2007-09-08 sam)) (12 (SCHEDULED . 
2007-09-08 sam)) (10 (SCHEDULED . 2007-09-07 ven) (CLOSED . 
2007-09-04 mar 18:38)) (9) (5)))

|   org-agenda-columns()
|   call-interactively(org-agenda-columns)
`

Looks like `org-columns-display-here' is expecting some *real* headings
with leading asterisks (See (looking-at \\(\\**\\)\\(\\* \\))).

Or did I miss something?

--
Bastien


___
Emacs-orgmode mailing 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



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature Request: org-agenda-set-category

2007-09-05 Thread T. V. Raman
I'm perfectly happy to do this with properties rather than
categories. But I suggested categories because that is what
agenda  views are using at present in the left column.
Could we perhaps introduce a special property that is used by
org-agenda to build the left column?

 Carsten == Carsten Dominik [EMAIL PROTECTED] writes:
Carsten On Sep 4, 2007, at 20:00, Bastien wrote:
Carsten 
 T. V. Raman [EMAIL PROTECTED] writes:
 
 It would be nice to have an interactive
 org-agenda-set-category alongside org-agenda-set-tag in
 the agenda buffer.
 
 I think it doesn't make sense to have
 `org-agenda-set-category' until we are able to set the
 category as a property of the headline.
 
 For now categories (like the archiving locations) are set
 by looking *backward* for a line like #+CATEGORY or
 #+ARCHIVE.
 
 When setting the category with `org-agenda-set-category',
 where should such a line be inserted/modified? Just above
 the headline? Then storing this headline won't delete the
 #+CATEGORY line. Just under the headline?  Then the
 headline itself won't be recognized as belonging to that
 category...  See the discussion here:
 
 http://article.gmane.org/gmane.emacs.orgmode/2898
 
 Please anybody stops me if I'm wrong, but I guess the
 #+ARCHIVE and #+CATEGORY instructions are slowly dying and
 will be set as properties in the future.
Carsten 
Carsten I have been thinking in this direction as well.  The
Carsten only problem is that properties are quite invisible
Carsten during normal working.
Carsten 
Carsten But I agree that the multiple #+CATEGORY things in a
Carsten single file are complex and not very clean, so
Carsten properties might be better.
 
 Then, in the new world, where such #+CONSTRUCTS are only
 used to set *file* properties (not headlines properties),
Carsten 
Carsten Yes, I'd like to go there, eventually.
Carsten 
 it will be okay to set whatever property you want through
 the column view -- and perhaps the column view itself
 would be available in the agenda ebuffer
Carsten 
Carsten it is!
Carsten 
Carsten 
Carsten 
Carsten ___
Carsten Emacs-orgmode mailing list Emacs-orgmode@gnu.org
Carsten http://lists.gnu.org/mailman/listinfo/emacs-orgmode

-- 
Best Regards,
--raman

  
Email:  [EMAIL PROTECTED]
WWW:http://emacspeak.sf.net/raman/
AIM:emacspeak   GTalk: [EMAIL PROTECTED]
PGP:http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:irc://irc.freenode.net/#emacs


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature Request: org-agenda-set-category

2007-09-04 Thread Bastien
T. V. Raman [EMAIL PROTECTED] writes:

 It would be nice to have an interactive org-agenda-set-category
 alongside org-agenda-set-tag in the agenda buffer.

I think it doesn't make sense to have `org-agenda-set-category' until we
are able to set the category as a property of the headline.

For now categories (like the archiving locations) are set by looking
*backward* for a line like #+CATEGORY or #+ARCHIVE.

When setting the category with `org-agenda-set-category', where should
such a line be inserted/modified? Just above the headline? Then storing
this headline won't delete the #+CATEGORY line. Just under the headline?
Then the headline itself won't be recognized as belonging to that
category...  See the discussion here:

  http://article.gmane.org/gmane.emacs.orgmode/2898

Please anybody stops me if I'm wrong, but I guess the #+ARCHIVE and
#+CATEGORY instructions are slowly dying and will be set as properties
in the future. We already (as of 5.07) have these new properties when
archiving:

  :ARCHIVE_TIME: 2007-09-01 sam 05:54
  :ARCHIVE_FILE: ~/org/bzg.org
  :ARCHIVE_CATEGORY: nothot

Then, in the new world, where such #+CONSTRUCTS are only used to set
*file* properties (not headlines properties), it will be okay to set
whatever property you want through the column view -- and perhaps the
column view itself would be available in the agenda ebuffer, which 
would let you have your `org-agenda-set-category'.

(Of course #+CATEGORY will remain, but only as a way to categorize
files, not headlines.)

 This would allow one to quickly categorize tasks.

Yes, as the column view allows quick selection of *any* property.

 Later, it might also be nice to implement a function that say
 rearranges all todo entries of a particular category under a common
 section. I find myself doing this by hand at present, and Emacs will
 probably do it better than my fingers.

Maybe `org-sort-entries' could group entries that have a property in
common.

-- 
Bastien


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature Request: org-agenda-set-category

2007-09-04 Thread Xavier Maillard

   It would be nice to have an interactive org-agenda-set-category
   alongside org-agenda-set-tag 
   in the agenda buffer.

+1

   Later, it might also be  nice to implement a function that  say
   rearranges all todo entries of a particular category under a
   common section. I find myself doing this by hand at present, and
   Emacs will probably do it better than my fingers.

Also +1. This one is even a must-have for me.


Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature Request: org-agenda-set-category

2007-09-04 Thread T. V. Raman
Putting it immediately after the headline is how I would
implement it.

And it would work depending on ones workstyle --- most features
of org  make sense only in the context of a work style.

 Bastien == Bastien  [EMAIL PROTECTED] writes:
Bastien T. V. Raman [EMAIL PROTECTED] writes:
 It would be nice to have an interactive
 org-agenda-set-category alongside org-agenda-set-tag in
 the agenda buffer.
Bastien 
Bastien I think it doesn't make sense to have
Bastien `org-agenda-set-category' until we are able to set
Bastien the category as a property of the headline.
Bastien 
Bastien For now categories (like the archiving locations)
Bastien are set by looking *backward* for a line like
Bastien #+CATEGORY or #+ARCHIVE.
Bastien 
Bastien When setting the category with
Bastien `org-agenda-set-category', where should such a line
Bastien be inserted/modified? Just above the headline? Then
Bastien storing this headline won't delete the #+CATEGORY
Bastien line. Just under the headline?  Then the headline
Bastien itself won't be recognized as belonging to that
Bastien category...  See the discussion here:
Bastien 
Bastien   http://article.gmane.org/gmane.emacs.orgmode/2898
Bastien 
Bastien Please anybody stops me if I'm wrong, but I guess
Bastien the #+ARCHIVE and #+CATEGORY instructions are slowly
Bastien dying and will be set as properties in the
Bastien future. We already (as of 5.07) have these new
Bastien properties when archiving:
Bastien 
Bastien   :ARCHIVE_TIME: 2007-09-01 sam 05:54 :ARCHIVE_FILE:
Bastien ~/org/bzg.org :ARCHIVE_CATEGORY: nothot
Bastien 
Bastien Then, in the new world, where such #+CONSTRUCTS are
Bastien only used to set *file* properties (not headlines
Bastien properties), it will be okay to set whatever
Bastien property you want through the column view -- and
Bastien perhaps the column view itself would be available in
Bastien the agenda ebuffer, which would let you have your
Bastien `org-agenda-set-category'.
Bastien 
Bastien (Of course #+CATEGORY will remain, but only as a way
Bastien to categorize files, not headlines.)
Bastien 
 This would allow one to quickly categorize tasks.
Bastien 
Bastien Yes, as the column view allows quick selection of
Bastien *any* property.
Bastien 
 Later, it might also be nice to implement a function that
 say rearranges all todo entries of a particular category
 under a common section. I find myself doing this by hand
 at present, and Emacs will probably do it better than my
 fingers.
Bastien 
Bastien Maybe `org-sort-entries' could group entries that
Bastien have a property in common.
Bastien 
Bastien -- Bastien
Bastien 
Bastien 
Bastien ___
Bastien Emacs-orgmode mailing list Emacs-orgmode@gnu.org
Bastien http://lists.gnu.org/mailman/listinfo/emacs-orgmode

-- 
Best Regards,
--raman

  
Email:  [EMAIL PROTECTED]
WWW:http://emacspeak.sf.net/raman/
AIM:emacspeak   GTalk: [EMAIL PROTECTED]
PGP:http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:irc://irc.freenode.net/#emacs


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature Request: org-agenda-set-category

2007-09-04 Thread Carsten Dominik


On Sep 4, 2007, at 20:00, Bastien wrote:


T. V. Raman [EMAIL PROTECTED] writes:


It would be nice to have an interactive org-agenda-set-category
alongside org-agenda-set-tag in the agenda buffer.


I think it doesn't make sense to have `org-agenda-set-category' until 
we

are able to set the category as a property of the headline.

For now categories (like the archiving locations) are set by looking
*backward* for a line like #+CATEGORY or #+ARCHIVE.

When setting the category with `org-agenda-set-category', where should
such a line be inserted/modified? Just above the headline? Then storing
this headline won't delete the #+CATEGORY line. Just under the 
headline?

Then the headline itself won't be recognized as belonging to that
category...  See the discussion here:

  http://article.gmane.org/gmane.emacs.orgmode/2898

Please anybody stops me if I'm wrong, but I guess the #+ARCHIVE and
#+CATEGORY instructions are slowly dying and will be set as properties
in the future.


I have been thinking in this direction as well.  The only problem is
that properties are quite invisible during normal working.

But I agree that the multiple #+CATEGORY things in a single file are
complex and not very clean, so properties might be better.


Then, in the new world, where such #+CONSTRUCTS are only used to set
*file* properties (not headlines properties),


Yes, I'd like to go there, eventually.


 it will be okay to set
whatever property you want through the column view -- and perhaps the
column view itself would be available in the agenda ebuffer


it is!



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode