all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Stripping captured journal entries
@ 2024-01-04 15:58 Loris Bennett
  2024-01-05 11:20 ` Michael Welle
  0 siblings, 1 reply; 2+ messages in thread
From: Loris Bennett @ 2024-01-04 15:58 UTC (permalink / raw)
  To: Org Mode Mailing List

Hi,

I capture journal entries such as 

  * 2024-01 January

  ** 2024-01-03 Wednesday

  *** Did this
    Added: [2024-01-03 Wed 10:35]
    - foo

  *** Did that
    Added: [2024-01-03 Wed 12:13]
    - bar

  ** 2024-01-04 Thursday

  *** Did something else
    Added: [2024-01-04 Thu 09:53]
    - foobar

I would like be able to extract a simple list of the headlines below the
dates across multiple dates, i.e.

  *** Did this
  *** Did that
  *** Did something else

However, I only want some of the entries within the month, specifically,
just those within a given week.

I can get part of the way with tweaking the ASCII export, but I wonder
if anyone has an idea about an alternative way of approaching the
problem.

Cheers,

Loris

-- 
This signature is currently under constuction.


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

* Re: Stripping captured journal entries
  2024-01-04 15:58 Stripping captured journal entries Loris Bennett
@ 2024-01-05 11:20 ` Michael Welle
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Welle @ 2024-01-05 11:20 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> Hi,
>
> I capture journal entries such as
>
>   * 2024-01 January
>
>   ** 2024-01-03 Wednesday
>
>   *** Did this
>     Added: [2024-01-03 Wed 10:35]
>     - foo
>
>   *** Did that
>     Added: [2024-01-03 Wed 12:13]
>     - bar
>
>   ** 2024-01-04 Thursday
>
>   *** Did something else
>     Added: [2024-01-04 Thu 09:53]
>     - foobar
>
> I would like be able to extract a simple list of the headlines below the
> dates across multiple dates, i.e.
>
>   *** Did this
>   *** Did that
>   *** Did something else
>
> However, I only want some of the entries within the month, specifically,
> just those within a given week.

maybe you can use (org-map-entries 'org-get-heading "LEVEL=3") as a
starting point.

Regards
hmw


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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-04 15:58 Stripping captured journal entries Loris Bennett
2024-01-05 11:20 ` Michael Welle

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.