Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-07-25 Thread Jonathan Gregory
On 22 Jul 2023, Ihor Radchenko wrote: I guess I do not fully understand what your patch is trying to achieve. I thought that the patch would make it not necessary to write some extra boilerplate code, like \version or specifying the page size. The purpose of the patch was to fix the

Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-07-25 Thread Henrik Frisk
Den tis 25 juli 2023 kl 18:16 skrev Henrik Frisk : > Hi, > > I have been struggling with the same issues to but have completely missed > this thread. I haven't tried the patch of ob-lilypond but testing the file >

Re: [PATCH] lisp/org-table.el: Allow named columns on lhs

2023-07-25 Thread Max Nikulin
On 25/07/2023 03:29, Gavin Downard wrote: Max Nikulin writes: I have tried the patch. The formula for the named column "$three=" does not work. | ! | one | two | three | four | |---+-+-+---+--| | # | 1 | 2 | |3 | #+tblfm: @>$5=$one+$two::@>$three=$one+$two Yeah,

Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-07-25 Thread Henrik Frisk
Hi, I have been struggling with the same issues to but have completely missed this thread. I haven't tried the patch of ob-lilypond but testing the file https://git.sr.ht/~bzg/worg/tree/6f69d212f41bc372426dc9b4df286638fe8f2a92/item/org-contrib/babel/examples/lilypond.org I'm getting cropped

Re: How to get the contents of an Org subtree?

2023-07-25 Thread Marcin Borkowski
On 2023-07-25, at 07:19, Ihor Radchenko wrote: > Marcin Borkowski writes: > >> I want to get the contents ("text") of a subtree. Without the heading, >> without the drawers - just the text. > > org-agenda-get-some-entry-text Thanks! This was far from obvious, but works exactly as I needed!

Re: [PATCH] org-id: allow using parent's existing id in links to headlines

2023-07-25 Thread Max Nikulin
On 25/07/2023 14:43, Ihor Radchenko wrote: "Rick Lupton" writes: >> Now, with `org-id-link-to-org-use-id' set to `inherit`, "H2" is not modified, and the resulting link is `[[id:abc::*H2][H2]]`, which will still take you to the same place as long as the sub-heading is unique within the parent

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

2023-07-25 Thread Ihor Radchenko
Mehmet Tekman writes: >> Another meetup is on July 26. https://emacs-berlin.org/ >> Or we can arrange a jitsi call. > > Sure, I can be there tomorrow! Ok. There are several talks planned at the beginning, and we may discuss your patch after those. >> The tests are indeed not passing on vanilla

Re: [PATCH] lisp/org-table.el: Allow named columns on lhs

2023-07-25 Thread Gavin Downard
Max Nikulin writes: > I have tried the patch. The formula for the named column "$three=" does > not work. > > | ! | one | two | three | four | > |---+-+-+---+--| > | # | 1 | 2 | |3 | > > #+tblfm: @>$5=$one+$two::@>$three=$one+$two Yeah, I guess my current patch only

[PATCH v4] ob-tangle.el: Blocks overwrite each other when grouping before tangling

2023-07-25 Thread Evgenii Klimov
Ihor Radchenko writes: [...] > Thanks! > The second patch is malformed. May you please resend? Sorry, resend with rewritten test. [...] > If you can, please avoid using `org-test-at-id'. This is much less > readable compared to explicit org-test-with-temp-text because one needs > to reach out

Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-07-25 Thread Jonathan Gregory
Hi Henrik, On 25 Jul 2023, Henrik Frisk wrote: Den tis 25 juli 2023 kl 18:16 skrev Henrik Frisk : My bad, putting :file ionian.cropped.png only results in ionian.cropped.cropped.png (as expected). Unclear why it worked the first couple of times. /Henrik No need to crop the output. If

Re: Subscript entity in the name of files or some advise for alternatives

2023-07-25 Thread Jens Schmidt
On 2023-07-25 01:08, Ypo wrote: Why did you try that variable instead of "org-pretty-entities-include-sub-superscripts"? To be honest: Because I haven't read your mail properly and because I didn't know about "pretty entities". I just noticed the subscripting done on such_file_names in Org

Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-07-25 Thread Henrik Frisk
Den tis 25 juli 2023 kl 19:26 skrev Jonathan Gregory : > Hi Henrik, > > On 25 Jul 2023, Henrik Frisk wrote: > > > Den tis 25 juli 2023 kl 18:16 skrev Henrik Frisk > > : > > > My bad, putting :file ionian.cropped.png only results in > > ionian.cropped.cropped.png (as expected). Unclear why it

Re: Bug: org-anniversary dates not exported to iCalendar [9.4.6 (9.4.6-3-g37f69b-elpaplus @ /home/marcus/.emacs.d/elpa/org-plus-contrib-20210531/)]

2023-07-25 Thread Ihor Radchenko
Marcus Zibrowius writes: >> Please provide mode details about what you tried. > > OK, I will try. I start emacs with > ... > Org mode version 9.5.5 (release_9.5.5 @ > /snap/emacs/current/usr/share/emacs/28.2/lisp/org/) I can also reproduce with this Org version. But not with Org 9.6

Re: [BUG] Issues in ol-gnus when storing links in nnvirtual and nnselect articles [9.7-pre (release_9.6.7-570-gd6f3ae.dirty @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-25 Thread Ihor Radchenko
Jens Schmidt writes: > > Ideally, it would be nice to have tests, though I have no clue how to > > approach writing them. > > I have created a somewhat minimal Gnus setup to develop and test this > patch on my development laptop, where I normally do not use Gnus. It > consists of a bunch of

Re: ox-publish index allows alternative formats?

2023-07-25 Thread Ihor Radchenko
Britt Anderson writes: > Question: > > Could ~:makeindex~ (in the ~org-publish-project-alist~) be expanded to > accept a user provided function for formatting the output differently? Yes. > It seems like it would be nice to allow users to provide their own > formatting functions to

Re: [PATCH v3] ob-tangle.el: Blocks overwrite each other when grouping before tangling

2023-07-25 Thread Ihor Radchenko
Evgenii Klimov writes: > Here are the new tests that demonstrate the bug in block grouping during > block collection, along with the patch to address the issue, taking your > previous remarks into account. Thanks! The second patch is malformed. May you please resend? (You can see the problem

Re: [PATCH] org-id: allow using parent's existing id in links to headlines

2023-07-25 Thread Ihor Radchenko
"Rick Lupton" writes: > Here is a small new feature for org-id that I have been using and finding > useful. The patch adds the option to look for ancestors of the current > headline that have an ID defined and use that together with a link search > string to link to specific headlines,

Re: Bug: org-anniversary dates not exported to iCalendar [9.4.6 (9.4.6-3-g37f69b-elpaplus @ /home/marcus/.emacs.d/elpa/org-plus-contrib-20210531/)]

2023-07-25 Thread Ihor Radchenko
Ihor Radchenko writes: > You can increase `icalendar-export-sexp-enumeration-days' to get the > anniversary occurrences exported up to that number of days ahead. I now documented this in the manual. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5f7cfdfd1 Handled. -- Ihor

Re: org-bibtex manual

2023-07-25 Thread Ihor Radchenko
Ihor Radchenko writes: > I should factor out that lambda into a separate readable function name, > like `org-bibtex-headline-from-title'. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ac0042184 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

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

2023-07-25 Thread Mehmet Tekman
Ihor Radchenko writes: > Another meetup is on July 26. https://emacs-berlin.org/ > Or we can arrange a jitsi call. Sure, I can be there tomorrow! > To name them, you can use separate ert-deftest statements. Oh sure, but I don't want to clutter the library. > Also, see the attached modified