[BUG] org parser error [9.6.1 (9.6.1-g351279 @ /home/mah/.emacs.d/straight/build/org/)]

2023-02-25 Thread Mark A. Hershberger
Loading the following file with "emacs -Q", I'm un-able to type 'C-c C-c' in the source block to execute it. #+begin_src elisp (defun count-lines (dir) "Number of lines in *.php files in a DIR." (let ((extdir (concat "../mediawiki/extensions/" dir))) (if (not (f-directory-p extdir))

Re: Supporting non-free SQL clients in ob-sql (was: [PATCH] ob-sql: Add support for Athena)

2023-02-25 Thread Richard Stallman
> > 3. There is no requirement to install non-free software to use > > ob-sql.el. The software is fully functional using a free RDMS like > > postgres. > Yes, but there is requirement to install in order to use ob-sql.el > __with :engine set to non-free option__. Do you mean, "to use

Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir

2023-02-25 Thread gnuric
Hello, I have a file s.org in ./ (current directory), which includes another file s0.org living under ./media/s/: ./s.org: #+TITLE: s #+INCLUDE: "./media/s/s0.org" ./media/s/s0.org: * s0 ** s01 file:media/s01_image.png I want the org export to html to treat the file: paths in

Re: Key binding in help (was: Re: PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode.)

2023-02-25 Thread Samuel Wales
what i meant was that i have a binding, org-next-link, bound to c-tab. i acccomplished this with (define-key org-mode-map (quote [C-tab]) (quote org-next-link)) [kbd would be better]. i did similar with org-link-minor-mode. i was just offtopicing that it would be useful to jump to those

Re: PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode.

2023-02-25 Thread Karl Fogel
On 25 Feb 2023, Max Nikulin wrote: On 25/02/2023 07:13, Karl Fogel wrote: Okay, today I did some research and found that every "C-c C-" binding is used in Org Mode except for "C-c C-g". While that one is technically reserved for the mode's use No, there is an explicit exception for C-g, see

Re: Hiding citations

2023-02-25 Thread M . ‘quintus’ Gülker
Am Samstag, dem 25. Februar 2023 schrieb Bruce D'Arcus: > Not exactly what you're asking for, but have you seen this activate processor? > > https://github.com/andras-simonyi/org-cite-csl-activate Not yet, and it certainly looks nice, but the CSL style I use uses footnotes, and those are quite

Re: [PATCH] lisp/ob-screen.el: Support ~:var~ header args for babel blocks

2023-02-25 Thread Ken Mankoff
Hi Max, On 2023-02-25 at 08:05 -08, Max Nikulin wrote: > I believe, it is safer to define > `org-babel-variable-assignments:screen' some way: alias, substitution, > function that calls `org-babel-variable-assignments:shell'. I am > unsure which variant is better. I see a couple of callers for

Re: [PATCH] lisp/ob-screen.el: Support ~:var~ header args for babel blocks

2023-02-25 Thread Max Nikulin
On 25/02/2023 22:14, Ken Mankoff wrote: On 2023-02-24 at 19:51 -08, Max Nikulin wrote: The code still depends on on ob-shell. Is there a reason why calling `org-babel-variable-assignments:shell' is a worse variant than copy of the whole function body? I didn't realize that was a dependency. I

Re: [PATCH] lisp/ob-screen.el: Support ~:var~ header args for babel blocks

2023-02-25 Thread Ken Mankoff
I note that `org-babel-screen-test` fails, but it appears to fail before this change too... -k. On Sat, Feb 25, 2023 at 7:14 AM Ken Mankoff wrote: > Hi Max, > > On 2023-02-24 at 19:51 -08, Max Nikulin wrote: > > On 25/02/2023 01:33, Ken Mankoff wrote: > > I am unsure if Org markup is

Re: [PATCH] lisp/ob-screen.el: Support ~:var~ header args for babel blocks

2023-02-25 Thread Ken Mankoff
Hi Max, On 2023-02-24 at 19:51 -08, Max Nikulin wrote: > On 25/02/2023 01:33, Ken Mankoff wrote: > I am unsure if Org markup is suitable for commit messages (~:var~) > since it may appear in Emacs commit logs. Fixed. > The code still depends on on ob-shell. Is there a reason why calling >

Hiding citations

2023-02-25 Thread M . ‘quintus’ Gülker
Dear list, is there a way to visually hide citations in the org buffer, much like links are hidden? I ask because if a text passage contains a number of citations, it quickly becomes hard to read if they are all displayed in raw format. Here is a paragraph from one of my recently published

Re: Hiding citations

2023-02-25 Thread Bruce D'Arcus
On Sat, Feb 25, 2023 at 7:31 AM M. ‘quintus’ Gülker wrote: > is there a way to visually hide citations in the org buffer, much like > links are hidden? Not exactly what you're asking for, but have you seen this activate processor? https://github.com/andras-simonyi/org-cite-csl-activate Bruce

Re: PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode.

2023-02-25 Thread Max Nikulin
On 25/02/2023 07:13, Karl Fogel wrote: Okay, today I did some research and found that every "C-c C-" binding is used in Org Mode except for "C-c C-g". While that one is technically reserved for the mode's use No, there is an explicit exception for C-g, see (info "(elisp) Key Binding

Re: ox-rst still working?

2023-02-25 Thread Bruno Barbier
Angel de Vicente writes: > Hello, > > I was trying to export an .org file to .rst. I have ox-rst 20200815.1511 > installed, and I have run (require 'ox-rst), but despite this, there is > no option for rsT in the Org Export Dispatcher. Did I miss something to > make it work? > Maybe this know

Re: Org-mode notes about school lessons

2023-02-25 Thread Marcin Borkowski
On 2023-02-24, at 18:05, Tory S. Anderson wrote: >> As I need to write a lot for each lesson, and each lesson are mostly >> independent from each other, I plan to have 1 file per lesson. > This is a very stylistic, but I am a "all in one file" user, though > I have a seperate directory and

Key binding in help (was: Re: PROPOSAL: Bind `org-fold-hide-subtree' by default in Org Mode.)

2023-02-25 Thread Max Nikulin
On 23/02/2023 11:48, Samuel Wales wrote: huh i had put org-next-link there. i wish define-key could have a button in a help page like functions and vars do so you could go to where you define it. [there are probably 300 competing packages that do exactly that.] C-h f org-next-link displays