Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-03-13 Thread Robert Eckl
Martin  writes:

> Bastien  altern.org> writes:
>
>> 
>> Hi Martin,
>> 
>> Martin  web.de> writes:
>
>> > However I still have the problem that M-x org-version produces 
>> > an error:
>> > Org-mode version N/A-fixup (N/A-fixup !!check installation!! @
>> > c:/Users/mynameDocuments/sorga/org-mode/org_current/lisp/)
>> > Is this normal in a beta?
>> 
>> Nope.  Did you run ~$ make autoloads (or simply ~$ make)
>> and set the correct load-paths?
> Yes, I set the load paths for lisp and contrib/lisp in my .emacs file 
> and I executed make autoloads in the org-mode directory.
> :-(
>
> still the same problem:
>> > When trying to open an agenda, I get the error:
>> > org-entries-lessp: Wrong type argument: stringp, nil
>> The instructions for using a "beta" are in the "Using Org's git
>> repository" subsection and requires people to have Git installed
>> on their machine.  If you have Git, its better to clone the repo
>> than to download the .zip from the repo.
> When trying the git clone command in cygwin, I get an error message
> "connection refused". I fear this could be blocked in my company's
> network. 
>
> So I will have to download the archives and install them manually, I
> fear. 
>
> I tried again, also modifying the local.mk (I'm using Windows 7), but
> no success. 
> So I think I'll have to go back to 7.9.4.
> :-(
>
Recently i did run into the same issue. 
Reordering things in my .emacs did the trick -
first set the load-path, especially the path where org-mode lives, then
the rest. And be sure, org-mode is loaded not from an directory with an
old version or from an build-in version. 
I thought, the configuration was so, but AFAIR there was an old path, which
was ignored by versions less recent. It was a mixed configuration in
office, so yet i can not look for this.

Cu
Robert




Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-03-13 Thread Martin
Bastien  altern.org> writes:

> 
> Hi Martin,
> 
> Martin  web.de> writes:

> > However I still have the problem that M-x org-version produces 
> > an error:
> > Org-mode version N/A-fixup (N/A-fixup !!check installation!! @
> > c:/Users/mynameDocuments/sorga/org-mode/org_current/lisp/)
> > Is this normal in a beta?
> 
> Nope.  Did you run ~$ make autoloads (or simply ~$ make)
> and set the correct load-paths?
Yes, I set the load paths for lisp and contrib/lisp in my .emacs file 
and I executed make autoloads in the org-mode directory.
:-(

still the same problem:
> > When trying to open an agenda, I get the error:
> > org-entries-lessp: Wrong type argument: stringp, nil
> The instructions for using a "beta" are in the "Using Org's git
> repository" subsection and requires people to have Git installed
> on their machine.  If you have Git, its better to clone the repo
> than to download the .zip from the repo.
When trying the git clone command in cygwin, I get an error message "connection
refused". I fear this could be blocked in my company's network.

So I will have to download the archives and install them manually, I fear.

I tried again, also modifying the local.mk (I'm using Windows 7), but no 
success.
So I think I'll have to go back to 7.9.4.
:-(

Kind regards

Martin






Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-03-13 Thread Bastien
Hi Martin,

Martin  writes:

> thanks a lot! Your wild guess saved me (partially)!
> I never needed that up to now (and first had to install make, 
> as I am working on
> Windows an need to use Cygwin for that) but finally it worked.
>
> However I still have the problem that M-x org-version produces 
> an error:
> Org-mode version N/A-fixup (N/A-fixup !!check installation!! @
> c:/Users/mynameDocuments/sorga/org-mode/org_current/lisp/)
> Is this normal in a beta?

Nope.  Did you run ~$ make autoloads (or simply ~$ make)
and set the correct load-paths?

> Another problem: org-export is missing, 
> the file does not exist in lisp or
> contrib/lisp.
> I could not find anything about that in the mailing list, 
> maybe I've overlooked it?
>
> When trying to open an agenda, I get the error:
> org-entries-lessp: Wrong type argument: stringp, nil

Same problems as above.

> Did I do something wrong or is the "typical beta-experience"?
> So then I think I've go back to 7.9.4 and await version 8 with patience.
> (Or is there a way to get the new sorting features already with Version 7.9?
>
> Concerning the instructions:
> from my point of view it is not clear what has to be done to use the beta
> version and what risks there are.
> (For a programmer this might be clear, for a normal user this is not
> clear IMHO.)

The instructions for using a "beta" are in the "Using Org's git
repository" subsection and requires people to have Git installed
on their machine.  If you have Git, its better to clone the repo
than to download the .zip from the repo.

> Sorry for my beginner questions and merci beaucoup!

Pas de problème :)

-- 
 Bastien



Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-03-13 Thread Martin
Bastien  altern.org> writes:

> Wild guess:
> 
> ~$ make autoloads
> 
> See http://orgmode.org/org.html#Installation
> 
> If those instructions are not clear enough, please raise 
> your voice, we are in the process of clarifying them!

thanks a lot! Your wild guess saved me (partially)!
I never needed that up to now (and first had to install make, 
as I am working on
Windows an need to use Cygwin for that) but finally it worked.

However I still have the problem that M-x org-version produces 
an error:
Org-mode version N/A-fixup (N/A-fixup !!check installation!! @
c:/Users/mynameDocuments/sorga/org-mode/org_current/lisp/)
Is this normal in a beta?

Another problem: org-export is missing, 
the file does not exist in lisp or
contrib/lisp.
I could not find anything about that in the mailing list, 
maybe I've overlooked it?

When trying to open an agenda, I get the error:
org-entries-lessp: Wrong type argument: stringp, nil

Did I do something wrong or is the "typical beta-experience"?
So then I think I've go back to 7.9.4 and await version 8 with patience.
(Or is there a way to get the new sorting features already with Version 7.9?

Concerning the instructions:
from my point of view it is not clear what has to be done to use the beta
version and what risks there are.
(For a programmer this might be clear, for a normal user this is not clear 
IMHO.)

Sorry for my beginner questions and merci beaucoup!

Kind regards

Martin




Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-03-13 Thread Bastien
Hi Martin,

Martin  writes:

> When I execute the agenda-command, I get the error message:
> "org-agenda-skip: Wrong type argument: stringp, nil"
> Is there any documentation about changes that might break something? 

Wild guess:

~$ make autoloads

See http://orgmode.org/org.html#Installation

If those instructions are not clear enough, please raise your voice,
we are in the process of clarifying them!

Thanks,

-- 
 Bastien



Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-03-13 Thread Martin
Bastien  altern.org> writes:

> 
> Martin  web.de> writes:
> 
> > Thanks for clarifying. So if I use the current beta version, 
> > I can test it already?
> 
> Yes :)
> 

I tried and failed. :-(
I downloaded the zip-file
http://orgmode.org/cgit.cgi/org-mode.git/snapshot/release_8.0-beta.zip, copied
all the contents of the file into my paths (where org-mode 7.9.4 was working
happily before),
launched Emacs, byte-compiled the whole path

When I execute the agenda-command, I get the error message:
"org-agenda-skip: Wrong type argument: stringp, nil"
Is there any documentation about changes that might break something? 

Kind regards

Martin






Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-03-13 Thread Bastien
Martin  writes:

> Thanks for clarifying. So if I use the current beta version, 
> I can test it already?

Yes :)

-- 
 Bastien



Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-03-13 Thread Martin
Bastien  altern.org> writes:

 
> the new sorting features will be in 8.0, not yet released...
> sorry if I was unclear about this in a previous message.


Thanks for clarifying. So if I use the current beta version, 
I can test it already?

Martin




Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-03-13 Thread Bastien
Hi Martin,

Martin  writes:

> I now finally installed org-mode 7.9.4 and I tried to use the new sorting
> features, but it did not work.

the new sorting features will be in 8.0, not yet released...
sorry if I was unclear about this in a previous message.

HTH,

-- 
 Bastien



Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-03-12 Thread Martin
Bastien  altern.org> writes:

> 
> Hi Martin,
> 
> Martin  web.de> writes:
> 
> > I'll try to install it, test it and then get back to you with 
> > a feedback how it works as soon as I can.

Hi Bastien,

I now finally installed org-mode 7.9.4 and I tried to use the new sorting
features, but it did not work.

I changed my sorting strategy to:
(setq org-agenda-sorting-strategy
  (quote ((agenda deadline-up scheduled-up time-up user-defined-up)
  (todo category-up priority-down effort-up)
  (tags category-up priority-down effort-up)
  (search nil
And now when trying to display the agenda, I get the following error:
"Symbol's value as variable is void: deadline-up"

Did I do something wrong or install the wrong version?

Kind regards

Martin




Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-02-23 Thread Bastien
Hi Martin,

Martin  writes:

> I'll try to install it, test it and then get back to you with 
> a feedback how it works as soon as I can.

Thanks in advance for testing this!  If you can help with updating
the manual wrt this change, please go ahead.

Best,

-- 
 Bastien



Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-02-22 Thread Martin
Bastien  altern.org> writes:

> 
> Hi Martin and Bernt,
> 
> the master branch now have new sorting strategies:
> 
> timestamp-up   Sort by any timestamp, early first
> timestamp-down Sort by any timestamp, late first
> scheduled-up   Sort by scheduled timestamp, early first
> scheduled-down Sort by scheduled timestamp, late first
> deadline-upSort by deadline timestamp, early first
> deadline-down  Sort by deadline timestamp, late first
> ts-up  Sort by active timestamp, early first
> ts-downSort by active timestamp, late first
> tsia-upSort by inactive timestamp, early first
> tsia-down  Sort by inactive timestamp, late first
> 
> Please have a try and let me know if this works as
> expected.
> 
> Thanks both for your input on this,
> 

Hi Bastien,

thanks a lot for your help and for your effort (and sorry for my late reply)!!

I would love to test this, but I first have to manage to install 
the latest version. I've found the FAQ. 
I'll try to install it, test it and then get back to you with 
a feedback how it works as soon as I can.

Kind regards

Martin





Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-02-07 Thread Bastien
Hi Martin and Bernt,

the master branch now have new sorting strategies:

timestamp-up   Sort by any timestamp, early first
timestamp-down Sort by any timestamp, late first
scheduled-up   Sort by scheduled timestamp, early first
scheduled-down Sort by scheduled timestamp, late first
deadline-upSort by deadline timestamp, early first
deadline-down  Sort by deadline timestamp, late first
ts-up  Sort by active timestamp, early first
ts-downSort by active timestamp, late first
tsia-upSort by inactive timestamp, early first
tsia-down  Sort by inactive timestamp, late first

Please have a try and let me know if this works as
expected.

Thanks both for your input on this,

-- 
 Bastien



Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-02-02 Thread Bernt Hansen


"Sebastien Vauban"
 writes:

> Bernt,
>
>> Bernt Hansen wrote:

>>> The thing I couldn't get to work was automatically starting column view
>>> in my block agenda.  I can still manually do that with C-c C-x C-c
>>
>> What about this?
>>
>>  (add-to-list 'org-agenda-custom-commands
>>   '("H"
>> tags-todo "+home"
>> ((org-agenda-view-columns-initially t
>
> Sorry. It does work as standalone agenda view, but I now guess you meant not
> in a block view... Too quick!

Exactly :)

Regards,
Bernt




Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-02-02 Thread Bernt Hansen
Martin Beck  writes:

> Bernt Hansen  norang.ca> writes:
>
>> > I tried to create a block agenda with several blocks based 
>> > on the (agenda )command, but then I also have the time 
>> > grid several times..
>> 
>> >
>> You should be able to turn the grid off.
>
>
> Hi Bernt,
> thanks a lot for your answers (also the other one:
> http://article.gmane.org/gmane.emacs.orgmode/65520).
>
> If it is possible to use more than one "agenda" block in the block agenda 
> and turn off the time grid for all but the first, this should do perfectly 
> what
> I need. 

Yes it is possible.  See Eric S Fraga's reply in this thread for the
appropriate variable.

Regards,
Bernt



Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-02-01 Thread Eric S Fraga
Martin Beck  writes:

> If it is possible to use more than one "agenda" block in the block agenda 
> and turn off the time grid for all but the first, this should do perfectly 
> what
> I need. 

One of my agenda custom views looks like this:

#+begin_src emacs-lisp
("v" "Startup View"
  (
(todo "INPR" (quote(org-agenda-overriding-header "Currently active tasks: 
")))
(todo "WAIT" (quote(org-agenda-overriding-header "Tasks waiting on others: 
")))
(agenda "" ((org-agenda-time-grid nil)
  (org-deadline-warning-days 365)
  (org-agenda-entry-types (quote (:deadline)))
  (org-agenda-skip-entry-if (quote scheduled))
  (org-agenda-ndays 1)
  (org-agenda-overriding-header "Unscheduled upcoming deadlines:")))
(agenda "" ((org-agenda-ndays 1)
  (org-deadline-warning-days 1)))
(todo "" (quote(org-agenda-overriding-header "Unscheduled No Deadline TODO: 
"
#+end_src

Note the =org-agenda-time-grid nil= setting.

HTH,
eric
-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_7.9.3d-898-g005917




Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-02-01 Thread Sebastien Vauban
Bernt,

> Bernt Hansen wrote:
>> Martin Beck  writes:
>>
>>> Hi Bernt,
>>> thanks for your help - so if you can not make it work, I assume that it's 
>>> not
>>> possible yet?
>>
>> I didn't spend a lot of time on this so I wouldn't give up just yet.
>> The thing I couldn't get to work was automatically starting column view
>> in my block agenda.  I can still manually do that with C-c C-x C-c
>
> What about this?
>
>  (add-to-list 'org-agenda-custom-commands
>   '("H"
> tags-todo "+home"
> ((org-agenda-view-columns-initially t

Sorry. It does work as standalone agenda view, but I now guess you meant not
in a block view... Too quick!

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-02-01 Thread Sebastien Vauban
Hi Bernt,

Bernt Hansen wrote:
> Martin Beck  writes:
>
>> Hi Bernt,
>> thanks for your help - so if you can not make it work, I assume that it's not
>> possible yet?
>
> I didn't spend a lot of time on this so I wouldn't give up just yet.
> The thing I couldn't get to work was automatically starting column view
> in my block agenda.  I can still manually do that with C-c C-x C-c

What about this?

--8<---cut here---start->8---
 (add-to-list 'org-agenda-custom-commands
  '("H"
tags-todo "+home"
((org-agenda-view-columns-initially t
--8<---cut here---end--->8---

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-02-01 Thread Martin Beck
Bernt Hansen  norang.ca> writes:

> > I tried to create a block agenda with several blocks based 
> > on the (agenda )command, but then I also have the time 
> > grid several times..
> 
> >
> You should be able to turn the grid off.


Hi Bernt,
thanks a lot for your answers (also the other one:
http://article.gmane.org/gmane.emacs.orgmode/65520).

If it is possible to use more than one "agenda" block in the block agenda 
and turn off the time grid for all but the first, this should do perfectly what
I need. 
The only problem is, that I don't get it to work, because I'm messing up
the code blocks. :-(

I'd need 
* Block 1 with time grid and deadlines (current and late) 
* Block 2 with Prio A (scheduled today or before today), 
sorted by scheduled date - newest first 
* Block 3 with Prio B (scheduled today or before today, 
sorted by scheduled date - newest first)

If you have a suggestion how to solve that, this would help me very much.

Kind regards

Martin





Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-02-01 Thread Bernt Hansen
Martin Beck  writes:

> Hi Bernt,
> thanks for your help - so if you can not make it work, I assume that it's not
> possible yet?

I didn't spend a lot of time on this so I wouldn't give up just yet.
The thing I couldn't get to work was automatically starting column view
in my block agenda.  I can still manually do that with C-c C-x C-c

> I tried your code - it does what it promises.. however, you're right,
> it's not
> yet what I need:
> I'd need Priority A and B in one view (table),
> then sorted
> * Prio A first
> * Prio B second
> lines sorted by date descending (newest first) .. would that be possible?

I think that should be possible.

>
> If I understand the problem right, I can get the deadline/scheduled 
> information
> in the agenda only with the "agenda" commmand, not with tags-todo or anything
> else? This is a pity.

In column view you can see the data in any agenda view.  Dates are
normally only displayed in the "agenda" view which includes the
time grid.  This would only show past due and past scheduled items and
deadlines within deadline warning period.

> So theoretically, I'd have to use this agenda command and then tweak the 
> sorting
> function to arrange items by Prio first and then by date?
> (That's what I tried already, based on your setup, but I was not able to make 
> it
> work yet..)
>

Is column view in the agenda acceptable? I don't know of another way to
display the deadline and schedule information you want.

I can take another look at this over the weekend id you like.

Regards,
Bernt



Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-02-01 Thread Bernt Hansen
Martin Beck  writes:

> Bernt Hansen  norang.ca> writes:
>
>> > But unfortunately, it does only display category, TODO-keyword 
>> > and subject, but
>> > NO information about Deadline or Scheduled date.
>> >
>
> I tried to create a block agenda with several blocks based 
> on the (agenda )command, but then I also have the time grid several 
> times..


>
You should be able to turn the grid off.

Bernt




Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-01-31 Thread Martin Beck
Bernt Hansen  norang.ca> writes:

> > But unfortunately, it does only display category, TODO-keyword 
> > and subject, but
> > NO information about Deadline or Scheduled date.
> >

I tried to create a block agenda with several blocks based 
on the (agenda )command, but then I also have the time grid several times..

Martin





Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-01-31 Thread Martin Beck
Bernt Hansen  norang.ca> writes:
> >
> > Ho could I insert this additional "column" in the agenda view?
> 
> I can't make it work in the block agenda but as a standalone agenda does
> this help?
> 
> --8<---cut here---start->8---
> ("x" "test" tags-todo "PRIORITY=\"A\"" 
>  ((org-agenda-overriding-header "Critical")
>   (org-agenda-entry-types '(:deadline))
>   (org-columns-default-format "%10CATEGORY(Category) %60ITEM(Task)
%15DEADLINE(Deadline) %15SCHEDULED(Scheduled)")
>   (org-agenda-view-columns-initially t)
>   (org-agenda-sorting-strategy (quote (time-up category-keep)))
>   (org-agenda-todo-ignore-scheduled 'future)
>   (org-agenda-todo-ignore-deadlines 'future)))
> --8<---cut here---end--->8---
> 
> This starts the agenda in column mode and shows category, task,
> deadline, scheduled dates.
> 
> 'q' exits column mode.
> 
> In the block agenda if you turn on column mode with C-c C-x C-c you get
> the same information for all tasks in the agenda
> 
> It's probably not exactly what you were looking for...
> 
> Regards,
> Bernt
> 
> 

Hi Bernt,
thanks for your help - so if you can not make it work, I assume that it's not
possible yet? 
I tried your code - it does what it promises.. however, you're right, it's not
yet what I need:
I'd need Priority A and B in one view (table),
then sorted
* Prio A first
* Prio B second
lines sorted by date descending (newest first) .. would that be possible?

If I understand the problem right, I can get the deadline/scheduled information
in the agenda only with the "agenda" commmand, not with tags-todo or anything
else? This is a pity.
So theoretically, I'd have to use this agenda command and then tweak the sorting
function to arrange items by Prio first and then by date?
(That's what I tried already, based on your setup, but I was not able to make it
work yet..)

Kind regards

Martin




Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-01-30 Thread Bernt Hansen
Martin Beck  writes:

> Bernt Hansen  norang.ca> writes:
>
>> 
>> "Martin Beck"  web.de> writes:
>> 
>> > I'm trying to create a custom agenda setup for my org-mode and I wonder how
> I can sort the agenda-items by
>> date (Scheduled
>> > or deadline): newest first.
>> >
>> > I only found time-up / time-down in the parameters, but that does not seem
> to do what I need.
>> > ...
>> 
>> Hi Martin,
>> 
>> I sort my daily agenda items specifically using a bunch of complicated
>> sorting functions.  They are all documented here:
>> 
>> http://doc.norang.ca/org-mode.html#AgendaViewTweaks
>> 
>> HTH,
>> Bernt
>> 
>> 
>
> Hi Bernt,
>
> thanks a lot - I'm already working with your setup and currently struggling to
> adapt it to my needs, but my elisp/emacs/org-mode knowledge is still too 
> limited.
>
> Is it true that "time-up" only sorts items which really have a time
> (hours/minutes) defined, so it does not also sort everything with
> date-timestamps by date?

Hi Martin,

>From 

,[ C-h v org-agenda-sorting-strategy ]
| time-upPut entries with time-of-day indications first, early first
| time-down  Put entries with time-of-day indications first, late first
`

time-up should sort items with a date stamp and time with earlier times
first followed by later times.  time-down is the opposite.  I don't
think this has anything to do with durations.  Yes it only seems to
affect entries with a time component.  On today's daily agenda if I set
org-agenda-sorting-strategy to only be time-up then the grid is at the
to of the agenda followed by all of the other entries.  Any entries with
a time are interspersed in the grid.

With time-down the grid is in reverse at the bottom of the agenda.

>
> I tried to modify your Block Agenda by inserting the following block:
>
> (tags-todo "PRIORITY=\"A\"" (
>   (org-agenda-overriding-header "Critical")
>   (org-agenda-entry-types '(:deadline))
>   (org-agenda-sorting-strategy (quote (time-up category-keep)))
>   (org-agenda-todo-ignore-scheduled 'future)
>   (org-agenda-todo-ignore-deadlines 'future)
>   ))
>
> But unfortunately, it does only display category, TODO-keyword and subject, 
> but
> NO information about Deadline or Scheduled date.
>
> Ho could I insert this additional "column" in the agenda view?

I can't make it work in the block agenda but as a standalone agenda does
this help?

--8<---cut here---start->8---
  ("x" "test" tags-todo "PRIORITY=\"A\"" 
   ((org-agenda-overriding-header "Critical")
(org-agenda-entry-types '(:deadline))
(org-columns-default-format "%10CATEGORY(Category) 
%60ITEM(Task) %15DEADLINE(Deadline) %15SCHEDULED(Scheduled)")
(org-agenda-view-columns-initially t)
(org-agenda-sorting-strategy (quote (time-up category-keep)))
(org-agenda-todo-ignore-scheduled 'future)
(org-agenda-todo-ignore-deadlines 'future)))
--8<---cut here---end--->8---

This starts the agenda in column mode and shows category, task,
deadline, scheduled dates.

'q' exits column mode.

In the block agenda if you turn on column mode with C-c C-x C-c you get
the same information for all tasks in the agenda

It's probably not exactly what you were looking for...

Regards,
Bernt



Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-01-30 Thread Martin Beck



Bernt Hansen  norang.ca> writes:

> 
> "Martin Beck"  web.de> writes:
> 
> > I'm trying to create a custom agenda setup for my org-mode and I wonder how
I can sort the agenda-items by
> date (Scheduled
> > or deadline): newest first.
> >
> > I only found time-up / time-down in the parameters, but that does not seem
to do what I need.
> > ...
> 
> Hi Martin,
> 
> I sort my daily agenda items specifically using a bunch of complicated
> sorting functions.  They are all documented here:
> 
> http://doc.norang.ca/org-mode.html#AgendaViewTweaks
> 
> HTH,
> Bernt
> 
> 

Hi Bernt,

thanks a lot - I'm already working with your setup and currently struggling to
adapt it to my needs, but my elisp/emacs/org-mode knowledge is still too 
limited.

Is it true that "time-up" only sorts items which really have a time
(hours/minutes) defined, so it does not also sort everything with
date-timestamps by date?

I tried to modify your Block Agenda by inserting the following block:

(tags-todo "PRIORITY=\"A\"" (
(org-agenda-overriding-header "Critical")
(org-agenda-entry-types '(:deadline))
(org-agenda-sorting-strategy (quote (time-up category-keep)))
(org-agenda-todo-ignore-scheduled 'future)
(org-agenda-todo-ignore-deadlines 'future)
))

But unfortunately, it does only display category, TODO-keyword and subject, but
NO information about Deadline or Scheduled date.

Ho could I insert this additional "column" in the agenda view?

Kind regards

Martin






Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-01-30 Thread Martin Beck
Martin Beck  web.de> writes:

(sorry, I was too fast and forgot to enter a subject)

I'm trying to create a custom agenda setup for my org-mode and I 
 wonder how I can sort the agenda-items by date (Scheduled or deadline): 
 newest first.
 
 
 I only found time-up / time-down in the parameters, but that does not seem to
do what I need.
 
 
 Another
  important point would be how to handle items with no scheduled/date or 
 deadline.. they should be placed at the end of the list.
 
 
 I've been searching some time but did not find a solution. 
 
 
 Kind regards
 
 
 Martin