emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Search in the archive file by date
@ 2009-10-27 18:06 Marcelo de Moraes Serpa
  2009-10-27 18:24 ` Benjamin Andresen
  0 siblings, 1 reply; 7+ messages in thread
From: Marcelo de Moraes Serpa @ 2009-10-27 18:06 UTC (permalink / raw)
  To: Org Mode


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

Hello,

When someone asks you: "Hey, do you remember what you have done last day
x?", it would be useful to query org to return in the archive for the items
that have been closed that day. Is there a way to do that?

Thanks!

Marcelo.

[-- Attachment #1.2: Type: text/html, Size: 268 bytes --]

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

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

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

* Re: Search in the archive file by date
  2009-10-27 18:06 Search in the archive file by date Marcelo de Moraes Serpa
@ 2009-10-27 18:24 ` Benjamin Andresen
  2009-10-27 19:39   ` Samuel Wales
  0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Andresen @ 2009-10-27 18:24 UTC (permalink / raw)
  To: Marcelo de Moraes Serpa; +Cc: Org Mode

Hey Marcelo,

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> Hello,
>
> When someone asks you: "Hey, do you remember what you have done last day
> x?", it would be useful to query org to return in the archive for the items
> that have been closed that day. Is there a way to do that?

Sure. Let me tell you how I would do it:

|---------+---------------------------------------|
| C-c a a | the same as M-x org-agenda RET a      |
| v A     | include all archive-files             |
| j       | select the date you want to view      |
| ]       | this will include inactive timestamps |
|---------+---------------------------------------|

I like 'l' as well, which will include (or exclude, based on your
setting) all the clock times that day.

Hope that helps.

> Thanks!
>
> Marcelo.

br,
benny

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

* Re: Re: Search in the archive file by date
  2009-10-27 18:24 ` Benjamin Andresen
@ 2009-10-27 19:39   ` Samuel Wales
  2009-10-27 21:19     ` Bernt Hansen
  0 siblings, 1 reply; 7+ messages in thread
From: Samuel Wales @ 2009-10-27 19:39 UTC (permalink / raw)
  To: Benjamin Andresen; +Cc: Org Mode

The feature of including inactive timestamps is interesting.

For some reason, it is bound to org-agenda-manipulate-query-subtract,
in a recent org.

On 2009-10-27, Benjamin Andresen <bandresen@gmail.com> wrote:
> Hey Marcelo,
>
> Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
>
>> Hello,
>>
>> When someone asks you: "Hey, do you remember what you have done last day
>> x?", it would be useful to query org to return in the archive for the
>> items
>> that have been closed that day. Is there a way to do that?
>
> Sure. Let me tell you how I would do it:
>
> |---------+---------------------------------------|
> | C-c a a | the same as M-x org-agenda RET a      |
> | v A     | include all archive-files             |
> | j       | select the date you want to view      |
> | ]       | this will include inactive timestamps |
> |---------+---------------------------------------|
>
> I like 'l' as well, which will include (or exclude, based on your
> setting) all the clock times that day.
>
> Hope that helps.
>
>> Thanks!
>>
>> Marcelo.
>
> br,
> benny
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>


-- 
Q: How many CDC "scientists" does it take to change a lightbulb?
A: "You only think it's dark." [CDC has denied ME/"CFS" for 25 years]
=====================================================================
Retrovirus: http://www.wpinstitute.org/xmrv/xmrv_qa.html

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

* Re: Search in the archive file by date
  2009-10-27 19:39   ` Samuel Wales
@ 2009-10-27 21:19     ` Bernt Hansen
  2009-10-27 21:58       ` Samuel Wales
  0 siblings, 1 reply; 7+ messages in thread
From: Bernt Hansen @ 2009-10-27 21:19 UTC (permalink / raw)
  To: Samuel Wales; +Cc: Org Mode, Benjamin Andresen

That's the correct function IIRC.  [ and ] map to -add and -subtract
respectively.  It works fine here to display inactive timestamps on the
agenda.

-Bernt

Samuel Wales <samologist@gmail.com> writes:

> The feature of including inactive timestamps is interesting.
>
> For some reason, it is bound to org-agenda-manipulate-query-subtract,
> in a recent org.
>
> On 2009-10-27, Benjamin Andresen <bandresen@gmail.com> wrote:
>> Hey Marcelo,
>>
>> Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
>>
>>> Hello,
>>>
>>> When someone asks you: "Hey, do you remember what you have done last day
>>> x?", it would be useful to query org to return in the archive for the
>>> items
>>> that have been closed that day. Is there a way to do that?
>>
>> Sure. Let me tell you how I would do it:
>>
>> |---------+---------------------------------------|
>> | C-c a a | the same as M-x org-agenda RET a      |
>> | v A     | include all archive-files             |
>> | j       | select the date you want to view      |
>> | ]       | this will include inactive timestamps |
>> |---------+---------------------------------------|
>>
>> I like 'l' as well, which will include (or exclude, based on your
>> setting) all the clock times that day.
>>
>> Hope that helps.
>>
>>> Thanks!
>>>
>>> Marcelo.
>>
>> br,
>> benny
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
>
> -- 
> Q: How many CDC "scientists" does it take to change a lightbulb?
> A: "You only think it's dark." [CDC has denied ME/"CFS" for 25 years]
> =====================================================================
> Retrovirus: http://www.wpinstitute.org/xmrv/xmrv_qa.html
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Search in the archive file by date
  2009-10-27 21:19     ` Bernt Hansen
@ 2009-10-27 21:58       ` Samuel Wales
  2009-11-05 19:20         ` Marcelo de Moraes Serpa
  0 siblings, 1 reply; 7+ messages in thread
From: Samuel Wales @ 2009-10-27 21:58 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Org Mode, Benjamin Andresen

On 2009-10-27, Bernt Hansen <bernt@norang.ca> wrote:
> That's the correct function IIRC.  [ and ] map to -add and -subtract
> respectively.  It works fine here to display inactive timestamps on the
> agenda.

The docstring in release_6.32.4.ge47b refers to the function described
by its name.

-- 
Q: How many CDC "scientists" does it take to change a lightbulb?
A: "You only think it's dark." [CDC has denied ME/"CFS" for 25 years]
=====================================================================
Retrovirus: http://www.wpinstitute.org/xmrv/xmrv_qa.html

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

* Re: Re: Search in the archive file by date
  2009-10-27 21:58       ` Samuel Wales
@ 2009-11-05 19:20         ` Marcelo de Moraes Serpa
  2009-11-05 21:09           ` Bernt Hansen
  0 siblings, 1 reply; 7+ messages in thread
From: Marcelo de Moraes Serpa @ 2009-11-05 19:20 UTC (permalink / raw)
  To: Samuel Wales; +Cc: Bernt Hansen, Org Mode, Benjamin Andresen


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

Hi, thank you for the reply, bejamin.

Your suggestion didn't work quite well for me. My archive file,
newgtd.org_archive, has all my DONE items, archived. I use the
org-archive-subtree to move them there when I'm done with an item, but this
function does not tag the items with the :ARCHIVE: tag. Here's how an
archived item looks like:

* DONE Fix the lisp function that searches through the rails api
:OFFICE:
  :PROPERTIES:
  :ARCHIVE_TIME: 2009-07-31 Fri 19:44
  :ARCHIVE_FILE: ~/org/gtd/newgtd.org
  :ARCHIVE_OLPATH: Tasks
  :ARCHIVE_CATEGORY: newgtd
  :ARCHIVE_TODO: DONE
  :END:

Am I doing something wrong?

Thanks,

Marcelo.

On Tue, Oct 27, 2009 at 3:58 PM, Samuel Wales <samologist@gmail.com> wrote:

> On 2009-10-27, Bernt Hansen <bernt@norang.ca> wrote:
> > That's the correct function IIRC.  [ and ] map to -add and -subtract
> > respectively.  It works fine here to display inactive timestamps on the
> > agenda.
>
> The docstring in release_6.32.4.ge47b refers to the function described
> by its name.
>
> --
> Q: How many CDC "scientists" does it take to change a lightbulb?
> A: "You only think it's dark." [CDC has denied ME/"CFS" for 25 years]
> =====================================================================
> Retrovirus: http://www.wpinstitute.org/xmrv/xmrv_qa.html
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

[-- Attachment #1.2: Type: text/html, Size: 2304 bytes --]

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

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

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

* Re: Search in the archive file by date
  2009-11-05 19:20         ` Marcelo de Moraes Serpa
@ 2009-11-05 21:09           ` Bernt Hansen
  0 siblings, 0 replies; 7+ messages in thread
From: Bernt Hansen @ 2009-11-05 21:09 UTC (permalink / raw)
  To: Marcelo de Moraes Serpa; +Cc: Benjamin Andresen, Org Mode

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> Your suggestion didn't work quite well for me. My archive file,
> newgtd.org_archive, has all my DONE items, archived. I use the
> org-archive-subtree to move them there when I'm done with an item, but
> this function does not tag the items with the :ARCHIVE: tag. Here's
> how an archived item looks like:
>
> * DONE Fix the lisp function that searches through the rails api     :OFFICE:
>   :PROPERTIES:
>   :ARCHIVE_TIME: 2009-07-31 Fri 19:44
>   :ARCHIVE_FILE: ~/org/gtd/newgtd.org
>   :ARCHIVE_OLPATH: Tasks
>   :ARCHIVE_CATEGORY: newgtd
>   :ARCHIVE_TODO: DONE
>   :END:
>
> Am I doing something wrong?

Did you try it?  v A in the agenda includes all trees in my
*.org_archive files -- they don't need a :ARCHIVE: tag to be included.

-Bernt

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

end of thread, other threads:[~2009-11-05 21:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-27 18:06 Search in the archive file by date Marcelo de Moraes Serpa
2009-10-27 18:24 ` Benjamin Andresen
2009-10-27 19:39   ` Samuel Wales
2009-10-27 21:19     ` Bernt Hansen
2009-10-27 21:58       ` Samuel Wales
2009-11-05 19:20         ` Marcelo de Moraes Serpa
2009-11-05 21:09           ` Bernt Hansen

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