* org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t
@ 2011-04-05 10:30 Antoine Levitt
2011-05-02 9:20 ` Carsten Dominik
0 siblings, 1 reply; 11+ messages in thread
From: Antoine Levitt @ 2011-04-05 10:30 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 839 bytes --]
I guess my use case is pretty common: I use org-agenda to keep track of
appointments, and use org-agenda-skip-scheduled-if-done to avoid
displaying past appointments. If I want to review what I did last week
for instance, I'd like the SCHEDULED dates to appear in
org-agenda-log-mode, not the dates where I closed the TODO entry. But
org-agenda-log-mode-items only has support for closed, clock and state
changes. A nice feature would be a 'scheduled option, which would
display done entries that have a SCHEDULED tag.
I tried to implement it, but got stuck at date handling (apparently, the
problem is that SCHEDULED items use <> syntax, while CLOSED uses
[]. Not sure why.) Could someone take a look at it?
I'm attaching a very preliminary attempt to implement it, in case anyone
is interested. It's buggy because of the date issues.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org-log-scheduled.diff --]
[-- Type: text/x-diff, Size: 3482 bytes --]
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el
index 9adc180..89c9dde 100644
--- a/lisp/org/org-agenda.el
+++ b/lisp/org/org-agenda.el
@@ -4733,6 +4733,7 @@ be skipped."
(list
(if (memq 'closed items) (concat "\\<" org-closed-string))
(if (memq 'clock items) (concat "\\<" org-clock-string))
+ (if (memq 'scheduled items) (concat "\\<" org-scheduled-string))
(if (memq 'state items) "- State \"\\([a-zA-Z0-9]+\\)\".*?"))))
(parts-re (if parts (mapconcat 'identity parts "\\|")
(error "`org-agenda-log-mode-items' is empty")))
@@ -4744,10 +4745,10 @@ be skipped."
(format-time-string
(car org-time-stamp-formats)
(apply 'encode-time ; DATE bound by calendar
- (list 0 0 0 (nth 1 date) (car date) (nth 2 date))))
+ (list 0 0 0 (nth 1 date) (car date) (nth 2 date))))
1 11))))
(org-agenda-search-headline-for-time nil)
- marker hdmarker priority category tags closedp statep clockp state
+ marker hdmarker priority category tags closedp statep clockp scheduledp state
ee txt extra timestr rest clocked)
(goto-char (point-min))
(while (re-search-forward regexp nil t)
@@ -4755,8 +4756,9 @@ be skipped."
(org-agenda-skip)
(setq marker (org-agenda-new-marker (match-beginning 0))
closedp (equal (match-string 1) org-closed-string)
+ scheduledp (equal (match-string 1) org-scheduled-string)
statep (equal (string-to-char (match-string 1)) ?-)
- clockp (not (or closedp statep))
+ clockp (not (or closedp scheduledp statep))
state (and statep (match-string 2))
category (org-get-category (match-beginning 0))
timestr (buffer-substring (match-beginning 0) (point-at-eol))
@@ -4765,7 +4767,7 @@ be skipped."
;; substring should only run to end of time stamp
(setq rest (substring timestr (match-end 0))
timestr (substring timestr 0 (match-end 0)))
- (if (and (not closedp) (not statep)
+ (if (and (not closedp) (not statep) (not scheduledp)
(string-match "\\([0-9]\\{1,2\\}:[0-9]\\{2\\}\\)\\].*?\\([0-9]\\{1,2\\}:[0-9]\\{2\\}\\)" rest))
(progn (setq timestr (concat (substring timestr 0 -1)
"-" (match-string 1 rest) "]"))
@@ -4780,6 +4782,9 @@ be skipped."
(setq extra (match-string 1))))
(clockp
(and (looking-at ".*\n[ \t]*-[ \t]+\\([^-\n \t].*?\\)[ \t]*$")
+ (setq extra (match-string 1))))
+ (scheduledp
+ (and (looking-at ".*\n[ \t]*-[ \t]+\\([^-\n \t].*?\\)[ \t]*$")
(setq extra (match-string 1)))))
(if (not (re-search-backward "^\\*+ " nil t))
(setq txt org-agenda-no-heading-message)
@@ -4788,6 +4793,8 @@ be skipped."
tags (org-get-tags-at))
(looking-at "\\*+[ \t]+\\([^\r\n]+\\)")
(setq txt (match-string 1))
+ (if (and scheduledp (not (string-match (regexp-opt org-done-keywords-for-agenda) txt)))
+ (throw :skip nil))
(when extra
(if (string-match "\\([ \t]+\\)\\(:[^ \n\t]*?:\\)[ \t]*$" txt)
(setq txt (concat (substring txt 0 (match-beginning 1))
@@ -4796,8 +4803,9 @@ be skipped."
(setq txt (org-format-agenda-item
(cond
(closedp "Closed: ")
- (statep (concat "State: (" state ")"))
- (t (concat "Clocked: (" clocked ")")))
+ (scheduledp "Scheduled: ")
+ (statep (concat "State: (" state ")"))
+ (t (concat "Clocked: (" clocked ")")))
txt category tags timestr)))
(setq priority 100000)
(org-add-props txt props
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t
2011-04-05 10:30 org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t Antoine Levitt
@ 2011-05-02 9:20 ` Carsten Dominik
2011-05-02 9:52 ` Antoine Levitt
0 siblings, 1 reply; 11+ messages in thread
From: Carsten Dominik @ 2011-05-02 9:20 UTC (permalink / raw)
To: Antoine Levitt; +Cc: emacs-orgmode
Hi Antoine,
the agenda does list scheduled items anyway, so I do not see why
this information should be repeated in the logging items.
- Carsten
On Apr 5, 2011, at 12:30 PM, Antoine Levitt wrote:
> I guess my use case is pretty common: I use org-agenda to keep track of
> appointments, and use org-agenda-skip-scheduled-if-done to avoid
> displaying past appointments. If I want to review what I did last week
> for instance, I'd like the SCHEDULED dates to appear in
> org-agenda-log-mode, not the dates where I closed the TODO entry. But
> org-agenda-log-mode-items only has support for closed, clock and state
> changes. A nice feature would be a 'scheduled option, which would
> display done entries that have a SCHEDULED tag.
>
> I tried to implement it, but got stuck at date handling (apparently, the
> problem is that SCHEDULED items use <> syntax, while CLOSED uses
> []. Not sure why.) Could someone take a look at it?
>
> I'm attaching a very preliminary attempt to implement it, in case anyone
> is interested. It's buggy because of the date issues.
>
> diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el
> index 9adc180..89c9dde 100644
> --- a/lisp/org/org-agenda.el
> +++ b/lisp/org/org-agenda.el
> @@ -4733,6 +4733,7 @@ be skipped."
> (list
> (if (memq 'closed items) (concat "\\<" org-closed-string))
> (if (memq 'clock items) (concat "\\<" org-clock-string))
> + (if (memq 'scheduled items) (concat "\\<" org-scheduled-string))
> (if (memq 'state items) "- State \"\\([a-zA-Z0-9]+\\)\".*?"))))
> (parts-re (if parts (mapconcat 'identity parts "\\|")
> (error "`org-agenda-log-mode-items' is empty")))
> @@ -4744,10 +4745,10 @@ be skipped."
> (format-time-string
> (car org-time-stamp-formats)
> (apply 'encode-time ; DATE bound by calendar
> - (list 0 0 0 (nth 1 date) (car date) (nth 2 date))))
> + (list 0 0 0 (nth 1 date) (car date) (nth 2 date))))
> 1 11))))
> (org-agenda-search-headline-for-time nil)
> - marker hdmarker priority category tags closedp statep clockp state
> + marker hdmarker priority category tags closedp statep clockp scheduledp state
> ee txt extra timestr rest clocked)
> (goto-char (point-min))
> (while (re-search-forward regexp nil t)
> @@ -4755,8 +4756,9 @@ be skipped."
> (org-agenda-skip)
> (setq marker (org-agenda-new-marker (match-beginning 0))
> closedp (equal (match-string 1) org-closed-string)
> + scheduledp (equal (match-string 1) org-scheduled-string)
> statep (equal (string-to-char (match-string 1)) ?-)
> - clockp (not (or closedp statep))
> + clockp (not (or closedp scheduledp statep))
> state (and statep (match-string 2))
> category (org-get-category (match-beginning 0))
> timestr (buffer-substring (match-beginning 0) (point-at-eol))
> @@ -4765,7 +4767,7 @@ be skipped."
> ;; substring should only run to end of time stamp
> (setq rest (substring timestr (match-end 0))
> timestr (substring timestr 0 (match-end 0)))
> - (if (and (not closedp) (not statep)
> + (if (and (not closedp) (not statep) (not scheduledp)
> (string-match "\\([0-9]\\{1,2\\}:[0-9]\\{2\\}\\)\\].*?\\([0-9]\\{1,2\\}:[0-9]\\{2\\}\\)" rest))
> (progn (setq timestr (concat (substring timestr 0 -1)
> "-" (match-string 1 rest) "]"))
> @@ -4780,6 +4782,9 @@ be skipped."
> (setq extra (match-string 1))))
> (clockp
> (and (looking-at ".*\n[ \t]*-[ \t]+\\([^-\n \t].*?\\)[ \t]*$")
> + (setq extra (match-string 1))))
> + (scheduledp
> + (and (looking-at ".*\n[ \t]*-[ \t]+\\([^-\n \t].*?\\)[ \t]*$")
> (setq extra (match-string 1)))))
> (if (not (re-search-backward "^\\*+ " nil t))
> (setq txt org-agenda-no-heading-message)
> @@ -4788,6 +4793,8 @@ be skipped."
> tags (org-get-tags-at))
> (looking-at "\\*+[ \t]+\\([^\r\n]+\\)")
> (setq txt (match-string 1))
> + (if (and scheduledp (not (string-match (regexp-opt org-done-keywords-for-agenda) txt)))
> + (throw :skip nil))
> (when extra
> (if (string-match "\\([ \t]+\\)\\(:[^ \n\t]*?:\\)[ \t]*$" txt)
> (setq txt (concat (substring txt 0 (match-beginning 1))
> @@ -4796,8 +4803,9 @@ be skipped."
> (setq txt (org-format-agenda-item
> (cond
> (closedp "Closed: ")
> - (statep (concat "State: (" state ")"))
> - (t (concat "Clocked: (" clocked ")")))
> + (scheduledp "Scheduled: ")
> + (statep (concat "State: (" state ")"))
> + (t (concat "Clocked: (" clocked ")")))
> txt category tags timestr)))
> (setq priority 100000)
> (org-add-props txt props
- Carsten
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t
2011-05-02 9:20 ` Carsten Dominik
@ 2011-05-02 9:52 ` Antoine Levitt
2011-05-02 12:07 ` Carsten Dominik
0 siblings, 1 reply; 11+ messages in thread
From: Antoine Levitt @ 2011-05-02 9:52 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
02/05/11 11:20, Carsten Dominik
> Hi Antoine,
Hi, thanks for replying to this old thread.
> the agenda does list scheduled items anyway, so I do not see why
> this information should be repeated in the logging items.
It doesn't list DONE scheduled items. The point is I'd like for log-mode
to be just like the normal agenda, except that it also lists DONE items.
I think maybe log should just force org-agenda-skip-scheduled-if-done
to t. That'd make sense, wouldn't it? Or maybe I'm just extrapolating my
own use case too much, I don't know enough about org usage patterns to
be sure. But I do know that I'd like a function to review my past
appointments/timed todos.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t
2011-05-02 9:52 ` Antoine Levitt
@ 2011-05-02 12:07 ` Carsten Dominik
2011-05-02 12:09 ` Antoine Levitt
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Carsten Dominik @ 2011-05-02 12:07 UTC (permalink / raw)
To: Antoine Levitt; +Cc: emacs-orgmode
On May 2, 2011, at 11:52 AM, Antoine Levitt wrote:
> 02/05/11 11:20, Carsten Dominik
>> Hi Antoine,
>
> Hi, thanks for replying to this old thread.
>
>> the agenda does list scheduled items anyway, so I do not see why
>> this information should be repeated in the logging items.
>
> It doesn't list DONE scheduled items. The point is I'd like for log-mode
> to be just like the normal agenda, except that it also lists DONE items.
>
> I think maybe log should just force org-agenda-skip-scheduled-if-done
> to t.
I don't really think so. A Scheduling timestamp, or a Deadline are for planning.
The log view is for displaying when things where actually done.
AA work-around for you is to make a custom agenda view and set
org-agenda-skip-scheduled-if-done in the options section of
that custom command....
- Carsten
> That'd make sense, wouldn't it? Or maybe I'm just extrapolating my
> own use case too much, I don't know enough about org usage patterns to
> be sure. But I do know that I'd like a function to review my past
> appointments/timed todos.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t
2011-05-02 12:07 ` Carsten Dominik
@ 2011-05-02 12:09 ` Antoine Levitt
2011-05-02 14:53 ` Sébastien Vauban
2011-05-02 15:02 ` Antoine Levitt
2 siblings, 0 replies; 11+ messages in thread
From: Antoine Levitt @ 2011-05-02 12:09 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
02/05/11 14:07, Carsten Dominik
> On May 2, 2011, at 11:52 AM, Antoine Levitt wrote:
>
>> 02/05/11 11:20, Carsten Dominik
>>> Hi Antoine,
>>
>> Hi, thanks for replying to this old thread.
>>
>>> the agenda does list scheduled items anyway, so I do not see why
>>> this information should be repeated in the logging items.
>>
>> It doesn't list DONE scheduled items. The point is I'd like for log-mode
>> to be just like the normal agenda, except that it also lists DONE items.
>>
>> I think maybe log should just force org-agenda-skip-scheduled-if-done
>> to t.
>
>
> I don't really think so. A Scheduling timestamp, or a Deadline are for planning.
> The log view is for displaying when things where actually done.
Alright. It makes more sense for me to display a log view of when things
were planned, because I often close TODOs either before or after the
actual event. But I guess that's just my use.
>
> AA work-around for you is to make a custom agenda view and set
> org-agenda-skip-scheduled-if-done in the options section of
> that custom command....
Seems sensible, I'll do that, thanks!
>
> - Carsten
>
>> That'd make sense, wouldn't it? Or maybe I'm just extrapolating my
>> own use case too much, I don't know enough about org usage patterns to
>> be sure. But I do know that I'd like a function to review my past
>> appointments/timed todos.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t
2011-05-02 12:07 ` Carsten Dominik
2011-05-02 12:09 ` Antoine Levitt
@ 2011-05-02 14:53 ` Sébastien Vauban
2011-05-02 15:02 ` Antoine Levitt
2 siblings, 0 replies; 11+ messages in thread
From: Sébastien Vauban @ 2011-05-02 14:53 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hi,
Carsten Dominik wrote:
> On May 2, 2011, at 11:52 AM, Antoine Levitt wrote:
>> 02/05/11 11:20, Carsten Dominik
>>> Hi Antoine,
>>
>> Hi, thanks for replying to this old thread.
>>
>>> the agenda does list scheduled items anyway, so I do not see why
>>> this information should be repeated in the logging items.
>>
>> It doesn't list DONE scheduled items. The point is I'd like for log-mode
>> to be just like the normal agenda, except that it also lists DONE items.
>>
>> I think maybe log should just force org-agenda-skip-scheduled-if-done
>> to t.
>
> I don't really think so. A Scheduling timestamp, or a Deadline are for planning.
> The log view is for displaying when things where actually done.
>
> AA work-around for you is to make a custom agenda view and set
> org-agenda-skip-scheduled-if-done in the options section of
> that custom command....
I would add that you can see what you did by displaying *logged* entries, ie
a report based on the time you really spent doing something last week.
Best regards,
Seb
--
Sébastien Vauban
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t
2011-05-02 12:07 ` Carsten Dominik
2011-05-02 12:09 ` Antoine Levitt
2011-05-02 14:53 ` Sébastien Vauban
@ 2011-05-02 15:02 ` Antoine Levitt
2011-05-02 15:22 ` Matt Lundin
2 siblings, 1 reply; 11+ messages in thread
From: Antoine Levitt @ 2011-05-02 15:02 UTC (permalink / raw)
To: emacs-orgmode
02/05/11 14:07, Carsten Dominik
> On May 2, 2011, at 11:52 AM, Antoine Levitt wrote:
>
>> 02/05/11 11:20, Carsten Dominik
>>> Hi Antoine,
>>
>> Hi, thanks for replying to this old thread.
>>
>>> the agenda does list scheduled items anyway, so I do not see why
>>> this information should be repeated in the logging items.
>>
>> It doesn't list DONE scheduled items. The point is I'd like for log-mode
>> to be just like the normal agenda, except that it also lists DONE items.
>>
>> I think maybe log should just force org-agenda-skip-scheduled-if-done
>> to t.
>
>
> I don't really think so. A Scheduling timestamp, or a Deadline are for planning.
> The log view is for displaying when things where actually done.
>
> AA work-around for you is to make a custom agenda view and set
> org-agenda-skip-scheduled-if-done in the options section of
> that custom command....
Alright, so I did that, and I seem to have encountered an org-mode
bug. Put this in .emacs
(setq
org-agenda-skip-scheduled-if-done t
org-agenda-custom-commands
'(("l" "Agenda with done items"
agenda "" ((org-agenda-skip-scheduled-if-done nil)))))
(define-key org-agenda-mode-map (kbd "l") (lambda () (interactive) (org-agenda nil "l")))))
M-x org-agenda a -> displays only TODO items, which is fine.
l -> display of DONE items also, which is also fine.
q -> quits org-agenda
M-x org-agenda a -> still fine
M-x org-agenda b/f -> also displays DONE items, which is a bug
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t
2011-05-02 15:02 ` Antoine Levitt
@ 2011-05-02 15:22 ` Matt Lundin
2011-05-02 15:35 ` Antoine Levitt
0 siblings, 1 reply; 11+ messages in thread
From: Matt Lundin @ 2011-05-02 15:22 UTC (permalink / raw)
To: Antoine Levitt; +Cc: emacs-orgmode
Antoine Levitt <antoine.levitt@gmail.com> writes:
[...]
> Alright, so I did that, and I seem to have encountered an org-mode
> bug. Put this in .emacs
>
> (setq
> org-agenda-skip-scheduled-if-done t
> org-agenda-custom-commands
> '(("l" "Agenda with done items"
> agenda "" ((org-agenda-skip-scheduled-if-done nil)))))
>
> (define-key org-agenda-mode-map (kbd "l") (lambda () (interactive) (org-agenda nil "l")))))
>
> M-x org-agenda a -> displays only TODO items, which is fine.
> l -> display of DONE items also, which is also fine.
> q -> quits org-agenda
> M-x org-agenda a -> still fine
> M-x org-agenda b/f -> also displays DONE items, which is a bug
I cannot reproduce this. What version of org-mode are you using?
- Matt
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t
2011-05-02 15:22 ` Matt Lundin
@ 2011-05-02 15:35 ` Antoine Levitt
2011-05-02 15:54 ` Matt Lundin
0 siblings, 1 reply; 11+ messages in thread
From: Antoine Levitt @ 2011-05-02 15:35 UTC (permalink / raw)
To: Matt Lundin; +Cc: emacs-orgmode
02/05/11 17:22, Matt Lundin
> Antoine Levitt <antoine.levitt@gmail.com> writes:
>
> [...]
>
>> Alright, so I did that, and I seem to have encountered an org-mode
>> bug. Put this in .emacs
>>
>> (setq
>> org-agenda-skip-scheduled-if-done t
>> org-agenda-custom-commands
>> '(("l" "Agenda with done items"
>> agenda "" ((org-agenda-skip-scheduled-if-done nil)))))
>>
>> (define-key org-agenda-mode-map (kbd "l") (lambda () (interactive) (org-agenda nil "l")))))
>>
>> M-x org-agenda a -> displays only TODO items, which is fine.
>> l -> display of DONE items also, which is also fine.
>> q -> quits org-agenda
>> M-x org-agenda a -> still fine
>> M-x org-agenda b/f -> also displays DONE items, which is a bug
>
> I cannot reproduce this. What version of org-mode are you using?
>
> - Matt
Right, sorry, I was using org-agenda-list. Here are the updated
instructions
M-x org-agenda a -> displays only TODO items, which is fine.
l -> display of DONE items also, which is also fine.
q -> quits org-agenda
M-x org-agenda-list -> still fine
b/f -> also displays DONE items
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t
2011-05-02 15:35 ` Antoine Levitt
@ 2011-05-02 15:54 ` Matt Lundin
2011-05-11 13:01 ` Antoine Levitt
0 siblings, 1 reply; 11+ messages in thread
From: Matt Lundin @ 2011-05-02 15:54 UTC (permalink / raw)
To: Antoine Levitt; +Cc: emacs-orgmode
Antoine Levitt <antoine.levitt@gmail.com> writes:
> 02/05/11 17:22, Matt Lundin
>> Antoine Levitt <antoine.levitt@gmail.com> writes:
>>
>> [...]
>>
>>> Alright, so I did that, and I seem to have encountered an org-mode
>>> bug. Put this in .emacs
>>>
>>> (setq
>>> org-agenda-skip-scheduled-if-done t
>>> org-agenda-custom-commands
>>> '(("l" "Agenda with done items"
>>> agenda "" ((org-agenda-skip-scheduled-if-done nil)))))
>>>
>>> (define-key org-agenda-mode-map (kbd "l") (lambda () (interactive) (org-agenda nil "l")))))
>>>
>>> M-x org-agenda a -> displays only TODO items, which is fine.
>>> l -> display of DONE items also, which is also fine.
>>> q -> quits org-agenda
>>> M-x org-agenda a -> still fine
>>> M-x org-agenda b/f -> also displays DONE items, which is a bug
>>
>> I cannot reproduce this. What version of org-mode are you using?
>>
>> - Matt
>
> Right, sorry, I was using org-agenda-list. Here are the updated
> instructions
>
> M-x org-agenda a -> displays only TODO items, which is fine.
> l -> display of DONE items also, which is also fine.
> q -> quits org-agenda
> M-x org-agenda-list -> still fine
> b/f -> also displays DONE items
I can confirm this bug with this latter set of instructions, though I'm
puzzled why M-x org-agenda-list behaves differently than C-c a a.
Best,
Matt
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t
2011-05-02 15:54 ` Matt Lundin
@ 2011-05-11 13:01 ` Antoine Levitt
0 siblings, 0 replies; 11+ messages in thread
From: Antoine Levitt @ 2011-05-11 13:01 UTC (permalink / raw)
To: emacs-orgmode
02/05/11 17:54, Matt Lundin
> Antoine Levitt <antoine.levitt@gmail.com> writes:
>> Right, sorry, I was using org-agenda-list. Here are the updated
>> instructions
>>
>> M-x org-agenda a -> displays only TODO items, which is fine.
>> l -> display of DONE items also, which is also fine.
>> q -> quits org-agenda
>> M-x org-agenda-list -> still fine
>> b/f -> also displays DONE items
>
> I can confirm this bug with this latter set of instructions, though I'm
> puzzled why M-x org-agenda-list behaves differently than C-c a a.
>
> Best,
> Matt
So apparently, it's a bad idea to call org-agenda-list directly, because
that will not reset the properties list (nor should it, because it's
used internally by M-x org-agenda).
Maybe this should be made clear in the documentation, or the function
set to non-interactive.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-05-11 13:01 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05 10:30 org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t Antoine Levitt
2011-05-02 9:20 ` Carsten Dominik
2011-05-02 9:52 ` Antoine Levitt
2011-05-02 12:07 ` Carsten Dominik
2011-05-02 12:09 ` Antoine Levitt
2011-05-02 14:53 ` Sébastien Vauban
2011-05-02 15:02 ` Antoine Levitt
2011-05-02 15:22 ` Matt Lundin
2011-05-02 15:35 ` Antoine Levitt
2011-05-02 15:54 ` Matt Lundin
2011-05-11 13:01 ` Antoine Levitt
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).