Re: Bug: Can’t assign to hline relative reference

2020-10-21 Thread Daniel Herzig
This seems to be related to: https://emacs.stackexchange.com/questions/15185/cant-assign-to-hline-relative-reference There seem to be restrictions regarding hline-relative-references within table-formulas. If change 'I' and 'II' for 1 and 2 on the very left of the formula, it works (keeping th

Re: [O] source-block 'uncomment-region' comments out a second time

2019-04-24 Thread Daniel Herzig
M-; is definitely what I've been searching for! Thanks for the advice, Daniel "Berry, Charles" writes: > My bad. See inline. > >> On Apr 24, 2019, at 8:45 AM, Daniel Herzig wrote: >> >> Hi! >> >> "Berry, Charles" writes: >

Re: [O] source-block 'uncomment-region' comments out a second time

2019-04-24 Thread Daniel Herzig
Hi! "Berry, Charles" writes: >> On Apr 22, 2019, at 3:49 AM, Daniel Herzig wrote: >> >> I found a minor problem when editing source code blocks. I am on >> Org-Mode 8.2.10 that comes with Emacs 25.1.1 on Debian. > > With more modern versions (9.2.3,

[O] source-block 'uncomment-region' comments out a second time

2019-04-22 Thread Daniel Herzig
Hi all! I found a minor problem when editing source code blocks. I am on Org-Mode 8.2.10 that comes with Emacs 25.1.1 on Debian. My source code block looks something like: #+BEGIN_SRC sh :shebang abc :tangle xyz do this do that and that #+END_SRC If I enter the block with C-c ' and comment out

Re: [O] passing string to sh source code block

2019-03-16 Thread Daniel Herzig
Sorry, I found my mistake. I'll post it anyway, maybe it's of use to someone. My path contains spaces, so I had to change the code a bit (see below). Daniel Herzig writes: > Hi! > > I am trying to pass a path to an org-source-codeblock using the :var tag > in the head

[O] passing string to sh source code block

2019-03-16 Thread Daniel Herzig
Hi! I am trying to pass a path to an org-source-codeblock using the :var tag in the header: #+BEGIN_SRC sh :var directory="/x/y/z" cd directory ls #+END_SRC The output of the ls command shows that I obviously stay in the location of my .org file (not "/x/y/z") -- is there a way to pass the path

Re: [O] org-sbe: error when passing strings as parameters to/from Python blocks

2019-03-14 Thread Daniel Herzig
Karl Voit writes: > Hi! Hi! > > I want to test/use Python with org-sbe: > > #+NAME: classificationfm > #+BEGIN_SRC python :exports none :var prob :var impact > > result = "" > if prob == 'high' and impact == 'high': > return 'A' > if prob == 'low' and impact == 'high': > return 'B' > if p

Re: [O] org-export links to html

2019-02-22 Thread Daniel Herzig
Perfect, thank you! Daniel Nicolas Goaziou writes: > Hello, > > Daniel Herzig writes: > >> I'm facing an interesting issue here (emacs 25.1 & orgmode 8.2.10) when >> exporting an org-file to html. >> >> In my file there is a link to the origin

[O] org-export links to html

2019-02-22 Thread Daniel Herzig
Hi! I'm facing an interesting issue here (emacs 25.1 & orgmode 8.2.10) when exporting an org-file to html. In my file there is a link to the original org-file itself (the one I'm working on), written as 'file:/x/y/file.org'. When exporting to .pdf, .odt, or text, it correctly expands to 'file:///