Re: Avoid "Scheme implementation" prompt on export

2024-10-14 Thread Roi Martin
Sorry, I forgot to reply to the list. Roi Martin writes: > Hi Bruno, > > Bruno Barbier writes: > >> According to the current source code, you should be able to pick the >> scheme implementation using the :scheme argument (either per block, per >> heading, or per buffer). It should take the same

Re: Understanding Publish (ox-publish.el)

2024-10-14 Thread Christian Moe
It's due to Latex refusing to commit the typographic crime of leaving a heading at the bottom of the page. See: https://tex.stackexchange.com/questions/57857/overfull-box-and-broken-pagination-with-page-that-contains-only-section-headings (That one was also asked by an Org user -- the ease of o

Re: [PATCH] org-refile: calculate file part of the outline path outside the loop for the headings

2024-10-14 Thread Sacha Chua
Ihor Radchenko writes: Hello, Ihor! >> I noticed that org-refile-get-targets seems to recalculate the first >> part of the outline path for each heading, which makes it slow on large >> It feels like a pretty small change (just adding a let), but I >> have copyright assignment papers on file at

Re: [PATCH] Add yank-media handler for LibreOffice Calc tables

2024-10-14 Thread Visuwesh
[திங்கள் அக்டோபர் 14, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >> Attached patch adds support for yanking LibreOffice Calc tables as Org >> tables. Tables from docx files (or LO's equivalent) cannot be yanked >> though since the mimetype for them are richtext or HTML. > > Thanks! > > I j

Re: [BUG] My hour registration file cannot be opened anymore., [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-10-14 Thread lourens
Dear Ihor Somehow, I missed your mail. Sorry for that. I get updates on my emacs installation almost weekly, so I'm fairly up to date. I think I tackled the issue. The hours.org hangs up on opening due to an #+END entry of my clock table, which I copy every week in my :LOGBOOK: blablabla

Re: [BUG] BBDB anniversary entries with a format-string produce error [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-10-14 Thread Alexander Lazarević
I think I looked at the source of the 9.7, if something has changed before sending the bug report and tried it (now again) with the latest available version 9.7.12 (from gnu). Same outcome. But if it seems to work for you I won't pursue this anymore and you could close this. Thanks for looking i

Re: Understanding Publish (ox-publish.el)

2024-10-14 Thread Christian Moe
Hi, The default document class is article. 1. First issue: Not quite sure what you mean by saying that it "does not handle content exceeding the page length". If the problem is with placing images, tables etc., latex does its best, and manually adding \clearpage or \newpage as needed tends to

[PATCH] org-refile: calculate file part of the outline path outside the loop for the headings

2024-10-14 Thread Sacha Chua
Hello, all! I noticed that org-refile-get-targets seems to recalculate the first part of the outline path for each heading, which makes it slow on large files when org-refile-use-outline-path is set to 'title. The following patch let-binds that part to a variable that can be put outside the loop f

[PATCH] Add yank-media handler for LibreOffice Calc tables

2024-10-14 Thread Visuwesh
Attached patch adds support for yanking LibreOffice Calc tables as Org tables. Tables from docx files (or LO's equivalent) cannot be yanked though since the mimetype for them are richtext or HTML. >From 0cd4b1c5402256ed64c9e1711db11ad215c6c1a3 Mon Sep 17 00:00:00 2001 From: Visuwesh Date: Mon, 1

Re: Avoid "Scheme implementation" prompt on export

2024-10-14 Thread Bruno Barbier
Hi Roi, Roi Martin writes: > If I understand correctly, I can set a default Scheme implementation > with the `geiser-scheme-implementation' variable. However, I would like > to specify an implementation per block without having to answer the > prompt every time. > > Is it possible? According

Re: Understanding Publish (ox-publish.el)

2024-10-14 Thread Dr. Arne Babenhauserheide
jman writes: > I'm trying to learn more about the publish export option or Org mode. > Specifically I am using the function `org-latex-publish-to-pdf` to > export Orgmode files into PDF. > > Since this export backend is transparently using Latex, there is stuff > going on behind my back that makes

Re: Understanding Publish (ox-publish.el)

2024-10-14 Thread jman
Christian Moe writes: 1. First issue: Not quite sure what you mean by saying that it "does not handle content exceeding the page length". If the problem is with placing images, tables etc., latex does its best, and manually adding \clearpage or \newpage as needed tends to be the way it's don

Re: [BUG] Patch: Add an option to silence org-latex-preview (also a feature request) [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/30.0.91/lisp/org/)]

2024-10-14 Thread Ihor Radchenko
Daan Ro writes: > I think this bug ticket can be closed. Ok. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at

Re: [BUG] Can't export variable named "nil" to Texinfo

2024-10-14 Thread Ihor Radchenko
8dcc <8dcc@gmail.com> writes: >> Do you _really_ have variable name "nil"? > > Yes, I was not looking for this error, I didn't even know why it > happened before you told me. I am using Org to write the manual for my > Lisp interpreter, and I am exporting it to Texinfo. I wanted to explain > h

Re: Understanding Publish (ox-publish.el)

2024-10-14 Thread jman
jman writes: 2) Compiling this other document will produce strange empty pages. The content of the ordered list doesn't fit one page and instead of filling the next page, it will just "overflow" and "disappear": https://paste.sr.ht/~jman/35434b0fdf08164abf6c59a413d60ea6a4d0e943 I think t

Re: [BUG] BBDB anniversary entries with a format-string produce error [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-10-14 Thread Ihor Radchenko
Alexander Lazarević writes: > I tried the following but no stack-trace is produced: > ... I tried to follow your steps using the latest development version of Org mode, and I am seeing the anniversary appearing in the agenda without errors. Maybe a simple upgrade of Org version can help? -- I

Re: [PATCH] Add yank-media handler for LibreOffice Calc tables

2024-10-14 Thread Ihor Radchenko
Visuwesh writes: > Attached patch adds support for yanking LibreOffice Calc tables as Org > tables. Tables from docx files (or LO's equivalent) cannot be yanked > though since the mimetype for them are richtext or HTML. Thanks! I just tried your patch (make repro) with a simple table foo

Re: [PATCH] org-refile: calculate file part of the outline path outside the loop for the headings

2024-10-14 Thread Ihor Radchenko
Sacha Chua writes: > I noticed that org-refile-get-targets seems to recalculate the first > part of the outline path for each heading, which makes it slow on large > files when org-refile-use-outline-path is set to 'title. The following > patch let-binds that part to a variable that can be put ou

[BUG] Writing table to a folded drawer unfolds it. [9.7.12 (release_9.7.12 @ /home/natrys/.emacs.d/elpa/org-mode/lisp/)]

2024-10-14 Thread Imran Khan
Also any attempt to fold the drawer immediately afterwards (in same elisp thread of execution) does nothing. It seems to be specific to tables in my testing because writing anything else doesn't cause the drawer to unfold like that. For setup, given this simple org-mode file (test1.org): ``` * H

Avoid "Scheme implementation" prompt on export

2024-10-14 Thread Roi Martin
Hello, I have an org document with the following structure: --- Racket code block: #+begin_src scheme #lang racket (+ 1 2) #+end_src Chez Scheme code block: #+begin_src scheme (+ 3 4) #+end_src --- It includes several code blocks with different scheme implementations (e.g. Racket and Ch