Re: [BUG] ob-R.el: extra empty data.frame columns generated from plain lists after recent change [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-15 Thread Johan Tolö
ust wanted to clarify that there is no confusion as to what an R list is in the context of R itself (as far as I can tell). Your post made it sound like there is. [snipped] -- Johan Tolö

Re: [BUG] ob-R.el: extra empty data.frame columns generated from plain lists after recent change [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-13 Thread Johan Tolö
ng other lists, expressions and symbols. "Proper list" in the context of this discussion and pertaining to R would be a =list()=, not a vector which is what is usually returned by =c()=. A =data.frame()= is a special case of a =list()= where every column has to have the same length. Johan -- Johan Tolö

Re: [BUG] ob-R.el: extra empty data.frame columns generated from plain lists after recent change [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-10 Thread Johan Tolö
. Johan -- Johan Tolö

Re: [BUG] (org-babel-result-to-file) adds the relative path even if attachment link is generated [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-05 Thread Johan Tolö
Johan Tolö writes: [snipped] * Test :PROPERTIES: :DIR: build :END: #+begin_src R :results output file graphics :file build/test.png plot(1) #+end_src #+RESULTS: [[attachment:build/test.png]] The expected result is: #+RESULTS: [[attachment:test.png]] My ob-core.el has in the org

Re: [BUG] ob-R.el: extra empty data.frame columns generated from plain lists after recent change [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-05 Thread Johan Tolö
to the commit message). -- Johan Tolö

[BUG] ob-R.el: extra empty data.frame columns generated from plain lists after recent change [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-04 Thread Johan Tolö
Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.35, cairo version 1.17.6) of 2022-12-01 Package: Org mode version 9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/) -- Johan Tolö

Re: Adding #+name to result block in babel

2022-12-04 Thread Johan Tolö
ifficult to get the output right. Another suggestion is to use a templating system for generating the src block and include the #+name: part in the template. I use yasnippet for this. -- Johan Tolö

[BUG] (org-babel-result-to-file) adds the relative path even if attachment link is generated [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-03 Thread Johan Tolö
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: org-attach-use-inheritance inherits from sibling

2021-10-03 Thread Johan Tolö
acs-lisp (load "org.el") (load "org-id.el") (org-entry-get nil "id" t) #+end_src #+RESULTS: : acf18561-7a84-4703-96c6-1aceccd46b33 end of buffer -- Johan Tolö

org-attach-use-inheritance inherits from sibling

2021-09-06 Thread Johan Tolö
Hi, I have set 'org-attach-use-inheritance' to t. If a heading has no parents it seems to inherit from the first heading in the file which has either the ID or DIR property set, ie from the first sibling above it. I'm guessing this is not the expected behaviour? Johan -- Johan

Allow to set :follow link parameter for "file" links

2020-12-07 Thread Johan Tolö
introduced with commit: afd3b04ec Perhaps there is a better way to do this now? Kind regards, Johan -- Johan Tolö, PhD Department of Physiology/Metabolic Physiology Institute of Neuroscience and Physiology The Sahlgrenska Academy at Gothenburg University Visiting address: Medicinaregatan 11 Post

Re: Why is `org-element-affiliated-keywords' a var when `org-element--affiliated-re' is a const?

2020-04-05 Thread Johan Tolö
Nicolas Goaziou writes: snip Syntax is not meant to be changed by users. Also, `org-element-affiliated-keywords' is a defconst. Oh, yes you are of course right. Somehow I got the definition mixed up, must have been looking at the definition in 'org-pcomplete.el' or something. Sorry about

Why is `org-element-affiliated-keywords' a var when `org-element--affiliated-re' is a const?

2020-04-05 Thread Johan Tolö
Dear all, I want to add my own org-element affiliated keyword "REF" in order to provide a reference to some other part of an org mode document (or another document) for a link. For example: #+NAME: a-figure #+REF: [[file:another_document.org]] [[file:a-figure.png]] I want to use