Re: Form feed characters break odt export

2024-12-20 Thread Max Nikulin
On 21/12/2024 13:52, Joseph Turner wrote: Max Nikulin writes: #+begin_comment ^L #+end_comment Thank you! Or even simpler: # ^L It was first I tried, but Emacs-28.2 demands to decide if Local Variables should be applied. You may ask Emacs developers for a *plain text* spell to stop pr

Re: Form feed characters break odt export

2024-12-20 Thread Joseph Turner
Max Nikulin writes: > On 21/12/2024 08:48, Joseph Turner wrote: >> I can export the following Org content to a .odt file, but the >> exported >> file cannot be opened ("Read Error. Format error discovered in the file >> in sub-document content.xml at 368,2(row,col).") > [...] >> First reported by

Re: Form feed characters break odt export

2024-12-20 Thread Max Nikulin
On 21/12/2024 08:48, Joseph Turner wrote: I can export the following Org content to a .odt file, but the exported file cannot be opened ("Read Error. Format error discovered in the file in sub-document content.xml at 368,2(row,col).") [...] First reported by bohonghuang: https://github.com/boh

Re: Ignore Local Variables list in source blocks

2024-12-20 Thread Joseph Turner
Nikolaos Chatzikonstantinou writes: [...] > If I do something like > > #+begin_comment > Local Variables: > End: > #+end_comment > > #+begin_src > Local Variables: > foo: 40 > End: > #+end_src > > Then the variable is not set, as Emacs does not look for a Local > Variables list more than once.

Re: Ignore Local Variables list in source blocks

2024-12-20 Thread Joseph Turner
Nikolaos Chatzikonstantinou writes: [...] > If I do something like > > #+begin_comment > Local Variables: > End: > #+end_comment > > #+begin_src > Local Variables: > foo: 40 > End: > #+end_src > > Then the variable is not set, as Emacs does not look for a Local > Variables list more than once.

Re: Ignore Local Variables list in source blocks

2024-12-20 Thread Joseph Turner
Max Nikulin writes: [...] >>> (info "(emacs) Specifying File Variables") >> By the way, is there a built-in command to copy that (info ...) sexp >> when viewing that info page? > > A short answer "C-0 c" or "C-0 w". Maybe I will send a longer one, > dropping bohonghuang from Cc. Thanks! Very g

Form feed characters break odt export

2024-12-20 Thread General discussions about Org-mode.
Tested on GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) Org mode version 9.7.6 (9.7.6-7a4527 @ /home/joseph/.emacs.d/elpa/org-9.7.6/) I can export the following Org content to a .odt file, but the exported file cannot be opened ("Read Error. Format erro

[BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2024-12-20 Thread Paul Stansell
Hello, Occasionally, when I start emacs from the command line, I get this bug, but it's intermittent, so I have ignored it until now. All I can report is that I opened an org file named scratch.org and received the following error message: Warning (org-element): org-element--cache: Org parser

Re: Noisy and unreliable (de-)tangling

2024-12-20 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Fixed, on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f6a0f151b1 Fixed in -3 lines of code. Great job! And it works! Thank you. BTW, I am not sure if this is a known bug, but `org-babel-detangle' ignores the comment customizations, name

[PATCH] Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-20 Thread Leo Butler
Ihor, Please find attached the amended patch. All things considered, I think this is the best option to fix the issue that has arisen. Leo From db509cf4b81f78a5c85cf12c7f7b2879f2a47397 Mon Sep 17 00:00:00 2001 From: Leo Butler Date: Sun, 15 Dec 2024 21:20:26 -0600 Subject: [PATCH] lisp/ob-maxim

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-12-20 Thread Rudolf Adamkovič
Ihor Radchenko writes: > It has been a while since the last message in this thread. > May I know if you need any further help with the patch? My apologies for the radio silence, I was busy with school. Please see the attached patch! Will this do? Rudy >From ec7316614463d1c8217dac434fb8bad4844

Re: render math in README.org on github

2024-12-20 Thread Leo Butler
On Fri, Dec 20 2024, Nikolaos Chatzikonstantinou wrote: > Do you want mathjax when viewing the readme file? Yes. The only documentation I have seen refers to markdown. On a hunch, I changed all the math delimiters in my README.org to $ and $$ and that worked. But, I would prefer to use the math

Re: save email(gnus) in org format

2024-12-20 Thread Jean Louis
* Uwe Brauer via "General discussions about Org-mode. [2024-12-20 20:12]: > > Hi > > Vanilla gnus offers to save single messages in the following format > > --8<---cut here---start->8--- > * gnus-summary-save-in-rmail (Rmail format) > * gnus-summary-save-in

Re: render math in README.org on github

2024-12-20 Thread Nikolaos Chatzikonstantinou
Do you want mathjax when viewing the readme file? If github is broken it is on their end, they don't have the best coverage of org features. Or do you want mathjax in the generated html in a github pages? That can be done... Another place that org doesn't work (at all) is pypi. On Fri, Dec 20,

render math in README.org on github

2024-12-20 Thread Leo Butler
Hello, I am trying to use MathJax with a README.org file on github, but I am having no luck. I believe that this "just works" with markdown on github. The best that I could find was a bug report by karthink [fn:1] that refers to following instructions on a wiki. But, I can't find that wiki, nor c

save email(gnus) in org format

2024-12-20 Thread General discussions about Org-mode.
Hi Vanilla gnus offers to save single messages in the following format --8<---cut here---start->8--- * gnus-summary-save-in-rmail (Rmail format) * gnus-summary-save-in-mail (Unix mail format) * gnus-summary-save-in-folder (MH folder) * gnus-summary-save-in-f

Copy info node name (was: Re: Ignore Local Variables list in source blocks)

2024-12-20 Thread Max Nikulin
Due to a recent texinfo thread on emacs-devel, I have added RMS to Cc. On 20/12/2024 04:37, Joseph Turner wrote: Max Nikulin writes: (info "(emacs) Specifying File Variables") By the way, is there a built-in command to copy that (info ...) sexp when viewing that info page? TLDR; "C-0 c" or

Re: Ignore Local Variables list in source blocks

2024-12-20 Thread Nikolaos Chatzikonstantinou
On Fri, Dec 20, 2024 at 9:46 AM Max Nikulin wrote: > > On 20/12/2024 04:37, Joseph Turner wrote: > > Max Nikulin writes: > >> Have you tried to create a comment block below? > >> > >> #+begin_comment > >> Deactivate local variables above in the example block: > >> Local Variables: > >> End: > >> #

Re: Ignore Local Variables list in source blocks

2024-12-20 Thread Max Nikulin
On 20/12/2024 04:37, Joseph Turner wrote: Max Nikulin writes: Have you tried to create a comment block below? #+begin_comment Deactivate local variables above in the example block: Local Variables: End: #+end_comment In my testing, in order to make Emacs ignore the `foo: bar' binding, the emp

Re: May we have a variant of display-buffer-reuse-window that considers indirect buffers?

2024-12-20 Thread martin rudalics
>> Hmmm... This is not really what 'display-buffer' is supposed to do. I >> have to disguise the fact that we wanted to display BUFFER. I attach a >> new patch. > > Now, when you said that, it does feel not right indeed. > > What I was concerned about is the situation my request originated from