From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +EQ3BEAlXWPMSQEAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 15:06:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QKo5BEAlXWMnTwEA9RJhRA (envelope-from ) for ; Sat, 29 Oct 2022 15:06:08 +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 C1B761259F for ; Sat, 29 Oct 2022 15:06:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oolWK-0000ih-4B; Sat, 29 Oct 2022 09:05:04 -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 1oolWH-0000gz-0P for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 09:05:01 -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 1oolWD-00085A-TH for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 09:05:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 862C9240103 for ; Sat, 29 Oct 2022 15:04:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667048696; bh=TYG5hhnzS2giIYsZz6rpXJL+yamC/WFcv3M1V2dNCEM=; h=From:To:Cc:Subject:Date:From; b=Tc17CYHlGyE7IjZM29fVHECRh4lWmn3IylnMyCrYI9mPCnTESh25ohZGho4ZA+xLa 2G6zt6h1RoiNHq7FpoWB5UolSUAGieuxrrt34b6mpH6lpjKVwvwjpVifd7mhhH0kBH S78LXp/7Mv3GzcleME6zGzy+XGzSUQUspTdXRIxj7WnzaM9T2EbQ2GolvtTtNyFVeL dHU3vXO6R+TqHAxc0Htb488Kt1ajxfkSB8hyC9emqeNc30ZHkSa0mFGf3q//MO3Bzi eJuziy5kMZ7yqDQv9ENieCYJF6wBY1H0zcXN10Gr87lVaI/f70U30gLETEOe9WMEF1 C3HTgx3lVmpoQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N004l1GJhz9rxB; Sat, 29 Oct 2022 15:04:54 +0200 (CEST) From: Ihor Radchenko To: Ian Garmaise Cc: emacs-orgmode Subject: Re: incorrect indentation of new item inserted with capture template In-Reply-To: References: <87fsf7jkro.fsf@localhost> Date: Sat, 29 Oct 2022 13:05:37 +0000 Message-ID: <87tu3mhja6.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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H2=-0.001, 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667048767; 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=7CSkfLsHFVaBkbq/se8rsShk4heYSeartkcyQ4FAykA=; b=K9ZqPs/fjgokUr6YCSXTHF2As1zQm/vlEpN+616uhc/sLrHsAYLf9rzmDsS9Hbdhp85LHc 4Ke5pu2z7L/ewwk0SJa3DfLt1siugzGek+Nf+9H9EiDmk4AXFKLVzW3hXozIk4LT4YKQSW 4+4s/CswhWublvcmZYrSkVB3AYZd53Y5/+RBK7bqHXUEqrZUJ9MS4bh6Hv4Gi8VEb2FE8N VMjtNPYNM4WEmmK6T950i9n05J/vG41TZziWIpNACLXWHEssObCYALNH0QXKS5EZOiNnKj cbTx6SRfymUmprO+fja4Wiz4XPH4vNQSm40LAw/Y66YQBBCUp2qVk4n1/uee/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667048767; a=rsa-sha256; cv=none; b=sRUjC+35FpanAkUVwkDwxW+3x8odW53GnU+kkHsioNXwTlArQrDKfcrIfEPPk/5++EGjSe 2mBJFuuSa7MGXJQtSU2awpliwiFwd1rC7CS6FqaGhfiy2pKonMQKSX6CZ68iU35DRMg76A WjnsCJrtgt114apclHYs+ez19GipH5jo4N8pmswTfHJkmNAUkIXMlm7JdIwuXaRB1laiDQ 9H6HhBwyfp7AHOCq4/Cnzr5vYJaX79UummSONgZdpp5el4Tk38+NLsVor7VB1kJ5SzUr4I FIrW804Jj0mbOOsqDI6Bj3c4LX8+mjvlUgMAw+RfRAdoydwteqJMYvCZ+5Q5Zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Tc17CYHl; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Tc17CYHl; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: C1B761259F X-Spam-Score: -1.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: rmm27Dpt4sv5 Ian Garmaise writes: > I figured out the problem. Seems like date trees expect only list items > between date headlines. > I had been adding headlines between dates, and this seems to confuse the > insertion mechanism. I now stick to list items and it works perfectly. > Might be a good idea to add something about this to the manual. If you post an example where org-datetree gets confused, we can improve things on Org side. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at