emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Welle <mwe012008@gmx.net>
To: emacs-orgmode@gnu.org
Subject: Re: Stripping captured journal entries
Date: Fri, 05 Jan 2024 12:20:49 +0100	[thread overview]
Message-ID: <87wmsoxbzi.fsf@luisa.c0t0d0s0.de> (raw)
In-Reply-To: <87zfxlyts4.fsf@zedat.fu-berlin.de> (Loris Bennett's message of "Thu, 04 Jan 2024 16:58:51 +0100")

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


      reply	other threads:[~2024-01-05 11:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04 15:58 Stripping captured journal entries Loris Bennett
2024-01-05 11:20 ` Michael Welle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wmsoxbzi.fsf@luisa.c0t0d0s0.de \
    --to=mwe012008@gmx.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).