From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IHDmMzpM4mSIJwEASxT56A (envelope-from ) for ; Sun, 20 Aug 2023 19:24:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kB8nMzpM4mQRZQEAG6o9tA (envelope-from ) for ; Sun, 20 Aug 2023 19:24:10 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 06D235342E for ; Sun, 20 Aug 2023 19:24:09 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MKlvyVjz; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692552250; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YgWCzh9nD5NP3NA7PGsVPOuxO2LEvtgDVXpSMGUkGwg=; b=WpVb/KLL62KTljkuYEsMjyG3l480pB+vfkrk0Doe8JobfagRdKtIU1w/dvu2u07jzTDtdb RvoIoaoNRafi/0sX+dKj+oP02nGykW+xVwGYYstEQ2hpIOuW/2uALSav4LBaLyM5o0Ub3G fVCh6dsi1aVrJev5Fzri/btUI9phHOseLyBnNBbA8sQlKp5lNProtuTPmm/mD+WnHL7/6W OchGdGtaCWrAs7tnGWPfK7iEYP2KZTzhb2OhDuHTnZeBvSIULFkLYkXl7ULWXTvyq9JdKx UYx5Jf9n4+T73wo7wKTg3iedpP7jyGEKB2RBkbI1SoongMzD7JdXOz5vm0TYZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692552250; a=rsa-sha256; cv=none; b=jCvspbbHfDaJi9CqJlwIC5AobHOoP1ICZSMyba5J4EzYGH/1KBtadGUf1fHodLrfk376vR OAp8c4KtgpaPIn5Pen5oFG4okjppOVp2a3PxwL0a5l5gPKwdPWq1mdmwd0z3SJqkFzpmov z9oKKz279qFYheDqLKv6aT/y6BhLidgRibzL7J3ImQu29srDUhuP1OiWz0K3Xs7t/hm43Q gjmUakt0oeGp6jVpqtvbrcTCvNLDr/3JiUizgL8/rd+WUQfFIW/ZoiiA9XPZZGiDQd04fn aCmfdte62TaUOhJWW50ONhQ7vyoL3Y011V1OgGRQcnjFERwfSI1xBX21UhNRxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MKlvyVjz; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXm9J-0004G0-R3; Sun, 20 Aug 2023 13:23:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXm9H-0004FX-R0 for emacs-orgmode@gnu.org; Sun, 20 Aug 2023 13:23:35 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXm9E-0001jP-L8 for emacs-orgmode@gnu.org; Sun, 20 Aug 2023 13:23:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E01E7240101 for ; Sun, 20 Aug 2023 19:23:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692552208; bh=vtEtXbfVV38Sj+XWTmTlix6+qNAgbz92dgifSJrQ7O0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=MKlvyVjzgi23OUZhw8yumg7Yi8qnAGPoa+rOhwyg3oMNbSY7riSYgYYPA0j0SyuJQ wvnhxiy+DtI/9T280wkVOVgB4D6jXAHwWlXQiWKa8fWuAaRWK2GCFis4gc3Iy1Vmx4 Xpxvgia/+fTeYKIoxdoEJYsYXzA25Y7BZzrw5cO4mC3Dx5xOk0gYavHTfGYJE3AYGv TKFa1QG4cKJgt+Uy7Ni8bcQW+BJ+AFXNmK3dAggQ5sG6+z4EcwD5onpHL6ok2IU4d7 Q3MM2Epp445gnMIhkB6pU2zHxgfplmDvFht3kxqd3MOuprCCH6dy9aRHf3vqkx1CkF 3w0zXrWe2PUoQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RTMrw3DSFz6tw4; Sun, 20 Aug 2023 19:23:28 +0200 (CEST) From: Ihor Radchenko To: Samuel Banya Cc: emacs-orgmode@gnu.org Subject: Re: Question Regarding Routinely Importing Phone Note Org File Into Other Org File Under Subheadings In-Reply-To: <69856bec-b146-473f-85d4-296d4026bbdf@app.fastmail.com> References: <69856bec-b146-473f-85d4-296d4026bbdf@app.fastmail.com> Date: Sun, 20 Aug 2023 17:23:55 +0000 Message-ID: <87v8d97hlg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.16 X-Spam-Score: -9.16 X-Migadu-Queue-Id: 06D235342E X-Migadu-Scanner: mx1.migadu.com X-TUID: zKACpFUTO1DN "Samuel Banya" 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 . Support Org development at , or support my work at