Re: [PATCH] ob-plantuml: Allow setting PlantUML args for jar file

2022-01-19 Thread Max Nikulin
On 18/01/2022 20:30, Ihor Radchenko wrote: Dejan Josifović writes: But, since ob-plantuml already had variable for arguments for executable it fells natural to me to have customizable variables for when using jar. These headers are of course easier, but the user would have to write them on

Re: call blocks as a function from inside elisp code

2022-01-19 Thread Tom Gillespie
Hi George, Here is an example of how I call nested elisp and python. The python block is an input argument to the elisp block in this case, but the python block could be called directly as well. I'm not sure how to pass arguments to the block from inside elisp via org-babel-eval though, that

Re: handling as special special block in derived export

2022-01-19 Thread John Kitchin
I am not sure this is quite what you are looking for. You could use a macro like this. {{{r-stack(((src1 . fade-out) (src2 . fade-in) (src3 . fade-out)))}}} * code :noexport: #+macro: r-stack (eval (r-stack $1)) #+BEGIN_SRC emacs-lisp (defun r-stack (src-alist) "SRC-alist will be a string

Re: Yet another browser extension for capturing notes - LinkRemark

2022-01-19 Thread Ihor Radchenko
András Simonyi writes: >> As a side note, citeproc-el currently has poor performance on large org >> files. It is unusable for me. > > Could you elaborate? In theory, oc-cs.el's performance should depend > only on the number of citations (as opposed to the size of the Org > document) and be in

Re: call blocks as a function from inside elisp code

2022-01-19 Thread Eric S Fraga
On Wednesday, 19 Jan 2022 at 09:56, George Mauer wrote: > So is there a way to do the equivalent of #+call: > gim/get-python-program-info(filename="foo/bar/some_module.py") from > *inside* an elisp code block? I am aware that I can call things via > noweb, but I'm trying to see if I can avoid that

call blocks as a function from inside elisp code

2022-01-19 Thread George Mauer
Hi everyone, I know that I can call a source block as a function in a header argument such as :var, inside noweb annotations, or with a #+call: as described here https://orgmode.org/manual/Evaluating-Code-Blocks.html I am interested in going one step further though. I have one emacs-lisp block

Re: Yet another browser extension for capturing notes - LinkRemark

2022-01-19 Thread András Simonyi
Dear All, On Wed, 19 Jan 2022 at 10:56, Ihor Radchenko wrote: > As a side note, citeproc-el currently has poor performance on large org > files. It is unusable for me. Could you elaborate? In theory, oc-cs.el's performance should depend only on the number of citations (as opposed to the size

Re: Second Ctl in keychord not detected

2022-01-19 Thread Ihor Radchenko
"Loris Bennett" writes: > C-c , > > Does anyone know what is happening to the second Ctl and how the problem > can be fixed? Try to run M-x describe-key C-c C-, and look at the output. Best, Ihor

Re: Question Regarding Creating Workflow For Automatic Formulas For Finance Based Org Spreadsheet

2022-01-19 Thread Neil Jerram
On Mon, 10 Jan 2022 at 10:31, Neil Jerram wrote: > > On Mon, 10 Jan 2022 at 03:42, Samuel Banya wrote: > > > > Ah, Ledger is way too complicated for what it's worth. I've seen videos on > > YouTube about it, and every person who's praised it is pretty much too > > smart enough to be able to

Re: Second Ctl in keychord not detected

2022-01-19 Thread Loris Bennett
Hi Ihor, Ihor Radchenko writes: > "Loris Bennett" writes: > >> C-c , >> >> Does anyone know what is happening to the second Ctl and how the problem >> can be fixed? > > Try to run M-x describe-key C-c C-, and look at the output. The second C- disappears. I also get C-c C-. -> C-c .

handling as special special block in derived export

2022-01-19 Thread Matt Price
I am trying ot figure out if I can create a simplified syntax for a particular special block in a derived HTML exporter. I'm trying to produce HTML like this: The derived backend (org-re-reveal) already has an #+ATTR_REVEAL that an make the data-fragment attributes, so it's not hard to

Re: Org Syntax Specification

2022-01-19 Thread Ihor Radchenko
Tom Gillespie writes: > 3. When I say grammar in this context I mean specifically an eBNF that >generates a LALR(1) or LR(1) parser. This is narrower than the >definition used in the document, which includes things that have to >be implemented in the tokenizer, or in a pass after the

Second Ctl in keychord not detected

2022-01-19 Thread Loris Bennett
Hi, This is not really an Org question but an Emacs or possibly tmux problem. However, the problem manifests itself in an Org context. I have started using Org on a remote server which has Emacs 27 (Org 9.3) installed. I am using tmux and want to run org-insert-structure-template which is

Re: Second Ctl in keychord not detected

2022-01-19 Thread Anssi Saari
"Loris Bennett" writes: > installed. I am using tmux and want to run > > org-insert-structure-template > > which is bound to > > C-c C-, > > When I type that, however, the function > > org-priority > > is executed instead, which is bound to > > C-c , > Does anyone know what is

Re: Second Ctl in keychord not detected

2022-01-19 Thread tomas
On Wed, Jan 19, 2022 at 01:08:10PM +0100, Loris Bennett wrote: > Hi, > > This is not really an Org question but an Emacs or possibly tmux > problem. However, the problem manifests itself in an Org context. I guess this is tmux. It behaves more or less like an oldskool terminal, where C- is

Re: Second Ctl in keychord not detected

2022-01-19 Thread Ihor Radchenko
"Loris Bennett" writes: >>> Does anyone know what is happening to the second Ctl and how the problem >>> can be fixed? >> >> Try to run M-x describe-key C-c C-, and look at the output. > > The second C- disappears. > > I also get > > C-c C-. -> C-c . Then, it is terminal input problem. See

Re: Second Ctl in keychord not detected

2022-01-19 Thread Loris Bennett
Ihor Radchenko writes: > "Loris Bennett" writes: > Does anyone know what is happening to the second Ctl and how the problem can be fixed? >>> >>> Try to run M-x describe-key C-c C-, and look at the output. >> >> The second C- disappears. >> >> I also get >> >> C-c C-. -> C-c . >

Re: handling as special special block in derived export

2022-01-19 Thread Berry, Charles
Matt, > On Jan 19, 2022, at 5:52 AM, Matt Price wrote: > > However, I'd really like to add a less verbose syntax, like this: > > #+begin_r-stack :frag (appear appear) > [[imglink1]] > [[imglink2]] > #+end_r-stack > > My question is: will the exporter preserve information from these

Re: Problem when tangling source blocks with custom coderefs

2022-01-19 Thread Luis Osa
Hi Tom, The simplest fix right now would be to prepend your coderef > with the python comment symbols # |hello| so that at the very least it > won't break your tangled files. Actually, that is exactly what I have done as a quick fix. It has a minor inconvenience: anything else included on the

Re: Yet another browser extension for capturing notes - LinkRemark

2022-01-19 Thread Samuel Wales
just a quick fwiw before i try to reply to the longer message by max. my own suggestion is modest for metadata, [even for science papers and things with funny web construction]. just title like org-capture extension. no need to cite in my case. my needs for saving and restoring, however, are

Extend the existing alternative set of key bindings for terminals (was: Second Ctl in keychord not detected)

2022-01-19 Thread Ihor Radchenko
"Loris Bennett" writes: >> Then, it is terminal input problem. See >> https://stackoverflow.com/questions/0801/why-does-ctrl-not-work-when-i-bind-it-to-a-command-in-emacs/8511#8511 > > You're right, the problem also happens locally when I start Emacs with > '-nw'. Thanks for the

Re: Yet another browser extension for capturing notes - LinkRemark

2022-01-19 Thread András Simonyi
Dear All, On Wed, 19 Jan 2022 at 04:24, Ihor Radchenko wrote: > > Scientific papers require more work, it is necessary to make them > > available to org-cite somehow. Some nerds use quite peculiar blog > > engines and strange setting of metadata. So shopping on some sites might > > work better

Re: Yet another browser extension for capturing notes - LinkRemark

2022-01-19 Thread Ihor Radchenko
András Simonyi writes: > Just wanted to note that the CSL-based export processor, oc-csl.el, > already supports this: you can add an Org file as a bibliography, cite > items described by ol-bibtex style headings and export the citations. Thanks for telling! oc-csl is tricky because it relies on