emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Samuel Banya <sbanya@fastmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Question Regarding Routinely Importing Phone Note Org File Into Other Org File Under Subheadings
Date: Sun, 20 Aug 2023 17:23:55 +0000	[thread overview]
Message-ID: <87v8d97hlg.fsf@localhost> (raw)
In-Reply-To: <69856bec-b146-473f-85d4-296d4026bbdf@app.fastmail.com>

"Samuel Banya" <sbanya@fastmail.com> writes:

> In my actual phone notes file, I have this for an example:
>
> ```
>
> Title: 08-15-2023
>
> Recorded music
>
> ```
>
> With this in mind, how do I facilitate the ability to routinely ingest any of the notes that are date based on the phone note title itself from Orgzly so that it automatically determines the Monday of the given week, creates a 'Week of (Starting Monday of that week)' subheading in the 'notes.org' file and slams that new note in there?

You can use Elisp, for example.
1. Parse your note file to be ingested. You can use regular expressions.
2. Create a heading (using, for example lisp/org-datetree.el functions)
3. Put your note body under the heading.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


      reply	other threads:[~2023-08-20 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-20 16:15 Question Regarding Routinely Importing Phone Note Org File Into Other Org File Under Subheadings Samuel Banya
2023-08-20 17:23 ` Ihor Radchenko [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=87v8d97hlg.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=sbanya@fastmail.com \
    /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).