emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: martyhiatt@riseup.net
Cc: emacs-orgmode@gnu.org
Subject: Re: org-element--cache: Added org-data parent to non-headline element
Date: Sun, 18 Aug 2024 10:20:47 +0000	[thread overview]
Message-ID: <87y14uyvwg.fsf@localhost> (raw)
In-Reply-To: <2336cde7-a7c8-439a-b41b-88aa21bd2d10@riseup.net>

martyhiatt@riseup.net writes:

> On 8/17/24 08:12, Ihor Radchenko wrote:
>> Ihor Radchenko <yantar92@posteo.net> writes:
>> 
>>>> i had another go:
>>>>
>>>> - i made a purely lorem ipsum org file (can share if needed)
>>>> - loaded a minimal emacs config (the one i use for testing/debugging mastodon.el, can share)
>>>> - loaded a really minimal org config (can share if needed)
>>>> - loaded the org file
>>>> - repeated the already mentioned steps, triggering the error.
>>>>
>>>> with this test file, when the error is triggered, the way the file breaks is that a second-level TODO heading is split after the first star, becoming a top-level heading with a single star on a previous line (often, not sure if always, i think other breakages happen also, with my original file other breakages happened).
>>>
>>> A full reproducer I can follow from emacs -Q (or make repro) would be very nice.
>> 
>> May I know if you had a time to look into creating a reproducer?
> ...
> i don't know what that is, nor how to do that, and i don't know org's codebase at all. I'm not a professional programmer. I thought if I reproduced it with a lorem ipsum file and minimal config it would be reproducible outside my own setup.

In other words, I am asking for the steps you listed, but in more
details:
1. I need the config file you used
2. I need your lorem ipsum org file
3. I need to know what to do step by step, starting from emacs -Q, in
   order to see the problem you are seeing. This includes more details
   on what i need to do when inside the Org file:

> - working in an org file, i call clone-indirect-buffer-other-window.

This is clear

> - i narrow parent buffer to a subtree, and cloned buffer i open in another frame

which subtree? what do you mean by parent buffer? do you narrow the same
subtrees? open which buffer in another frame and using which command?

> - in cloned buffer, i move some headings or list items around, and at some point the org parsing breaks. so eg
> if i move a heading, it doesn't correctly calculate the end of the subtree but moves part of the next subtree
> with it (it splits it in the middle for example).

which headings? which lists? which commands do you use to move them?

So, the same you already shared, but with more details.

Thanks in advance!

-- 
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:[~2024-08-18 10:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13 15:18 org-element--cache: Added org-data parent to non-headline element martyhiatt
2024-06-14 10:34 ` Ihor Radchenko
     [not found]   ` <700d853d-ad47-4fd7-ac5e-954c2b278e71@riseup.net>
     [not found]     ` <87frsca2bo.fsf@localhost>
     [not found]       ` <add57553-0444-433e-85a3-ce34059512f2@riseup.net>
2024-07-17 14:56         ` Ihor Radchenko
2024-07-17 15:53           ` martyhiatt
2024-07-17 15:59             ` Ihor Radchenko
2024-07-17 16:36               ` mousebot
2024-07-17 16:52                 ` Ihor Radchenko
2024-08-17  6:12                   ` Ihor Radchenko
2024-08-17 11:42                     ` martyhiatt
2024-08-18 10:20                       ` Ihor Radchenko [this message]
2024-10-02 16:41                         ` Ihor Radchenko
2024-08-17 11:42                     ` martyhiatt

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=87y14uyvwg.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=martyhiatt@riseup.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).