all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Extracting headlines?
@ 2017-06-28  8:50 Loris Bennett
  0 siblings, 0 replies; 5+ messages in thread
From: Loris Bennett @ 2017-06-28  8:50 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

If I have captured stuff in a journal file like so:

* 2017
** 2017-06 June
*** 2017-06-01 Thursday
**** Tweaked .bashrc
Added some aliases
*** 2017-06-02 Friday
**** Tweaked .emacs
Added some abbreviations
*** 2017-06-07 Wednesday
**** Tweaked .tweakrc
Set up autotweak

does Org provide any way of extracting just the level 3 headlines for a
given 7 day period?

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett@fu-berlin.de

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

* Re: Extracting headlines?
       [not found] <de77e12d61334f28a536096da49ddb61@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2017-06-28  9:24 ` Eric S Fraga
  2017-06-28 14:40   ` Loris Bennett
       [not found]   ` <3e510170ad6942889faacee53c281c0a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Eric S Fraga @ 2017-06-28  9:24 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

On Wednesday, 28 Jun 2017 at 08:50, Loris Bennett wrote:
> does Org provide any way of extracting just the level 3 headlines for a
> given 7 day period?

If you have org timestamps on those headlines, you might be able to use
org-sparse-tree (C-c /) with the D option (dates range).

-- 
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-551-g92e8c8

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

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

* Re: Extracting headlines?
  2017-06-28  9:24 ` Extracting headlines? Eric S Fraga
@ 2017-06-28 14:40   ` Loris Bennett
       [not found]   ` <3e510170ad6942889faacee53c281c0a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  1 sibling, 0 replies; 5+ messages in thread
From: Loris Bennett @ 2017-06-28 14:40 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Wednesday, 28 Jun 2017 at 08:50, Loris Bennett wrote:
>> does Org provide any way of extracting just the level 3 headlines for a
>> given 7 day period?
>
> If you have org timestamps on those headlines, you might be able to use
> org-sparse-tree (C-c /) with the D option (dates range).

Each headline has an inactive timestamp like this:

  Added: [2017-06-28 Wed 10:35]

So, following

  http://orgmode.org/worg/org-tutorials/advanced-searching.html

I tried

  C-c m a

with

  TIMESTAMP_IA>="<-1w>"

but there was no match.  Am I missing something?

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett@fu-berlin.de

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

* Re: Extracting headlines?
       [not found]   ` <3e510170ad6942889faacee53c281c0a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2017-06-28 15:03     ` Eric S Fraga
  2017-06-29  5:57       ` Loris Bennett
  0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2017-06-28 15:03 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

On Wednesday, 28 Jun 2017 at 14:40, Loris Bennett wrote:
> I tried
>
>   C-c m a

Not sure as I do not know what that is bound to!  I suggested using
org-sparse-tree (normally bound to C-c /) with the D option.  Have you
tried that?

-- 
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-551-g92e8c8

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

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

* Re: Extracting headlines?
  2017-06-28 15:03     ` Eric S Fraga
@ 2017-06-29  5:57       ` Loris Bennett
  0 siblings, 0 replies; 5+ messages in thread
From: Loris Bennett @ 2017-06-29  5:57 UTC (permalink / raw)
  To: emacs-orgmode

Hi Eric,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Wednesday, 28 Jun 2017 at 14:40, Loris Bennett wrote:
>> I tried
>>
>>   C-c m a
>
> Not sure as I do not know what that is bound to!  I suggested using
> org-sparse-tree (normally bound to C-c /) with the D option.  Have you
> tried that?

Sorry, I should have said that I did indeed try what you suggested, but
to no avail - no entries were found in the selected time period.

Doing 'C-c a' brings up the agenda commands menu and the option 'm' is
'Match a TAGS/PROP/TODO query (I think this is standard binding).

Can you give an MWE for the sparse tree approach?  Maybe I can then modify my
capture template appropriately.

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett@fu-berlin.de

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

end of thread, other threads:[~2017-06-29  5:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <de77e12d61334f28a536096da49ddb61@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-06-28  9:24 ` Extracting headlines? Eric S Fraga
2017-06-28 14:40   ` Loris Bennett
     [not found]   ` <3e510170ad6942889faacee53c281c0a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-06-28 15:03     ` Eric S Fraga
2017-06-29  5:57       ` Loris Bennett
2017-06-28  8:50 Loris Bennett

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.