Re: Line breaks and brackets in LaTeX export

2022-10-18 Thread Max Nikulin
On 19/10/2022 10:57, Ihor Radchenko wrote: Juan Manuel Macías writes: Today I have tried with the latest version of tabularray (2022C, the one I tried yesterday was 2022A, included in TeX Live 2022), and the bad results persist. Also, it now returns a compile error when an \empty precedes a

Re: Haskell code blocks

2022-10-18 Thread Thomas S. Dye
Ihor Radchenko writes: "Thomas S. Dye" writes: Thanks Ihor. I don't actually use Haskell. Earlier this year I attempted to complete the Org Babel language documents on Worg, but couldn't get the obligatory "hello world" code block to behave in Haskell. I'm guessing that

Re: Haskell code blocks

2022-10-18 Thread Ihor Radchenko
"Thomas S. Dye" writes: > Thanks Ihor. I don't actually use Haskell. Earlier this year I > attempted to complete the Org Babel language documents on Worg, > but couldn't get the obligatory "hello world" code block to behave > in Haskell. I'm guessing that ob-haskell.el actually works for

Re: [BUG] ob-scheme: geiser command has changed [9.6 (9.6-??-86c4635 @ /home/zilti/.emacs.d/.local/straight/build-27.2/org/)]

2022-10-18 Thread Ihor Radchenko
Daniel Ziltener writes: > The latest Geiser release 0.26 got rid of the "run-geiser" function. It > is sufficient to just replace the call to "run-geiser" with "geiser" > instead to make ob-scheme work again. Thanks for reporting! Can you try the attached (blind) patch? >From

Re: Haskell code blocks

2022-10-18 Thread Thomas S. Dye
Thanks Ihor. I don't actually use Haskell. Earlier this year I attempted to complete the Org Babel language documents on Worg, but couldn't get the obligatory "hello world" code block to behave in Haskell. I'm guessing that ob-haskell.el actually works for experienced Haskell programmers

Re: links to orgcard.pdf and orgcard.txt are broken

2022-10-18 Thread Ihor Radchenko
Norwid Behrnd writes: > According to the digest of [2022-10-16 Sun], orgcard.txt and orgcard.pdf are > thankfully again available online at > > https://orgmode.org/orgcard.txt > https://orgmode.org/orgcard.pdf > > When comparing with an old print of the .pdf (about version 7.8.11 by 2012), I >

Re: Line breaks and brackets in LaTeX export

2022-10-18 Thread Ihor Radchenko
Juan Manuel Macías writes: >> It is easy to change \\\empty constant to \\[0pt] if necessary. I have >> no objection either way. Though I do not feel like we are in rush. I'd >> like to hear from ox-latex maintainer. > > Today I have tried with the latest version of tabularray (2022C, the one >

Re: R code blocks in org version 9.5

2022-10-18 Thread William Denton
On 18 October 2022, Naresh Gurbuxani wrote: Recently I started using org version 9.5 with my init.el that worked well for org 9.4 In org 9.5, I can run stand-alone R code blocks. But when I try to run them in a session, emacs hangs. I haven't had any problems like that, and I use R

Re: A couple of `org-priority' fixes

2022-10-18 Thread Ihor Radchenko
Alex Giorev writes: > I found a couple of problems in org-priority, I think these patches fix > them. Thanks for the very clean patches and sorry for the late reply. > - The first patch is truly minor, it just adds a bit to the docstring > - The problem which prompted the second patch arises

Re: Haskell code blocks

2022-10-18 Thread Ihor Radchenko
"Thomas S. Dye" writes: > I'm struggling to write a minimal ob-doc-haskell.org for Worg. > > I installed Haskell via Spacemacs (development branch) and the > Haskell installation appears to be functioning correctly. > > The obligatory Hello World! example yields bad results. > > #+name:

[PATCH] Bind calendar-debug-sexp to non-nil when running tests (was: problem with diary sexps)

2022-10-18 Thread Ihor Radchenko
Max Nikulin writes: >> More accurate error can be found after setting calendar-debug-sexp to t. >> I got the following backtrace clearly indicating lexical scope issue: >> >> Debugger entered--Lisp error: (void-variable entry) >>(diary-float t 2 1) >>(let ((entry "") (date '(4 5 2022)))

Re: Bug: Org sentence commands and emphasis markers [9.3 (release_9.3 @ /usr/local/share/emacs/27.1/lisp/org/)]

2022-10-18 Thread Ihor Radchenko
Gustavo Barros writes: > There is some adverse interaction between Emacs sentence related > commands and Org emphasis markers, when whole sentences are emphasized. > This report describe some cases of this interaction, for your > consideration. But, as a general rule, if a whole sentence is

Re: Bug: Texinfo export: Inline images are NOT rendered in INFO viewer [9.4.5 (release_9.4.5-354-g40b70c @ /home/rameshnedunchezian/src/org-mode/lisp/)]

2022-10-18 Thread Ihor Radchenko
Ramesh Nedunchezian writes: > Bug: Texinfo export: Inline images are NOT rendered in INFO viewer > [9.4.5 (release_9.4.5-354-g40b70c @ > /home/rameshnedunchezian/src/org-mode/lisp/)] > > > 1. Unzip the attached zip file. > 2. C-x C-f doc/helm.org. Note that it has inline image. > 3. C-u C-h i

Re: Problems running ob-julia tests (testing/test-ob-julia.el)

2022-10-18 Thread Ihor Radchenko
Pedro Bruel writes: > I believe the ob-julia version we have on orgmode does not support sessions. There is definitely session support in lisp/ob-julia.el. ob-julia does define org-babel-load-session:julia and org-babel-prep-session:julia. Session support is even tested in

Re: Problems running ob-julia tests (testing/test-ob-julia.el)

2022-10-18 Thread Pedro Bruel
Hi, Could you please share which versions of julia, emacs, and orgmode you are running? I believe the ob-julia version we have on orgmode does not support sessions. Thanks, Pedro On Mon, Oct 17, 2022 at 9:45 PM Ihor Radchenko wrote: > [CCing the maintainer] > > Ihor Radchenko writes: > > >

R code blocks in org version 9.5

2022-10-18 Thread Naresh Gurbuxani
Recently I started using org version 9.5 with my init.el that worked well for org 9.4 In org 9.5, I can run stand-alone R code blocks. But when I try to run them in a session, emacs hangs. Have you seen this problem? Is there a solution? Thanks, Naresh Sent from my iPhone

[BUG] recent slow down in agenda's clock table report (and with first clock-in) [9.6-pre (release_9.5.5-995-g4b9aef @ /home/dortmann/src/git-org-mode/lisp/)]

2022-10-18 Thread Daniel Ortmann
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

[BUG] ob-scheme: geiser command has changed [9.6 (9.6-??-86c4635 @ /home/zilti/.emacs.d/.local/straight/build-27.2/org/)]

2022-10-18 Thread Daniel Ziltener
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: [PATCH] Unit-test for Please add support for dlangs packagemanager to ob-C.el

2022-10-18 Thread tbanelwebmin
For unit-testing Dlang, we could mock the «dub» command (compiler+packager). For instance, we could replace it by the «cat» Linux command, just while running the unit-test. But the «cat» command introduces a new dependency on Linux. Is there a portable

Re: [PATCH] Add light argument to org-babel-lob-get-info

2022-10-18 Thread Ferdinand Pieper
Ihor Radchenko writes: > I'd prefer to change LIGHT to NO-EVAL, including in > org-babel-get-src-block-info. Changing argument name in function does > not affect its caller in any way. Just need to update the function body > and docstring carefully. > > NO-EVAL is already used by

Re: org-agenda-tag-filter-preset: maybe a recent bug?

2022-10-18 Thread Garjola Dindi
On Tue 18-Oct-2022 at 05:39:27 +02, Liu Hui wrote: > Hi Garjola, > > The preset of filter is not supposed to be used with individual > command. The docstring of 'org-agenda-tag-filter-preset' says: > >> The preset filter is a global property of the entire agenda view. In >> a block agenda, it

Re: links to orgcard.pdf and orgcard.txt are broken

2022-10-18 Thread Norwid Behrnd
According to the digest of [2022-10-16 Sun], orgcard.txt and orgcard.pdf are thankfully again available online at https://orgmode.org/orgcard.txt https://orgmode.org/orgcard.pdf When comparing with an old print of the .pdf (about version 7.8.11 by 2012), I noticed the current .pdf explicitly

Re: [BUG] columnview cannot deal with more than 100 headings [N/A (N/A @ /home/oub/emacs/site-lisp/packages/org/)]

2022-10-18 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> I attach a file that hopefully explains the problem. >> >> That file contains 109 heading, each heading has 17 different properties >> when all of them are included in the >> #+BEGIN: columnview >> #+END: >> >> Block then not all

Re: Line breaks and brackets in LaTeX export

2022-10-18 Thread Juan Manuel Macías
Ihor Radchenko writes: >> Assuming that there is currently no alternative to the non-selective >> solution, and that, as you say, the presence of brackets may be more >> common than I initially expected, if I had to choose between \empty and >> [0pt], I would say that [0pt] is the safest, as it

Re: Fwd: org-priority: allow customization of priority indicator

2022-10-18 Thread Ihor Radchenko
drlkf writes: > I would like to submit a patch to allow users to change the priority > tag's form entirely. While it has been working for my use-case i.e > basic operations inside org buffers and org-agenda, it is not perfect > and there are some bugs that remain when using more advanced

Fwd: org-priority: allow customization of priority indicator

2022-10-18 Thread drlkf
Hello, I would like to submit a patch to allow users to change the priority tag's form entirely. While it has been working for my use-case i.e basic operations inside org buffers and org-agenda, it is not perfect and there are some bugs that remain when using more advanced features with different

Re: Verse block and separations

2022-10-18 Thread Juan Manuel Macías
Ihor Radchenko writes: >> In my init I have redefined the verse block like this, so that there is >> a white line between stanzas, not \vspace (I have also added some things >> for the verse package, so that the numbering of verses is not broken). >> So your example would produce a white line

Re: [BUG] EXPORT_FILE_NAME keyword is used by `org-export-output-file-name' before macro expansion/INCLUDEs/removing COMMENTed trees (was: Confused about what the COMMENT keyword means)

2022-10-18 Thread Alain . Cochard
alain.coch...@unistra.fr writes on Tue 11 Oct 2022 16:42: > Ihor Radchenko writes on Sun 2 Oct 2022 12:48: > > > I recommend you to use :EXPORT_FILE_NAME: headline property and export > > using subtree scope. > > Thanks a lot for the tip. A suggestion: that the :TITLE: property > be

Re: Org-mode syntax as a tool-independent MIME type

2022-10-18 Thread Karl Voit
Hi Bastien, * Bastien wrote: > Hi Karl and Timothy, > > thank you Karl for reviving this important topic. > > I think our collective priority should be to work on > https://orgmode.org/worg/dev/org-synxtax.html so that it reflects the > current Org syntax. Hopefully we can do this before Org

Re: Option that prevents Org to add \lstset{language=⟨language⟩,...} when code blocks are exported to LaTeX

2022-10-18 Thread Ihor Radchenko
Denis Bitouzé writes: > Otherwise, all the options specified by `\lstset` can be applied as an > option of the `lstlisting` environment: > > ┌ > │ \begin{lstlisting}[language=⟨language⟩,...] > └ This should be the safest and the least verbose. I implemented the suggestion in the

Re: Org-mode syntax as a tool-independent MIME type

2022-10-18 Thread Karl Voit
Hi Timothy, * Timothy wrote: > --=-=-= > Content-Type: text/plain; charset=utf-8 > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable Off topic: Something's quite off here with the encoding at least at my side (using slrn). I might be related to my setup, can't tell at

Re: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2/)]

2022-10-18 Thread Ihor Radchenko
Moritz Schäfer writes: > When exporting an org-file with org-id based links to odt, I get the > error error "FIXME: Unable to resolve ", where is the > filename, the org-id-link was pointing to. > > Org-id links (example below) are the default for org-roam (v2). > >

Re: Option that prevents Org to add \lstset{language=⟨language⟩,...} when code blocks are exported to LaTeX

2022-10-18 Thread Denis Bitouzé
Le 18/10/22 à 04h14, Ihor Radchenko a écrit : > Denis Bitouzé writes: > >> here is a feature request about the LaTeX export. >> >> With ~(setq org-latex-listings t)~, code blocks such as: >> >> ┌ >> │ #+BEGIN_SRC ⟨language⟩ :exports code >> │ ... >> │ #+END_SRC >> └ >> >> are

Re: surprising(?) interaction between agenda grid and default-duration

2022-10-18 Thread Ihor Radchenko
Detlef Steuer writes: > I you specify a default duration of an event, say, > > (setq org-agenda-default-appointment-duration 60) > > and specify a time grid, say > > (setq org-agenda-time-grid '((today remove-match) > (800 1000 1200 1400 1600 1800 2000) >

Re: Org-mode syntax as a tool-independent MIME type

2022-10-18 Thread Bastien
Hi Karl and Timothy, thank you Karl for reviving this important topic. I think our collective priority should be to work on https://orgmode.org/worg/dev/org-synxtax.html so that it reflects the current Org syntax. Hopefully we can do this before Org 9.6. As discussed with TEC, we can factor

Re: Bug: clocktable :inherit-props does not respect global property setting [9.4.6 (9.4.6-12-gdcc3a8-elpa @ /home/jet/.config/emacs/elpa/org-20210823/)]

2022-10-18 Thread Ihor Radchenko
Jeff Trull writes: > Yes, I can make it work now - but only after reloading it at least one time > from disk. > > When I type it in for the first time, it doesn't work. I have to save, then > (revert-buffer). > ... > Also, if you change the value (say, from 150 to 210) the old value persists >