From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 sB50F7wbXWOa1QAAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 14:25:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0IkHF7wbXWPiQwEAauVa8A (envelope-from ) for ; Sat, 29 Oct 2022 14:25:32 +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 E210511774 for ; Sat, 29 Oct 2022 14:25:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooktH-0003b5-Fc; Sat, 29 Oct 2022 08:24:43 -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 1ookt3-0003aF-Q4 for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 08:24:31 -0400 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ooksw-0000HW-I2 for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 08:24:25 -0400 Received: by mail-qt1-x834.google.com with SMTP id a27so1710638qtw.10 for ; Sat, 29 Oct 2022 05:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phorixsol.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Igbkm+echOviZ/rz/Lp8oW+lyCblHY1BH7crbdeVhxc=; b=PHnSG7ST+k1a7jpkU/YSEaaGLhNll7QM6vhHz9hxJ9sxZO4vJ0G86b1UptZgc1yG8z mghVAGdYWLLaWv5/1qqwZjEeopLFUPU/TDyptlsWeG6h4tsWrjloaQksAJOLNaPy6TRw WInAKwAX1n5l8A50gC49pB8IPij1L6R/s2m8k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Igbkm+echOviZ/rz/Lp8oW+lyCblHY1BH7crbdeVhxc=; b=ebAUPNLlCjR9c8FqI9XN5gf8Sw+DaeJiwSldMLRBR0hZkS/XE8isVRxepOnl2m0TSN p1SDGum+Z9WRLW/B4uIEH04gbmy1vCXsWPyv3sVHTW9YNDRLJ5NwFWlnL19NIKsdw2hJ JLfJVD396Om4l2U2pA/rXH3ViHVIBLFliQP0kjT3hfcbrjibYX5fAdBW6RikaNHHFoTA DPArgXUUNvd5lp4rcGsMXywzMuPq/mZ3hkvVxxTPalLh9ZzAaVWfRuBpTuOYNDwuZsTP zKrT6c2vNbJY3vm/0b8CUTHqXjS52Bvs5F6YD249hq0/mX2Y6lMGj0hnXbXackx26T+7 mCBw== X-Gm-Message-State: ACrzQf1WG95p2q/JxJ5tLN5qgKod/OYL3mDfi0oEU0C8TC8f7Oqct4Ii oXrW7d9vksAGQhyZ/OmfBI5nRwqOAFNBl+tTeJn7aw== X-Google-Smtp-Source: AMsMyM6h1UwrF3jxDcnELvDC2xufgS4uOwrWTST6J8Hoqq7CaSu9TAd1nDtXGmUq8tTUY+7Dcyq/fWzJAxWqZiQdkgs= X-Received: by 2002:a05:622a:138c:b0:399:72a0:477 with SMTP id o12-20020a05622a138c00b0039972a00477mr3212047qtk.607.1667046259334; Sat, 29 Oct 2022 05:24:19 -0700 (PDT) MIME-Version: 1.0 References: <87fsf7jkro.fsf@localhost> In-Reply-To: <87fsf7jkro.fsf@localhost> From: Ian Garmaise Date: Sat, 29 Oct 2022 08:24:09 -0400 Message-ID: Subject: Re: incorrect indentation of new item inserted with capture template To: Ihor Radchenko Cc: emacs-orgmode Content-Type: multipart/alternative; boundary="0000000000001cb1e905ec2b74c7" Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=ian.g@phorixsol.com; helo=mail-qt1-x834.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1667046332; 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=Igbkm+echOviZ/rz/Lp8oW+lyCblHY1BH7crbdeVhxc=; b=V7OAmUunBlvJxyfXBUKHNG4ox0KbEAtceZdq4XvnryNHp7PzfgXmVUtU0kQffS16TqTT/r sXd9jS38ONNmnLXQtMwew34y2EPcUoO6F51X+Y/kBYWlMSEcUVf+wiL6awLGm1+f4AWaQi QjDn9Hl/b1tJRP5ujb8i3JlFXMTY3JHWrXkqNHKSy8FIhxNxhic05jSx4YGm/CyZBq+sz0 vKIadfOUGModAXWDOHKOCHCekWxZJIJYlgBycSXzZg8f6o4kMGGUgtCd2m/qGZeJEM7KaZ ZoOVo1KTvbi1DayU6vgM6xys27tjSc7WMNtcGabY+Kk+15HBZYCBTSha1S44Og== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667046332; a=rsa-sha256; cv=none; b=iDRrJm1lJnI+KECz6XBtNGQLhFQoWQayFDgKQTrnh03sQEay2SLYNlXhHlsy4ZxlYIPOrS zspaZLne/p1CHJdmJlvuiZ/4p59LcjRhvgwtI/+9uMC8BAR4KPXjO/zfVokh2mE5SYZCxL 5bZKNtARlqb79C+70ssQNskycyzGFM4qk5GwuK8zhWOZWSGK5w1rLpMuHwpHFxbaO+XMUh 6lhgqKSjaB/r64hTV+iArxKVff0T1gdymt9OTkny9C+9LEUbDit4OVA/195TFsiT2OdXGy FMHfKHCabWk4ce1uvM8LBpNxVzaFQAzdH4P7ktO3nTtpVt7hSO3JjSndRPFzMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=phorixsol.com header.s=google header.b=PHnSG7ST; dmarc=fail reason="SPF not aligned (relaxed)" header.from=phorixsol.com (policy=none); 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: 2.97 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=phorixsol.com header.s=google header.b=PHnSG7ST; dmarc=fail reason="SPF not aligned (relaxed)" header.from=phorixsol.com (policy=none); 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: E210511774 X-Spam-Score: 2.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: jLasCumduZ/e --0000000000001cb1e905ec2b74c7 Content-Type: text/plain; charset="UTF-8" Hi Ihor, 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. Thanks for following up. Cheers, Ian On Sat, Oct 29, 2022 at 12:49 AM Ihor Radchenko wrote: > Ian Garmaise writes: > > > I have had this problem for several months. > > > > I keep a daily journal. Each morning I add a new entry in a journal file > > using a capture template. The journal file is always loaded. > > On some occasions the indentation of the new entry is incorrect. > > > > Here's an example of incorrect indentation: > > > > *** 2021-12-05 Sunday > > > > - item 1 > > - item 2 > > > > * 2021-12-06 Monday > > > > What I usually do is undo the insertion and reissue the command. > > This always works. > > Sorry for the late reply. > I am unable to reproduce the problem of the latest main. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > -- ===== Ian Garmaise Consultant Phorix Solutions Group ian.g@phorixsol.com Toronto cell: 416.432.2251 (also on Whatsapp) https://www.linkedin.com/in/igarmaise/ http://www.PhorixSol.com --0000000000001cb1e905ec2b74c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Ihor,

I fi= gured out the problem.=C2=A0 Seems like date trees=C2=A0expect only list it= ems between date headlines.
I had been adding headlines betw= een dates, and this seems to confuse the insertion mechanism.=C2=A0 I now s= tick to list items and it works perfectly.=C2=A0 Might be a good idea to ad= d something about this to the manual.

= Thanks for following up.

Cheers,

Ian


On Sat, Oct 29, 2022 at 12:49 AM Ih= or Radchenko <yantar92@posteo.net= > wrote:
= Ian Garmaise <i= an.g@phorixsol.com> writes:

> I have had this problem for several months.
>
> I keep a daily journal.=C2=A0 Each morning I add a new entry in a jour= nal file
> using a capture template.=C2=A0 The journal file is always loaded.
> On some occasions the indentation of the new entry is incorrect.
>
> Here's an example of incorrect indentation:
>
> *** 2021-12-05 Sunday
>
> - item 1
> - item 2
>
> * 2021-12-06 Monday
>
> What I usually do is undo the insertion and reissue the command.
> This always works.

Sorry for the late reply.
I am unable to reproduce the problem of the latest main.

--
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>


--
=3D=3D=3D=3D=3D
Ian Garmaise=
Consultant
Phorix Solutions Group
ian.g@phorixsol.com
Toronto cell: 416.432.= 2251 (also on Whatsapp)

https://www.linkedin.com/in/igarmaise/

= http://www.PhorixSol= .com
--0000000000001cb1e905ec2b74c7--