Re: User

2022-11-23 Thread Tim Cross
Paul Schlesinger writes: > Have been using org mode for more than 10 years and package manager since > emacs 26. When I moved to emacs > 28, the included org package was 9.4x and a nag message to install org from > the elpa repository appeared everytime > an org file is processed. I run

Re: User

2022-11-23 Thread Jeremie Juste
Hello Paul, As far as I know emacs 28 ships with org-mode 9.5. So if you have org-mode 9.4 you might have install an older version on top of this. When installing emacs 28 on window with a plain vanilla installation, M-x org-version, should give you 9.5. My best advice would be to try

Re: [PATCH] Fix clipped LaTeX fragments (not Babel)

2022-11-23 Thread Ihor Radchenko
Rudolf Adamkovič writes: > In aaccbb2f9, I fixed the clipping problems plaguing Babel LaTeX/SVG > output by adjusting Inkscape arguments. Here, I fix the same problem > but for Org LaTeX fragments, this time adjusting dvisvgm arguments. > Also, I also made before/after screenshots, so that you

Re: [PATCH] Re: Update Org to MathJax 3

2022-11-23 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Fixed now. Fantastic! And thank you again, Ihor, for the guidance. Rudy -- "I love deadlines. I love the whooshing noise they make as they go by." -- Douglas Adams, The Salmon of Doubt, 2002 Rudolf Adamkovič [he/him] Studenohorská 25 84103 Bratislava Slovakia

Re: test-org-table/sort-lines: Failing test on macOS

2022-11-23 Thread Max Nikulin
On 23/11/2022 17:37, Ihor Radchenko wrote: Max Nikulin writes: Strings to sort are passed either through `identity' or through `downcase'. Thanks for the pointer. Now, I am getting more confused though. Do we even need to use `string-collate-lessp' then? I think we do because sort result

Re: test-org-table/sort-lines: Failing test on macOS

2022-11-23 Thread Max Nikulin
On 23/11/2022 22:27, Max Nikulin wrote: (setq lst '("semana" "señor" "sepia")) (sort lst #'string-lessp) ; => ("semana" "sepia" "señor") (sort lst #'string-collate-lessp) ; => ("semana" "señor" "sepia") On 23/11/2022 17:37, Ihor Radchenko wrote: Eli even argued that

User

2022-11-23 Thread Paul Schlesinger
Have been using org mode for more than 10 years and package manager since emacs 26. When I moved to emacs 28, the included org package was 9.4x and a nag message to install org from the elpa repository appeared everytime an org file is processed. I run emacs on windows and list-packages does not

Re: Images generated by R code blocks do not display

2022-11-23 Thread William Denton
On 24 November 2022, Ihor Radchenko wrote: William Denton writes: What if you run M-: (clear-image-cache) before C-c C-x C-v? That does it! Strange. I am unable to reproduce the issue on my side (using the earlier bash code block you provided). What is your Emacs version? I refreshed

Re: Images generated by R code blocks do not display

2022-11-23 Thread Ihor Radchenko
William Denton writes: > #+begin_src sh :results graphics file :file /tmp/colour.png > convert -size 300x300 xc:#002b36 /tmp/colour.png > #+end_src > > # - > > But the image doesn't appear right away: > > + C-x C-f (load this file) > + C-c C-c (to execute) > + Say yes to "Evalute this sh

Re: Images generated by R code blocks do not display

2022-11-23 Thread William Denton
On 24 November 2022, Ihor Radchenko wrote: The image should appear immediately in the buffer, shouldn't it? No, it should not. Though it is often requested. Huh, strange. It's always done it for me, at least with R code blocks, as far as I can remember. But back to my original problem!

Re: 2 'echo' bash instructions produce a table

2022-11-23 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > > +The result type detection depends on the code block language, as > > +described in the documentation for individual [[*Languages][languages]]. > > Is this intended? On the pdf it looks strange to me: > >The result type detection depends on the code

Re: Images generated by R code blocks do not display

2022-11-23 Thread Ihor Radchenko
William Denton writes: > + C-c C-c (execute R block again) > + answer yes to "Evaluate this?" question > + image disappears > + C-c C-x C-v (to see image) > + image is still 300 pixels square! What if you run M-: (clear-image-cache) before C-c C-x C-v? -- Ihor Radchenko // yantar92, Org mode

Re: Images generated by R code blocks do not display

2022-11-23 Thread Ihor Radchenko
William Denton writes: > In Emacs: > > + C-x C-f (load r.org wherever it is) > + C-c C-c (to execute the R code) > + Say yes to "Evaluate this R code block on your system?" > + #RESULTS block appears (good) but image does not show > + C-c C-x C-v (to toggle image display) > + image appears > +

Re: Images generated by R code blocks do not display

2022-11-23 Thread William Denton
Thanks for looking at this. You've fixed the org-toggle-inline-images problem, but the image generation and display problem is still there for me. Here's a one-liner shell block that generates an image with Imagemagick, so no extra Emacs packages necessary: # - #+begin_src sh :results

Re: Images generated by R code blocks do not display

2022-11-23 Thread William Denton
On 24 November 2022, Ihor Radchenko wrote: William Denton writes: + C-c C-c (execute R block again) + answer yes to "Evaluate this?" question + image disappears + C-c C-x C-v (to see image) + image is still 300 pixels square! What if you run M-: (clear-image-cache) before C-c C-x C-v?

Re: Images generated by R code blocks do not display

2022-11-23 Thread Ihor Radchenko
William Denton writes: >> What if you run M-: (clear-image-cache) before C-c C-x C-v? > > That does it! Strange. I am unable to reproduce the issue on my side (using the earlier bash code block you provided). What is your Emacs version? -- Ihor Radchenko // yantar92, Org mode contributor,

Re: test-org-table/sort-lines: Failing test on macOS

2022-11-23 Thread Ihor Radchenko
Max Nikulin writes: > On 22/11/2022 08:14, Ihor Radchenko wrote: >> Max Nikulin writes: >> 2. `org-sort-list' 5. `org-sort-entries' >>> `downcase' is used, not proper case folding, so a potential issue >> >> `downcase' is used to determine user input about sorting type. >> Not for

Re: [PATCH] Re: Update Org to MathJax 3

2022-11-23 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> I have replaced "MathJax 4" instances with "MathJax 3". I guess it was >> a typo. > > The patch (correctly) distinguishes between: > > - MathJax 2 that we deprecated, > - MathJax 3 that we now use by default, and > - MathJax 4 that we support but do *not* use by

Re: Seeing all the steps when I run an R code block

2022-11-23 Thread Ihor Radchenko
William Denton writes: >> You might have set some customization that overrides `default-directory' >> setting in ESS. > > You were quite right---thanks for checking. Recently ESS changed > ess-startup-directory and now it's aware of projects. I'd recently put some > files under Git, which

[BUG] Sourcehut Org project mailing list is confusingly pointing to our build failures list

2022-11-23 Thread Ihor Radchenko
Hi, It looks like the mailing list associated with https://sr.ht/~bzg/org/ is associated with https://lists.sr.ht/~bzg/org-build-failures. It is what I get when I click on "mailing list" tab. I'd expect that tab to point to our main list instead. -- Ihor Radchenko // yantar92, Org mode