Re: [PATCH] Async sessions: Fix prompt removal regression in ob-R

2024-10-15 Thread Jack Kamm
Ihor Radchenko writes: > Maybe we can simply override `comint-prompt-regexp' as we do in > ob-shell? The default regexp seems to be too permissive. I don't think this is a good idea, since this is a deliberate choice by ESS, which contains explicit commentary that the regexp should not contain B

Re: Understanding Publish (ox-publish.el)

2024-10-15 Thread jman
Christian Moe writes: It's due to Latex refusing to commit the typographic crime of leaving a heading at the bottom of the page. Wow. I had no clue something like this could happen. Note that this does /not/ happen with a list. (Try changing your long outline from headers to a list) Int

Re: Understanding Publish (ox-publish.el)

2024-10-15 Thread Rens Oliemans
Christian Moe writes: >> As you point out, I just need to avoid having /only/ headings. > > Or have only headings, but insert a strategic \clearpage here and there, > if you *want* the outline to have the look of headings. Or have only headings, but have some text in some of the sections: LaTeX

Re: [BUG] Org-roam not working [9.8 (9.8-??-39272e2 @ /home/samuel/.config/emacs/.local/straight/build-29.4/org/)]

2024-10-15 Thread Ihor Radchenko
Samuel Weinfurter writes: > When I do space-n-r-r window split and there is this error. I tried > launch org-roam through M-x it worked normally. It happens on my boht > machines so it's not problem in just one computer. > ... This sounds Doomemacs-specific. Have you tried to report this to Do

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-15 Thread Ihor Radchenko
Alexander Lazarević writes: > 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. What I did exactly is 0. Make sure that .emacs.d/elpa and .emacs.d/

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-15 Thread Ihor Radchenko
lour...@dewesterkwartiermakers.nl writes: > Somehow, I missed your mail. Sorry for that. > I get updates on my emacs installation almost weekly, so I'm fairly up > to date. Well. The latest Org mode release is not actually a part of Emacs installation. It is a separate package distributed via E

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

2024-10-15 Thread Ihor Radchenko
Visuwesh writes: >> Something is off with encoding. > > I cannot reproduce it on my end. I tried with different documents and > document types (Excel and LO format). Would it be possible to send the > faulty file? Here is the recipe 1. make repro (I tried with the latest Emacs master and with

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2024-10-15 Thread Ihor Radchenko
Visuwesh writes: > [ Sorry, I do not have a better starting point for this. ] > > After updating Latex, I got the message: > ... > Would it be possible to give a more informative message for this case? > It is not a showstopper since the error message by pdfTeX is informative > enough but s

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

2024-10-15 Thread Ihor Radchenko
Sacha Chua writes: > Whoops, sorry, I forgot to run the tests. =) Now that I have done so, I > realized that I accidentally deleted the > (goto-char (point-min)) > (setq org-outline-path-cache nil) > before the loop. This patch should make that test run again. Once more > with feeling! Thank

Re: Understanding Publish (ox-publish.el)

2024-10-15 Thread Christian Moe
> As you point out, I just need to avoid having /only/ headings. Or have only headings, but insert a strategic \clearpage here and there, if you *want* the outline to have the look of headings. > Thank you so much for hand-holding me to fully understanding the > problem! You're welcome!

Re: Avoid "Scheme implementation" prompt on export

2024-10-15 Thread Roi Martin
Bruno Barbier writes: > I've installed chez and racket. Indeed, the argument :session > if half-ignored. > > I've attached a quick ugly hack; with that change, it is now working > for me. > > #+begin_src scheme :scheme racket > (banner) > #+end_src > > #+RESULTS: > : Welcom

Re: Avoid "Scheme implementation" prompt on export

2024-10-15 Thread Bruno Barbier
Roi Martin writes: >> I tried with: >> >> #+begin_src scheme :scheme chez >> (+ 3 4) >> #+end_src >> >> and also with ':scheme racket'. >> >> Unfortunately, it does not seem to work when exporting the document. >> >> Thanks for your help! >> >> Roi I've installed chez and racket. Inde

Re: [BUG] Warrning related to rplusd.org (org-element--cache) [9.7.11 (9.7.11-6a5d0e @ /home/mcarro/.emacs.d/elpa/org-9.7.11/)]

2024-10-15 Thread Ihor Radchenko
Ihor Radchenko writes: > May I know if you see the warning regularly? If yes, may you please run > M-x toggle-debug-on-error some time before the warning triggers? Then, > instead of recovering, Org mode will spit a backtrace. That backtrace > will be useful for us to track down what happened. N

Re: Avoid "Scheme implementation" prompt on export

2024-10-15 Thread Bruno Barbier
Roi Martin writes: > I tried the current main branch (commit da0f6eff75cd ("ox-texinfo: Fix > edge case with - Variable: nil:: definition") with and without the > patch. Unless I'm doing something wrong, exporting the document to HTML > with "C-c C-e h H" asks for the Scheme implementation

ob-clojure breaks tangling of comments using org-babel-tangle for clojure source code blocks

2024-10-15 Thread Anoop GR
Comments in org babel clojure blocks are not tangled out. Let us take an example org file with the following contents:- This org file contains only two source blocks and a total of ten lines. > #+begin_src clojure :noweb-ref "Define a constant" > (def e 2.72) ;;This is a comment on a line of its

Re: ob-clojure breaks tangling of comments using org-babel-tangle for clojure source code blocks

2024-10-15 Thread Anoop GR
The contents of the org file were --- This file contains only two source blocks #+begin_src clojure :noweb-ref "Define a constant" (def e 2.72) ;;This is a comment on a line of its own (def pi 3.14) ;;This is a comment not on a line of its own #+end_src The following block will be tangled #+begin_

Re: ob-clojure breaks tangling of comments using org-babel-tangle for clojure source code blocks

2024-10-15 Thread Anoop GR
The contents of the tangled output.clj file were:- --- (def e 2.72) (def pi 3.14) ;;This is a comment not on a line of its own --- On Tue, Oct 15, 2024 at 11:21 PM Anoop GR wrote: > The contents of the org file were > --- > This file contains only two source blocks > #+begin_src clojure :noweb-

Re: ob-clojure breaks tangling of comments using org-babel-tangle for clojure source code blocks

2024-10-15 Thread Anoop GR
We are missing the comment that was expected in the second line of the output. In its place, there is an empty newline. On Tue, Oct 15, 2024 at 11:22 PM Anoop GR wrote: > The contents of the tangled output.clj file were:- > --- > (def e 2.72) > > (def pi 3.14) ;;This is a comment not on a line o

Re: [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-15 Thread Ihor Radchenko
Imran Khan writes: > ... Writing table to a folded drawer unfolds it > ... > (insert "| " (format "%f" (time-to-seconds)) " |\n") This is expected. In the middle of the editing, you are breaking the drawer structure, transiently having something like :DRAWER: ... | :END: So, Org mode unfol

Re: [BUG] Backtrace from orh-element-cache failing in when editing non-org file [9.6.15 (release_9.6.15 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-10-15 Thread Ihor Radchenko
Rob Place writes: > I found the issue... Thanks for the update! I am thus closing the bug. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2024-10-15 Thread Visuwesh
[ Sorry if this got sent twice. My internet connection dropped the previous time I sent the mail. ] [செவ்வாய் அக்டோபர் 15, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >> [ Sorry, I do not have a better starting point for this. ] >> >> After updating Latex, I got the message: >> ..

[PATCH] `org-babel-header-arg-expand': more stringent check for appropriate context

2024-10-15 Thread Nick Dokos
Patch attached. Thanks! -- Nick >From b7ae1e8027b7b935098bb4354a957722b55afb1d Mon Sep 17 00:00:00 2001 From: Nick Dokos Date: Tue, 15 Oct 2024 21:28:32 -0400 Subject: [PATCH] `org-babel-header-arg-expand': more stringent check for appropriate context The check for appropriate context in `org-

Re: Avoid "Scheme implementation" prompt on export

2024-10-15 Thread Roi Martin
Bruno Barbier writes: > My patch fixes a real bug though. Are you sure org is using the correct > scheme implementation when doing "C-c C-c" ? I think it works fine if you set the `org-babel-load-languages' variable in the elisp code block: (org-babel-do-load-languages 'org-babel-load-