Re: [ANN] lisp/ob-tangle-sync.el

2023-05-19 Thread Mehmet Tekman


Ah, running `org-lint' and correcting the header line as well as adding
languages to the other blocks fixed the mistakes - thanks for this, I
thought I was losing my mind.

Ihor Radchenko  writes:

> The expected result is (:tangle . "yes") for the first block and
> (:tangle . "file with spaces.txt") for the second block.

I also think I did not realise what "yes" did until now. I assumed it
defaulted to the last given filename in the hierarchy, but after reading
the manual I see that it just sets it to the name of the org file.

> Is the patch testing your code?
>
> (Note on the ert tests: we generally prefer `org-test-with-temp-text' -
> the old approach with test IDs is not very readable because one needs to
> search those IDs manually when debugging test failures.) 
>

It is, but please ignore it for now. I will rewrite to to conform to the
`org-test-with-temp-text' examples.

Best,
Mehmet



Re: Different faces for breadcrumbs and main entry in agenda

2023-05-19 Thread Ihor Radchenko
Vladimir Nikishkin  writes:

> Can someone suggest how I could implement different colours for
> breadcrumbs and for the main entry name in the agenda view?

`org-compile-prefix-format' uses `format', which removes all the text 
properties.
So, you may need to manually go through agenda view in
`org-agenda-finalize-hook'.  Entries with breadcrumbs will hold
colorized breadcrumbs in 'breadcrumb text property (see
`org-format-outline-path').

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at