emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] org-babel-demarcate-block: split using element API


From: gerard . vermeulen
Subject: Re: [PATCH] org-babel-demarcate-block: split using element API
Date: Wed, 21 Feb 2024 18:19:54 +0000



On 21.02.2024 10:40, Ihor Radchenko wrote:
gerard.vermeulen@posteo.net writes:

Still failing on my side (when running tests non-interactively from
command line). To fix the problem, please use the approach from
`test-org-list/indent-item':

            (transient-mark-mode 1)
            (push-mark (point) t t)

Instead of (set-mark-command nil)

Gerard, may I know if you had a chance to look into my comments?

I think that I have addressed this particular comment.

Not really.
In any case, see the attached updated patch with my suggestion
incorporated.

Indeed, I did not address it. I also tried out your suggestion out this morning
and saw that it makes "make test" pass.

[...]

Secondly, I see (saw) sometimes Org emitting warnings with backtraces
starting from my patch.  I think the warning may be due either to a
mistake
on my side or a bug in Org, but I am not sure.

May you please provide more details?

I fail to reproduce the warnings, but I think that I have seen (rx ... )
type warnings in the  Emacs warnings buffer with the patched
org-babel-demarcate-block as backtrace entry point.  I did not capture
those at the time, because I thought I could trigger those warnings easily
which is not the case.  This is Emacs-30.0.50.
I am sorry I cannot give more details.

How to proceed? Of course, I agree with your version of the patch
although I had started to remove some of the superfluous scaffolding
to know where point and mark are.

Regards -- Gerard










reply via email to

[Prev in Thread] Current Thread [Next in Thread]