all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* (no subject)
@ 2013-01-29  9:43 Martin Beck
  2013-01-30  8:23 ` (no subject) How to sort agenda by timestamps (scheduled/deadline)? Martin Beck
                   ` (2 more replies)
  0 siblings, 3 replies; 29+ messages in thread
From: Martin Beck @ 2013-01-29  9:43 UTC (permalink / raw)
  To: emacs orgmode-mailinglist

[-- Attachment #1: Type: text/html, Size: 772 bytes --]

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-01-29  9:43 (no subject) Martin Beck
@ 2013-01-30  8:23 ` Martin Beck
  2013-01-30 10:31 ` Sorting by scheduled-up/down (was: (no subject)) Bastien
  2013-01-30 12:12 ` (no subject) Bernt Hansen
  2 siblings, 0 replies; 29+ messages in thread
From: Martin Beck @ 2013-01-30  8:23 UTC (permalink / raw)
  To: emacs-orgmode

Martin Beck <elwood151 <at> 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
 
 
 
 

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

* Sorting by scheduled-up/down (was: (no subject))
  2013-01-29  9:43 (no subject) Martin Beck
  2013-01-30  8:23 ` (no subject) How to sort agenda by timestamps (scheduled/deadline)? Martin Beck
@ 2013-01-30 10:31 ` Bastien
  2013-01-30 12:12 ` (no subject) Bernt Hansen
  2 siblings, 0 replies; 29+ messages in thread
From: Bastien @ 2013-01-30 10:31 UTC (permalink / raw)
  To: Martin Beck; +Cc: emacs orgmode-mailinglist

Hi Martin,

"Martin Beck" <elwood151@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.
>
> 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. :-(

This is pretty high on my TODO list for Org 8.0.

Please stay tuned :)

-- 
 Bastien

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

* Re: (no subject)
  2013-01-29  9:43 (no subject) Martin Beck
  2013-01-30  8:23 ` (no subject) How to sort agenda by timestamps (scheduled/deadline)? Martin Beck
  2013-01-30 10:31 ` Sorting by scheduled-up/down (was: (no subject)) Bastien
@ 2013-01-30 12:12 ` Bernt Hansen
  2013-01-30 12:25   ` (no subject) How to sort agenda by timestamps (scheduled/deadline)? Martin Beck
  2 siblings, 1 reply; 29+ messages in thread
From: Bernt Hansen @ 2013-01-30 12:12 UTC (permalink / raw)
  To: Martin Beck; +Cc: emacs orgmode-mailinglist

"Martin Beck" <elwood151@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.
>
> 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. :-(

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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-01-30 12:12 ` (no subject) Bernt Hansen
@ 2013-01-30 12:25   ` Martin Beck
  2013-01-31  1:11     ` Bernt Hansen
  0 siblings, 1 reply; 29+ messages in thread
From: Martin Beck @ 2013-01-30 12:25 UTC (permalink / raw)
  To: emacs-orgmode




Bernt Hansen <bernt <at> norang.ca> writes:

> 
> "Martin Beck" <elwood151 <at> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-01-30 12:25   ` (no subject) How to sort agenda by timestamps (scheduled/deadline)? Martin Beck
@ 2013-01-31  1:11     ` Bernt Hansen
  2013-01-31 10:01       ` Martin Beck
  2013-01-31 10:04       ` Martin Beck
  0 siblings, 2 replies; 29+ messages in thread
From: Bernt Hansen @ 2013-01-31  1:11 UTC (permalink / raw)
  To: Martin Beck; +Cc: emacs-orgmode

Martin Beck <elwood151@web.de> writes:

> Bernt Hansen <bernt <at> norang.ca> writes:
>
>> 
>> "Martin Beck" <elwood151 <at> 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-up            Put 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-01-31  1:11     ` Bernt Hansen
@ 2013-01-31 10:01       ` Martin Beck
  2013-02-01 12:02         ` Bernt Hansen
  2013-01-31 10:04       ` Martin Beck
  1 sibling, 1 reply; 29+ messages in thread
From: Martin Beck @ 2013-01-31 10:01 UTC (permalink / raw)
  To: emacs-orgmode

Bernt Hansen <bernt <at> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-01-31  1:11     ` Bernt Hansen
  2013-01-31 10:01       ` Martin Beck
@ 2013-01-31 10:04       ` Martin Beck
  2013-02-01 12:04         ` Bernt Hansen
  1 sibling, 1 reply; 29+ messages in thread
From: Martin Beck @ 2013-01-31 10:04 UTC (permalink / raw)
  To: emacs-orgmode

Bernt Hansen <bernt <at> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-01-31 10:01       ` Martin Beck
@ 2013-02-01 12:02         ` Bernt Hansen
  2013-02-01 15:43           ` Sebastien Vauban
  2013-02-07  8:21           ` Bastien
  0 siblings, 2 replies; 29+ messages in thread
From: Bernt Hansen @ 2013-02-01 12:02 UTC (permalink / raw)
  To: Martin Beck; +Cc: emacs-orgmode

Martin Beck <elwood151@web.de> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-01-31 10:04       ` Martin Beck
@ 2013-02-01 12:04         ` Bernt Hansen
  2013-02-01 13:23           ` Martin Beck
  0 siblings, 1 reply; 29+ messages in thread
From: Bernt Hansen @ 2013-02-01 12:04 UTC (permalink / raw)
  To: Martin Beck; +Cc: emacs-orgmode

Martin Beck <elwood151@web.de> writes:

> Bernt Hansen <bernt <at> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-02-01 12:04         ` Bernt Hansen
@ 2013-02-01 13:23           ` Martin Beck
  2013-02-02  0:31             ` Eric S Fraga
  2013-02-02 17:04             ` Bernt Hansen
  0 siblings, 2 replies; 29+ messages in thread
From: Martin Beck @ 2013-02-01 13:23 UTC (permalink / raw)
  To: emacs-orgmode

Bernt Hansen <bernt <at> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-02-01 12:02         ` Bernt Hansen
@ 2013-02-01 15:43           ` Sebastien Vauban
  2013-02-01 15:55             ` Sebastien Vauban
  2013-02-07  8:21           ` Bastien
  1 sibling, 1 reply; 29+ messages in thread
From: Sebastien Vauban @ 2013-02-01 15:43 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Bernt,

Bernt Hansen wrote:
> Martin Beck <elwood151-S0/GAf8tV78@public.gmane.org> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-02-01 15:43           ` Sebastien Vauban
@ 2013-02-01 15:55             ` Sebastien Vauban
  2013-02-02 16:57               ` Bernt Hansen
  0 siblings, 1 reply; 29+ messages in thread
From: Sebastien Vauban @ 2013-02-01 15:55 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Bernt,

> Bernt Hansen wrote:
>> Martin Beck <elwood151-S0/GAf8tV78@public.gmane.org> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-02-01 13:23           ` Martin Beck
@ 2013-02-02  0:31             ` Eric S Fraga
  2013-02-02 17:04             ` Bernt Hansen
  1 sibling, 0 replies; 29+ messages in thread
From: Eric S Fraga @ 2013-02-02  0:31 UTC (permalink / raw)
  To: Martin Beck; +Cc: emacs-orgmode

Martin Beck <elwood151@web.de> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-02-01 15:55             ` Sebastien Vauban
@ 2013-02-02 16:57               ` Bernt Hansen
  0 siblings, 0 replies; 29+ messages in thread
From: Bernt Hansen @ 2013-02-02 16:57 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-02-01 13:23           ` Martin Beck
  2013-02-02  0:31             ` Eric S Fraga
@ 2013-02-02 17:04             ` Bernt Hansen
  1 sibling, 0 replies; 29+ messages in thread
From: Bernt Hansen @ 2013-02-02 17:04 UTC (permalink / raw)
  To: Martin Beck; +Cc: emacs-orgmode

Martin Beck <elwood151@web.de> writes:

> Bernt Hansen <bernt <at> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-02-01 12:02         ` Bernt Hansen
  2013-02-01 15:43           ` Sebastien Vauban
@ 2013-02-07  8:21           ` Bastien
  2013-02-22 23:25             ` Martin
  1 sibling, 1 reply; 29+ messages in thread
From: Bastien @ 2013-02-07  8:21 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Martin Beck, emacs-orgmode

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-up        Sort by deadline timestamp, early first
deadline-down      Sort by deadline timestamp, late first
ts-up              Sort by active timestamp, early first
ts-down            Sort by active timestamp, late first
tsia-up            Sort 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-02-07  8:21           ` Bastien
@ 2013-02-22 23:25             ` Martin
  2013-02-23  8:00               ` Bastien
  0 siblings, 1 reply; 29+ messages in thread
From: Martin @ 2013-02-22 23:25 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg <at> 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-up        Sort by deadline timestamp, early first
> deadline-down      Sort by deadline timestamp, late first
> ts-up              Sort by active timestamp, early first
> ts-down            Sort by active timestamp, late first
> tsia-up            Sort 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-02-22 23:25             ` Martin
@ 2013-02-23  8:00               ` Bastien
  2013-03-12 16:00                 ` Martin
  0 siblings, 1 reply; 29+ messages in thread
From: Bastien @ 2013-02-23  8:00 UTC (permalink / raw)
  To: Martin; +Cc: emacs-orgmode

Hi Martin,

Martin <elwood151@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.

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

Best,

-- 
 Bastien

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-02-23  8:00               ` Bastien
@ 2013-03-12 16:00                 ` Martin
  2013-03-13  8:55                   ` Bastien
  0 siblings, 1 reply; 29+ messages in thread
From: Martin @ 2013-03-12 16:00 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg <at> altern.org> writes:

> 
> Hi Martin,
> 
> Martin <elwood151 <at> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-03-12 16:00                 ` Martin
@ 2013-03-13  8:55                   ` Bastien
  2013-03-13  9:26                     ` Martin
  0 siblings, 1 reply; 29+ messages in thread
From: Bastien @ 2013-03-13  8:55 UTC (permalink / raw)
  To: Martin; +Cc: emacs-orgmode

Hi Martin,

Martin <elwood151@web.de> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-03-13  8:55                   ` Bastien
@ 2013-03-13  9:26                     ` Martin
  2013-03-13  9:30                       ` Bastien
  0 siblings, 1 reply; 29+ messages in thread
From: Martin @ 2013-03-13  9:26 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg <at> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-03-13  9:26                     ` Martin
@ 2013-03-13  9:30                       ` Bastien
  2013-03-13 10:47                         ` Martin
  0 siblings, 1 reply; 29+ messages in thread
From: Bastien @ 2013-03-13  9:30 UTC (permalink / raw)
  To: Martin; +Cc: emacs-orgmode

Martin <elwood151@web.de> writes:

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

Yes :)

-- 
 Bastien

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-03-13  9:30                       ` Bastien
@ 2013-03-13 10:47                         ` Martin
  2013-03-13 11:52                           ` Bastien
  0 siblings, 1 reply; 29+ messages in thread
From: Martin @ 2013-03-13 10:47 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg <at> altern.org> writes:

> 
> Martin <elwood151 <at> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-03-13 10:47                         ` Martin
@ 2013-03-13 11:52                           ` Bastien
  2013-03-13 12:41                             ` Martin
  0 siblings, 1 reply; 29+ messages in thread
From: Bastien @ 2013-03-13 11:52 UTC (permalink / raw)
  To: Martin; +Cc: emacs-orgmode

Hi Martin,

Martin <elwood151@web.de> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-03-13 11:52                           ` Bastien
@ 2013-03-13 12:41                             ` Martin
  2013-03-13 13:01                               ` Bastien
  0 siblings, 1 reply; 29+ messages in thread
From: Martin @ 2013-03-13 12:41 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg <at> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-03-13 12:41                             ` Martin
@ 2013-03-13 13:01                               ` Bastien
  2013-03-13 13:51                                 ` Martin
  0 siblings, 1 reply; 29+ messages in thread
From: Bastien @ 2013-03-13 13:01 UTC (permalink / raw)
  To: Martin; +Cc: emacs-orgmode

Hi Martin,

Martin <elwood151@web.de> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-03-13 13:01                               ` Bastien
@ 2013-03-13 13:51                                 ` Martin
  2013-03-13 23:23                                   ` Robert Eckl
  0 siblings, 1 reply; 29+ messages in thread
From: Martin @ 2013-03-13 13:51 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg <at> altern.org> writes:

> 
> Hi Martin,
> 
> Martin <elwood151 <at> 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

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

* Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
  2013-03-13 13:51                                 ` Martin
@ 2013-03-13 23:23                                   ` Robert Eckl
  0 siblings, 0 replies; 29+ messages in thread
From: Robert Eckl @ 2013-03-13 23:23 UTC (permalink / raw)
  To: emacs-orgmode

Martin <elwood151@web.de> writes:

> Bastien <bzg <at> altern.org> writes:
>
>> 
>> Hi Martin,
>> 
>> Martin <elwood151 <at> 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

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

end of thread, other threads:[~2013-03-13 23:23 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-29  9:43 (no subject) Martin Beck
2013-01-30  8:23 ` (no subject) How to sort agenda by timestamps (scheduled/deadline)? Martin Beck
2013-01-30 10:31 ` Sorting by scheduled-up/down (was: (no subject)) Bastien
2013-01-30 12:12 ` (no subject) Bernt Hansen
2013-01-30 12:25   ` (no subject) How to sort agenda by timestamps (scheduled/deadline)? Martin Beck
2013-01-31  1:11     ` Bernt Hansen
2013-01-31 10:01       ` Martin Beck
2013-02-01 12:02         ` Bernt Hansen
2013-02-01 15:43           ` Sebastien Vauban
2013-02-01 15:55             ` Sebastien Vauban
2013-02-02 16:57               ` Bernt Hansen
2013-02-07  8:21           ` Bastien
2013-02-22 23:25             ` Martin
2013-02-23  8:00               ` Bastien
2013-03-12 16:00                 ` Martin
2013-03-13  8:55                   ` Bastien
2013-03-13  9:26                     ` Martin
2013-03-13  9:30                       ` Bastien
2013-03-13 10:47                         ` Martin
2013-03-13 11:52                           ` Bastien
2013-03-13 12:41                             ` Martin
2013-03-13 13:01                               ` Bastien
2013-03-13 13:51                                 ` Martin
2013-03-13 23:23                                   ` Robert Eckl
2013-01-31 10:04       ` Martin Beck
2013-02-01 12:04         ` Bernt Hansen
2013-02-01 13:23           ` Martin Beck
2013-02-02  0:31             ` Eric S Fraga
2013-02-02 17:04             ` Bernt Hansen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.