bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-29 Thread General discussions about Org-mode.
"Berry, Charles" writes: > Rudy, > > Thanks for the comment, but ... > >> On Dec 25, 2021, at 1:37 PM, Rudolf Adamkovič wrote: >> >> I think we look at the problem from two different perspectives. You >> look at the problem from the "how" perspective, whereas I look at it >> from the "why" per

Bug report: org-preview-latex fails when using tramp

2021-12-29 Thread Dov Grobgeld
Hello, Since the instructions say that bugs should be reported on the mailing list, I do so here. When visiting a file by tramp over ssh, doing latex preview fails. * Version Tag 9.4.6 (commit:652430128) * To reproduce: Create the following org file: #+begin_example * Testing formulas \[\xi^

[PATCH] Fix caption format for custom latex src block

2021-12-29 Thread Matt Huszagh
This patch fixes an issue in which captions for custom listing environments are not converted correctly. To illustrate the issue, take the following MWE. file.org: ``` #+caption: Perform inter-sample interpolation. #+begin_src python import numpy as np #+end_src ``` file.el: ``` ;; Loading straig

Re: [PATCH] update ob-scheme to latest changes in geiser package

2021-12-29 Thread Felipe Lema
On Wednesday, 29 December 2021 15.03.47 -03 Felipe Lema wrote: > Sup, y'all > > The geiser package had a recent update in which `geiser-eval-region` behaves > like an async function and does not return evaluation result. In exchange, > the newly introduced `geiser-eval-region/wait` does that now

Re: [PATCH 2/2] ox-texinfo: Define definition commands using description lists

2021-12-29 Thread Nicolas Goaziou
Hello, Jonas Bernoulli writes: > Would it be okay to represent e.g. "C-c SPC" as: > >(export-snippet > (:back-end "texinfo" :value "@kbd{C-c @key{SPC}}" :post-blank 0 :parent > #2)) Just use (org-export-raw-string "@kbd{C-c @key{SPC}}") instead. > I think that is one of the things I t

Re: block folding - should this work?

2021-12-29 Thread Tim Cross
Robert Nikander writes: > I started reading about “blocks" in the manual. I wanted a chunk of text that > I could hide, so I tried this: > > * Test > Some text > #+BEGIN > Hide this > #+END > > Hitting TAB on the BEGIN line does nothing. But if I add a blank line before > it, > then hitting

[BUG] org-crypt: CRYPTKEY property does not work as expected [9.5.1 (9.5.1-g36086a @ /home/ignacio/.emacs.d/elpa/org-9.5.1/)]

2021-12-29 Thread Ignacio Casso
Hello, I think I have found a bug in org-crypt, or that org-crypt documentation is not clear enough. The following configuration snippet in the org-crypt section of the org manual, as well as the docstring for org-crypt-key, suggest that a key value of nil can be used to specify symmetric encrypti

Org for non-users, part 2: `C-c C-e', a.k.a. `org-export-dispatch'

2021-12-29 Thread Eduardo Ochs
Hi all, a few weeks ago I recorded a video called "Org for non-users" - link: http://angg.twu.net/2021-org-for-non-users.html that was about a way to understand some of the data structures that are used in the support for code blocks. Now I would like to do something similar with the exporter,

Re: [PATCH] ob-maxima.el: Fix execution on MS Windows

2021-12-29 Thread Nikolay Kudryavtsev
If your temporary-file-directory is something like "/tmp/apostrophe'", it would not work currently either. So apostrophe is a very special case here. As for possible evaluation within the double quotes, while this is theoretically possible, user sort of has to go out of his way to trigger it,

[PATCH] update ob-scheme to latest changes in geiser package

2021-12-29 Thread Felipe Lema
Sup, y'all The geiser package had a recent update in which `geiser-eval-region` behaves like an async function and does not return evaluation result. In exchange, the newly introduced `geiser-eval-region/wait` does that now. I've attached a patch to update ob-scheme.el to reflect these changes.

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-29 Thread Berry, Charles
Max, > On Dec 29, 2021, at 4:53 AM, Max Nikulin wrote: > > On 25/12/2021 02:52, Berry, Charles wrote: >> For that case, setting buffer or heading properties, such as: >> #+begin_src org >> :PROPERTIES: >> :header-args: :eval yes :exports results >> :header-args:bibtex: :eval no >> :END:

Re: [PATCH] ob-maxima.el: Fix execution on MS Windows

2021-12-29 Thread Max Nikulin
On 27/12/2021 03:18, Nikolay Kudryavtsev wrote: Ob-maxima currently does not work on Windows due to it using single quotes in the Maxima invocation and those not being supported by Windows CMD. After some testing I've found an invocation that seems to work fine on both Windows and Linux. I

Re: C-c C-, in a terminal?

2021-12-29 Thread Max Nikulin
On 28/12/2021 15:25, Anssi Saari wrote: As C-, isn't usually a control character in a terminal, terminals send just the comma if I hit C-,. Some terminals (at least wsltty) do send some kind of control sequence but I don't know if mapping other terminals to do the same (Konsole and urxvt at leas

(ledger?) The fair Christmas problem: splitting expenses automatically

2021-12-29 Thread Uwe Brauer
Hi I am not sure whether this is the right place to ask this, but anyhow. Suppose two friends want to buy Christmas presents, but when they have finished, they want to have spent the same amount of money. If they don't a compensation must be transferred. Here is an example ** Start #+name:

Re: [BUG] org-compat stops working [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)]

2021-12-29 Thread Ihor Radchenko
Uwe Brauer writes: > Out of a sudden, when starting emacs I obtain various errors that seem to be > conntected to try to load > > org-compat I obtain > > > > Debugger entered--Lisp error: (error "Don’t know how to make a localized > variable an alias") > defvaralias(org-descriptive-links org

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-29 Thread Max Nikulin
On 25/12/2021 02:52, Berry, Charles wrote: For that case, setting buffer or heading properties, such as: #+begin_src org :PROPERTIES: :header-args: :eval yes :exports results :header-args:bibtex: :eval no :END: #+end_src resolves the issue. Chuck, is it expected that the followin

Re: [BUG] org-element-cache "rx '**' range error" [9.6 (9.6-??-8f50ea2d6 @ /home/samc/.emacs.d/.local/straight/build-27.2/org/)]

2021-12-29 Thread Samuel Crawford
Hi Ihor, The hook that is going wrong is pdf-tools-enable-minor-modes. After digging into it, there seems to be a whole bunch of problematic minor modes. My methodology wasn't super rigorous, but what I found was > pdf-misc-context-menu-minor-mode > pdf-misc-size-indication-minor-mode > pdf-misc-

Re: [SOLVED]

2021-12-29 Thread Ihor Radchenko
Uwe Brauer writes: > So if I understand you correctly. I do load my org package too late for > org-real? I think so. My speculation: If the newest Org is not yet in load-path when you load org-real, org-real's (require 'org) will pull-in built-in version of org-compat. Later, when load-path po

Re: [SOLVED]

2021-12-29 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >>> Hmm. I suspect that org-real might not be the problem by itself. >>> Rather you may load it too early and pull-in built-in org. >> >> Well I don't load anything, that is all done by the package system. > I was just guessing. But do yo