From: Ian Garmaise <ian.g@phorixsol.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: incorrect indentation of new item inserted with capture template
Date: Sat, 29 Oct 2022 08:24:09 -0400 [thread overview]
Message-ID: <CALWEx6UGJ15oEq6WADCkM7=c=w1cduPKkSowXtiwO230YbFewA@mail.gmail.com> (raw)
In-Reply-To: <87fsf7jkro.fsf@localhost>
[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]
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 <yantar92@posteo.net> wrote:
> Ian Garmaise <ian.g@phorixsol.com> 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 <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>
--
=====
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
[-- Attachment #2: Type: text/html, Size: 3632 bytes --]
next prev parent reply other threads:[~2022-10-29 12:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-06 17:48 incorrect indentation of new item inserted with capture template Ian Garmaise
2022-10-29 4:50 ` Ihor Radchenko
2022-10-29 12:24 ` Ian Garmaise [this message]
2022-10-29 13:05 ` Ihor Radchenko
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='CALWEx6UGJ15oEq6WADCkM7=c=w1cduPKkSowXtiwO230YbFewA@mail.gmail.com' \
--to=ian.g@phorixsol.com \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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).