Re: [FR] ob-awk.el specifying a delimeter argument in for output

2023-03-05 Thread Jeremie Juste
Hello Ihor, >> I guess we might add an option to tell Org which separator to use when >> parsing output when :results table header argument is provided (see 16.6 >> Results of Evaluation section of Org manual). However, you can achieve >> the same now, using :post header argument, replacing the

Re: [FR] ob-awk.el specifying a delimeter argument in for output

2023-03-05 Thread Jeremie Juste
Hello Ihor, > Org knows nothing about your output, by default. > You could as well do something like {print $1+-+$2+-+$3} > What should Org do in such case? > > Currently, Org tries to guess the type of arbitrary output. If the > output looks like a table, with fields separated by tabs,

[FR] ob-awk.el specifying a delimeter argument in for output

2023-03-05 Thread Jeremie Juste
Hello, ob-awk has proven very valuable to me lately so many thanks for maintaining it. First of all let me specify that I'm a beginner user of awk and I don't know if I'm using ob-awk as it is intended, so I'll be glad for any suggestions. Let me explain further: * Default behavior If I have

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-11 Thread Jeremie Juste
Hello Ihor On Thursday, 8 Dec 2022 at 09:07, Ihor Radchenko wrote: > I am not sure if I like the approach you used in the commit. > > -(unless (listp (car value)) (setq value (list value))) > +(unless (listp (car value)) (setq value (mapcar 'list value))) > > In the above, you

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-07 Thread Jeremie Juste
Hello, Many thanks to you all for your feedback. >From 1ad16ffb9, I have restored the expected output in R. that is. #+NAME: example-list - simple - not - nested - list #+BEGIN_SRC R :var x=example-list x #+END_SRC #+RESULTS: | simple | | list | On Wednesday, 7 Dec 2022 at 12:16,

Re: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-12-07 Thread Jeremie Juste
Hello Malcolm, On Wednesday, 7 Dec 2022 at 17:50, Cook, Malcolm wrote: > > Byte-compiling and reloading ob-R.el worked. Glad that you could solve it. From 08433d9b0, I added a test to make sure we are not surprised again. Best regards, Jeremie

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-06 Thread Jeremie Juste
Hello, Many thanks for the insights. I confess that I have never transferred list from org to R before. I've always use tables and as far as I understand they works fine in 9.6. So assuming this list #+name: alist - first item - second item - third item - 3.1 item - fourth item before

Re: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-12-03 Thread Jeremie Juste
Hello Ihor, On Friday, 2 Dec 2022 at 06:02, Ihor Radchenko wrote:> > Fixed on bugfix. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=456462741 Many thanks to you all for helping solve this issue. I apologise for the delayed response. From ffb30cd7373, I added two tests to

Re: Seeing all the steps when I run an R code block

2022-11-27 Thread Jeremie Juste
Hello Ihor, On Sunday, 27 Nov 2022 at 11:52, Ihor Radchenko wrote:> > So, if R has some way to override the working directory, we should > enforce what we promise in the above section of our manual anyway. > > Otherwise, the will lose on Org document reproducibility. This is a fair point, many

Re: Images generated by R code blocks do not display

2022-11-27 Thread Jeremie Juste
Hello Ihor, On Sunday, 27 Nov 2022 at 13:21, Ihor Radchenko wrote: > Jeremie Juste writes: > >> I tried to reproduce your steps on Org mode version 9.6-pre >> (release_9.5.5-1096-gf83e45.dirty @ /home/djj/src/org-mode/lisp/). >> >> and I get stuck at step 1

Re: Images generated by R code blocks do not display

2022-11-27 Thread Jeremie Juste
Hello Ihor, On Friday, 25 Nov 2022 at 02:03, Ihor Radchenko wrote: > > What I did is > > 1. cd /path/to/org/repo > 2. git checkout main > 3. make repro > 4. M-: (require 'ob-shell) > 5. Open the following org file > > #+begin_src sh :results graphics file :file /tmp/colour.png > convert -size

Re: Seeing all the steps when I run an R code block

2022-11-27 Thread Jeremie Juste
Hello William, Many thanks for reporting. > > I think this specific issue might be solved on Org side. > We can let-bind `ess-startup-directory' to 'default-directory while > running R source blocks. > > CCing the maintainer. Ihor, many thanks for the suggestion. However I'm not sure it will

Re: User

2022-11-23 Thread Jeremie Juste
Hello Paul, As far as I know emacs 28 ships with org-mode 9.5. So if you have org-mode 9.4 you might have install an older version on top of this. When installing emacs 28 on window with a plain vanilla installation, M-x org-version, should give you 9.5. My best advice would be to try

Re: [BUG] Incorrect background color [9.5.4 (release_9.5.4-3-g6dc785 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-11-12 Thread Jeremie Juste
Hello Ihor, On Sunday, 16 Oct 2022 at 10:44, Ihor Radchenko wrote: >> >> Confirmed. >> >> WORG page is not accurate here. The truth is that ob-R.el does not provide >> any defaults for header args. Instead, R defaults are used. I suspect >> that defaults for background color changed in

Re: [BUG] Incorrect background color [9.5.4 (release_9.5.4-3-g6dc785 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-11-12 Thread Jeremie Juste
On Sunday, 16 Oct 2022 at 10:44, Ihor Radchenko wrote: >> >> Confirmed. >> >> WORG page is not accurate here. The truth is that ob-R.el does not provide >> any defaults for header args. Instead, R defaults are used. I suspect >> that defaults for background color changed in R since the

Re: You can now support Org-mode through https://liberapay.com/org-mode/

2022-09-17 Thread Jeremie Juste
Hello, Many thanks for setting this up. I'm happy and relieved that an agreement has been reached to support contributors to org mode. I'd like to imagine that this move is the first step to many further improvements towards further and better financial support. Best regards, Jeremie On

Re: org-latex preview on Windows

2022-08-09 Thread Jeremie Juste
Hello Ypo, Many thanks for sharing. On Sunday, 7 Aug 2022 at 20:05, Ypo wrote: > Hi Jeremie > > In my emacs it works great. Even org-fragtog that allows you to edit in > an interactive manner. Org impatient is also pretty nice :-) https://github.com/yangsheng6810/org-latex-impatient > > - Just

Re: org-verse-num: display verse numbers within a verse block

2022-08-07 Thread Jeremie Juste
Hello Juan, On Sunday, 7 Aug 2022 at 14:22, Juan Manuel Macías wrote: > I've added some minor improvements to my little package 'org-verse-num', > which was born out of necessity in my translation to spanish > (work-in-progress) of Homer's Odyssey (11600 verses spread over 24 > books): >

Re: Bug: Folding problem with markdown source block

2022-08-07 Thread Jeremie Juste
Hello Jack, Thanks for reporting. I can reproduce the bug. Best regards, Jeremie On Saturday, 6 Aug 2022 at 14:10, Jack Kamm wrote: > Hello, > > I found that Org entries containing markdown source blocks don't get > properly folded on the main development branch, when markdown-mode is >

org-latex preview on Windows

2022-08-06 Thread Jeremie Juste
Hello everyone, I have had difficulties using org-latex-preview to run properly on Windows. The main issue seems to be that the user name on windows gets abbreviated with ~. As far as I understand this generate problems as the temporary folder cannot be found. see for instance these posts

Re: Efficiently reuse code in org babel with R

2022-07-07 Thread Jeremie Juste
Hello Naresh, Many thanks for sharing. If I'm looking for efficiency, I tend not to use noweb and use an R session instead. One reason is that caching does not work with noweb #+name: test #+begin_src R :cache yes :session *R* Sys.sleep(10) a <- 1 #+end_src

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-07-02 Thread Jeremie Juste
ely restrict our freedom to fund projects that we care about, that give us freedom in other dimensions? I am not suggesting to encourage anyone to use non free method of payments, but allowing them to do so if they want to. I'd like to see solutions towards free electronic payments emer

Re: Change both width and height of R plot in SRC block

2022-07-01 Thread Jeremie Juste
Hello Gerado, Thanks for your email. I'm glad you reached out to the community. >>> Gerardo Moro writes: >>> >>> > I have been trying for over a year to change the output plot > >>> size when >>> > using Orgmode SRC blocks with R. I have tried both using > >>> orgmode settings >>> > and R

Re: problem with unwanted strikeout in src blocks

2022-05-23 Thread Jeremie Juste
Hello Uwe > On Monday, 23 May 2022 at 19:24, Uwe Brauer wrote: Sorry I don't have matlab and I have never used the solutionorbox environment, but I believe you can generate latex directly. For example with R I can to the following. #+begin_src R :exports results :eval yes :results output

Re: calculating quartils, tercils (or percentiles) Using R?

2022-05-22 Thread Jeremie Juste
Hello Uwe, > On Sunday, 22 May 2022 at 08:40, Uwe Brauer wrote: > but I can't not find a way to calculate other percentiles, like terciles or > so. > Does anybody know about this, or a org-function doing it? I would recommend checking the R documentation. #+begin_src R :colnames t :var

Re: Bug: ob-R.el breaks when :session is specified

2022-05-15 Thread Jeremie Juste
ated > > I anticipated that this would not be obvious, since this feature is used too > much to go unnoticed for > two years - but I am clueless as to how I should continue with debugging... > > Thanks for your help! > Christian > > On Sun, 2022-05-15 at 16:16 +0200, Jeremie Ju

Re: Bug: ob-R.el breaks when :session is specified

2022-05-15 Thread Jeremie Juste
Hello Christian, Thanks for reporting but I cannot reproduce the bug with the org and emacs version below. Org mode version 9.5.3 (release_9.5.3-467-g2bd34e @ /home/djj/src/org-mode/lisp/) GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24) of 2022-01-16 Can you please let me

Re: source block evaluation in #+DATE line

2022-05-10 Thread Jeremie Juste
Hello Andreas, On Tuesday, 10 May 2022 at 13:50, Andreas Leha wrote: > Hi all, > > how can I have a source block result in a #+Date line? > > I am creating a beamer presentation. While the code works and the > results get exported nicely at any other position, in the #+Date line > only the code

Re: How to export to markdown programmatically without the table of contents?

2022-05-03 Thread Jeremie Juste
Hello Karl, On Tuesday, 3 May 2022 at 11:15, Karl Voit wrote: > > I tried this neat code snippet today with Emacs 26.3 and Org-mode > 9.1.9 and I got an error: > > | org-export-barf-if-invalid-backend: Unknown "nil" back-end: Aborting export > > When I execute the following code, I get the same

Re: org-startup-folded does not work with directory local variables

2022-05-03 Thread Jeremie Juste
Hello Max, On Tuesday, 3 May 2022 at 00:37, Max Fujimoto wrote: > Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo > version 1.17.6) I must apologise for, I haven't made the jump to emacs 28 yet: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24) of

Re: How to export to markdown programmatically without the table of contents?

2022-05-01 Thread Jeremie Juste
Hello Chuck, > On Sunday, 1 May 2022 at 20:01, Berry, Charles wrote: > It does seem odd that BODY-ONLY as `t' gives a toc. With latex it does not > regardless of `:with-toc'. > > : (org-export-string-as my-string 'md t '(:with-toc nil)) > > seems to give what you want. Many thanks for the

Re: How to export to markdown programmatically without the table of contents?

2022-05-01 Thread Jeremie Juste
by overriding the Org default settings. However I the toc can be removed in this way. (org-export-string-as "#+OPTIONS: toc:nil \n\n* test\n1" 'md) HTH, Jeremie Juste

Re: processing of babel blocks and select_tags

2022-02-18 Thread Jeremie Juste
Hello Eric, On Friday, 18 Feb 2022 at 11:57, Eric S Fraga wrote: > TL;DR: can I have org completely ignore src blocks in non-selected > sections during export without using COMMENT? If I change eval: no_export to :eval no, Only the =Description= section is evaluated and exported. That said, I

Re: Bug with exporting list with link item containing "::" to markdown

2022-02-13 Thread Jeremie Juste
Hello Cash, Many thanks for reporting but I cannot reproduce the error with my current version of emacs and org-mode. Could you specify the version of org-mode and emacs you are currently using? * test :PROPERTIES: :ID: cbce567a-861c-4d9b-8b2f-5933afadb864 :END:

Re: R terminal output does not match src block output due to ">" character in results

2022-01-16 Thread Jeremie Juste
Hello John, As promised, I'm coming back about the formatting of NA_characters_. In org-mode 9.5 NA_characters_ are not printed anymore with :results value. See example 2 and 3 for more details. Please let me know if this post solves your issues. Woudl updating to 9.5 be an option for you? Best

Re: Help debugging R source code block output problem with :session

2022-01-11 Thread Jeremie Juste
Hello John, Many thanks for reporting. I'm short of time right now, but I'll take a closer look at the problem over the weekend and keep you posted. Could you let me know which version of org-mode you are currently using? Best regards, Jeremie Juste On Tuesday, 11 Jan 2022 at 17:36, John

[forged] Re: from 0ef88e2d9 make generates error

2021-10-17 Thread Jeremie Juste
Hello, False alert. I missed texinfo on my system. Many thanks Ihor, for the lead. Best regards Jeremie

Re: "begin_src R :session" opens R session when file first visited

2021-10-17 Thread Jeremie Juste
Hello William, Many thanks for reporting your issue and many thanks to Greg for testing. Sorry, I cannot reproduce the issue either. I don't think it is related to async. Could you try with 'emacs -Q'? my minimal configuration is along with emacs -Q is the following: #+begin_src elisp

from 0ef88e2d9 make generates error

2021-10-17 Thread Jeremie Juste
Hello, I just tried make on 0ef88e2d9 and got the following error. org-version: 9.5 (release_9.5-142-g0ef88e) makeinfo --no-split org.texi -o org.info make[1]: makeinfo: No such file or directory make[1]: *** [Makefile:72: org] Error 127 make[1]: Leaving directory

[PATCH] ob-R async evaluation

2021-10-05 Thread Jeremie Juste
Hello, I'm attaching a patch that clean up a bit of non conventional coding practices (mainly because of my ignorance), in ob-R. These were initially generating warning during the compilation of org-mode. The main feature is the use of the defvaralias ess-eval-visibly-p when the :result output

Re: [PATCH] async process in R

2021-09-28 Thread Jeremie Juste
Hello Chuck, > OK. The patch works when applied on top of the previous 2 (but the second one > has the same name, so there is that to watch out for). Thanks for the feedback, I'll make sure to provide unique names for patches in the future. > > However, I think we are not quite home free. With

Re: [PATCH] async process in R

2021-09-28 Thread Jeremie Juste
ght have on this. Thanks again. Best regards, Jeremie >From db2ad631247a5c52d9d6f6779948f6d0cf34c698 Mon Sep 17 00:00:00 2001 From: Jeremie Juste Date: Tue, 28 Sep 2021 09:04:25 +0200 Subject: [PATCH] ob-R.el: Patch async evaluation when :results output * lisp/ob-R.el (ob-session-async-org-bab

Re: [PATCH] async process in R

2021-09-27 Thread Jeremie Juste
including the tests for async evaluation from [1] ob-session-async. [1]: https://github.com/jackkamm/ob-session-async/. >From 795cc0ebe637aa4ff148c495cf5403ba2baec242 Mon Sep 17 00:00:00 2001 From: Jeremie Juste Date: Mon, 27 Sep 2021 22:02:17 +0200 Subject: [PATCH] ob-R.el: Patch async eva

Re: [PATCH] async process in R

2021-09-27 Thread Jeremie Juste
Hello Chuck, On Monday, 27 Sep 2021 at 18:28, Berry, Charles wrote: > > It looks like you have `(setq ess-eval-visibly t)' here. I think that is a > default setting. > Many thanks for the feedback. > > which is better, but the prompts still need cleaning along the lines of >

Re: [PATCH] async process in R

2021-09-27 Thread Jeremie Juste
Hello, On Monday, 27 Sep 2021 at 08:48, Bastien wrote: > Hi Greg and Jeremie, > > Greg Minshall writes: > >> if this is not already idiomatic for org mode, i'd vote to require the >> "yes" or "no". just my 2 cents. > > Agreed: even if a syntax is allowed, let's use the idiomatic form in >

Re: [PATCH] async process in R

2021-09-26 Thread Jeremie Juste
Hello Greg, > > i was surprised by =:async= standing alone, i.e., with no following > "yes" or "no". is that an org-mode "idiom"? i.e., unadorned header > arguments default to (some form of) "yes"? Many thanks for the feedback, assigning yes or no to async will work as expected. #+begin_src R

[PATCH] async process in R

2021-09-26 Thread Jeremie Juste
rward. Best regards, Jeremie >From 51e1efb75e15fab348fd5a2c8b5fb5c1dbbf4d1c Mon Sep 17 00:00:00 2001 From: Jeremie Juste Date: Sun, 26 Sep 2021 18:25:23 +0200 Subject: [PATCH] lisp/ob-R: Async evaluation in R * lisp/ob-R.el `ob-session-async-R-indicator': Add constant representing a prefi

Re: [PATCH] ob-R output file with graphics parameter

2021-09-26 Thread Jeremie Juste
Hello Bastien, On Sunday, 26 Sep 2021 at 10:48, Bastien wrote: > What is the status of this patch? Should it be more tested? If it is > ready, feel free to apply it in the main branch. The patch is redundant in its present state. In it's present state, ob-R is better without it. Thanks,

Re: Bug: unexpected behavior of nesting braces when exporting to LaTeX

2021-08-22 Thread Jeremie Juste
emph{distinguished}. > \end{theorem} > \end{document} > > The output is > > [cid] > > Besides, this question seems related > https://emacs.stackexchange.com/questions/52510/not-scape-braces-in-latex-org-mode > > Best, > Yue &

Re: Bug: unexpected behavior of nesting braces when exporting to LaTeX

2021-08-22 Thread Jeremie Juste
there are native org-syntax for \emph and \textbf *n+1 - a* /a{b}c/ (info "(org) Emphasis and Monospace") HTH, -- Jeremie Juste

Re: Number format for table results outut from R data.frame/tibble

2021-08-21 Thread Jeremie Juste
Hello, John For my workflow, I generally use the minimum from xtable and do the formatting in org-mode using the :post parameter to call another lisp code block. That said, as Chuck said, you can go a long way with xtable. In my attic, I found the following code where I take only the core

Re: [PATCH] ob-R output file with graphics parameter

2021-07-10 Thread Jeremie Juste

Re: [PATCH] ob-R output file with graphics parameter

2021-07-03 Thread Jeremie Juste
part. > > I think it would still make sense though, and would be beneficial beyond > ob-R. According to [1], the "graphics" and "link" arguments don't do > anything unless used with "file", so it would make sense for them to > automatically add the "file" argument. I do agree with you again. > > [1] > https://orgmode.org/manual/Results-of-Evaluation.html#Results-of-Evaluation > Best regards, -- Jeremie Juste

Re: [PATCH] ob-R output file with graphics parameter

2021-06-28 Thread Jeremie Juste
/4] ob-R.el: Remove redundant argument to function > > I think it would be better to squash these changes into a single commit. > Thanks again for the feedback. Best regards, -- Jeremie Juste

[PATCH] ob-R output file with graphics parameter

2021-06-23 Thread Jeremie Juste
The next steps - Remove second the need for a second file parameter - Add tests to avoid regression - implement async in ob-R >From e3d37da7b643990dc70ee42528051f1323fa5cae Mon Sep 17 00:00:00 2001 From: Jeremie Juste Date: Wed, 23 Jun 2021 23:58:26 +0200 Subject: [PATCH 1/4] ob-R.el: Remove redundan

Re: example paper written in org completely

2021-06-19 Thread Jeremie Juste
ld be difficult to compete with a front-end with org-mode at the back, but again, I'm telling more than I know. Best regards, -- Jeremie Juste

Re: TMIO Pre-release, request for feedback

2021-06-12 Thread Jeremie Juste
Hello Jack On Thursday, 10 Jun 2021 at 05:56, Jack Kamm wrote: > Hi Jeremie, > > Jeremie Juste writes: > >> Just a precision async process is already available in R. Thanks again >> to Jack Kamm for this input. > > I believe async evaluation in R still require

Re: TMIO Pre-release, request for feedback

2021-06-10 Thread Jeremie Juste
tmio/2021-05-31.html > > All the best, > > Timothy. > > p.s. Based on the response to this, I may or may not keep on doing this. > If you would (or wouldn't) like to see me repeat this, let me know :) > -- Jeremie Juste

Re: Bug: Failed to render org file during first load on buffer emacs 27.1 windows binaries [9.3 (release_9.3 @ c:/ProgramFilesh/emacs-27.1-x86_64/share/emacs/27.1/lisp/org/)]

2021-05-21 Thread Jeremie Juste
Hello Aaron, The org-version that ships with emacs 27.2 is 9.4.4. And, for me this version works well on windows 10 out of the box. Can you confirm this? Then if you want to upgrade orgmode, please let us know how you did it. In general the instructions (Info-goto-node "(org) Installation")

Re: Table alignment problem

2021-05-08 Thread Jeremie Juste
Hello, You can have some success using [1] valign-mode. https://github.com/casouri/valign HTH, Jeremie

Re: Commit message instructions on the website

2021-05-03 Thread Jeremie Juste
Hello Bastien, On Monday, 3 May 2021 at 10:27, Bastien wrote: > Hi Jeremie, > > I pushed a fix for this (though a little bit before I read your public > message here) - let me know if it needs to be enhanced. It's good enough for me. Many thanks again Best regards, -- Jeremie Juste

Re: Help debugging R source code block output problem with :session

2021-05-03 Thread Jeremie Juste
Hello, I must apologize again for the delay. I'll be more responsive from now on. @Jack, I have applied the patch at the bottom of the mail. It is not your latest patch but it works as well and is able to handle R errors. > https://orgmode.org/list/87ft7t9wqk@gmail.com/ I have also added

Commit message instructions on the website

2021-05-03 Thread Jeremie Juste
nction): Description of > the change implemented, reference any relevant `other-functions' or > `variables' here. > (another-changed-function): Change something. Use active voice, > and avoid passive forms. Please write in full sentences. everything else is good. Best regards, Jeremie Juste

Re: Bug: Babel+R handles spaces wrongly in tables [9.3.6 (release_9.3.6 @ /home/cassou/.emacs.d/lib/org/lisp/)]

2021-05-02 Thread Jeremie Juste
Hello Bastien, Many thanks, I was waiting for feedback but it seems that nobody complained. On Sunday, 2 May 2021 at 05:52, Bastien wrote: > Hi Damien and Jeremie, > > Jeremie Juste writes: > >> The following patch will at least harmonize the results towards the >>

Re: org to beamer structure not working

2021-03-15 Thread Jeremie Juste
A way to compensate my fluctuating cognitive abilities is (define-key org-mode-map (kbd "") 'org-beamer-export-to-pdf) Best regards, -- Jeremie Juste

Re: ob-reticulate: R+Python interface from Babel

2021-02-27 Thread Jeremie Juste
X Y : 0 1 a : 1 2 b : 2 3 c compared to your [1] example of reticulate is easier to work with. https://github.com/jackkamm/ob-reticulate Best regards, Jeremie On Saturday, 27 Feb 2021 at 06:15, Jack Kamm wrote: > Hi all, > > ob-reticulate is now available on MELPA. > > You can find more information here: > https://github.com/jackkamm/ob-reticulate > > Cheers, > Jack > -- Jeremie Juste

Re: org-in-org

2021-02-23 Thread Jeremie Juste
ach, then closed the org-in-org source block (C-c‌', again), > and then exported the containing .org file. > > is this possible? any ideas? > > cheers, Greg > -- Jeremie Juste

Re: na=\"nil\" in ob-R.elo

2021-02-06 Thread Jeremie Juste
Hello, Thanks again for reporting this. With the attached patch I'll remove nil replacement for NA. >From 90881079d431a8af3cba5be14ecf882735ed7a6a Mon Sep 17 00:00:00 2001 From: Jeremie Juste Date: Sat, 6 Feb 2021 20:50:00 +0100 Subject: [PATCH] For :results value, return empty string inst

Re: na=\"nil\" in ob-R.elo

2021-01-16 Thread Jeremie Juste
string and NA are treated the same, I'm not sure the nil feature is very useful. If it does not break anything else I will consider removing it. Best regards, -- Jeremie Juste

Re: Bug: Babel+R handles spaces wrongly in tables [9.3.6 (release_9.3.6 @ /home/cassou/.emacs.d/lib/org/lisp/)]

2020-12-19 Thread Jeremie Juste
Hello, Apologies for the late reply and thanks for pointing out this bug. || On Sunday, 6 Sep 2020 at 13:32, Damien Cassou wrote: #+name: table | | 2014 | |-+--| | A C |1 | | C |2 | #+name: linechart #+begin_src R :results value :var accounts="" :exports none

Re: LaTeX fragments not being generated due to extra * in tikz env

2020-12-19 Thread Jeremie Juste
k reasonable? > > Thanks, > > thibault > > On 2020-12-09T13:16:19-0500, Jeremie Juste wrote: > > Hello, > > Thanks for reporting. Indeed this is an issue that hasn't been fixed > yet. This is the case for most latex environments > > My solution is here >

Re: LaTeX fragments not being generated due to extra * in tikz env

2020-12-09 Thread Jeremie Juste
ATEX_HEADER: > \NewEnviron{tikzpicture*}[1][]{\begin{tikzpicture}[#1]\BODY\end{tikzpicture}} > > Possibly fixing this issue, will make cross formats much easier. -- Jeremie Juste

Re: Adding Org Files to org-agenda-files

2020-11-29 Thread Jeremie Juste
Hello, >> If you have *both* a settings in your emacs init file for >> org-agenda-files using (setq org-agenda-files...) and you have a line in >> your (custom ...) section, you should remove one of them to avoid >> confusion. In general, what is in the custom section will take >> preference as

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
|| On Saturday, 28 Nov 2020 at 22:45, daniela-s...@gmx.it wrote: > > Many thanks for helping me. I would not have got to this stage without > your helpful commands and checks. You are welcome ;-) > > Getting used to a problem to the extent of depending on it is not a good > system. > Emacs

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
lows you to choose which side you want to pick. Admittedly there are sometimes unexpected default behaviors that don't please everyone but emacs offers choices. Best regards, Jeremie > >> Sent: Saturday, November 28, 2020 at 9:27 PM >> From: "Jeremie Juste" >> To:

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
|| On Saturday, 28 Nov 2020 at 21:11, daniela-s...@gmx.it wrote: > I've made some progress, I am getting Very well. Then I guess that you have multiple variables named org-agenda-files. > File: ~/02histr/gadmin/meeting.rcl.org > > This happens even though I removed the file name from

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
" > "~/02histr/gadmin/writing.rcl.org" > "~/02histr/gadmin/health.rcl.org")) > > ;; "~/02histr/gadmin/meeting.rcl.org" > ;; "~/02histr/gadmin/household.rcl.org" > >> Sent: Saturday, November 28, 2020 at 8:01 PM >

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
|| On Saturday, 28 Nov 2020 at 19:43, daniela-s...@gmx.it wrote: > Why does Agenda not simply honour the init file. Many fume something awful > when you question them on how things are done. It turns out that it does. This what I have in my input file (setq org-agenda-files

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
Hello, || On Saturday, 28 Nov 2020 at 17:54, daniela-s...@gmx.it wrote: > Yes, it shows. That was a good test. This is encouraging. So the problem might be in the wild card expansion if you execute the following command do you get all the files you expect? (file-expand-wildcards

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
(file-expand-wildcards "~/02histr/gadmin/health*.org") > (file-expand-wildcards "~/02histr/gadmin/meeting*.org") )) > -- Jeremie Juste

Re: Help debugging R source code block output problem with :session

2020-10-28 Thread Jeremie Juste
Hello Jack, > Thanks for volunteering to maintain ob-R.el :) Thanks for the encouragements and the suggestions. I need will take some time to dive into the existing code but I will definitely look into it and keep you posted. I've also noticed a [1] bug waiting to be fixed. [1]

Re: Please help by becoming a maintainer for an Org Babel file

2020-10-26 Thread Jeremie Juste
Hello Bastien, On Monday, 26 Oct 2020 at 10:52, Bastien wrote: > Hi Jeremie, > > Jeremie Juste writes: > >> I'm willing to take care of ob-R.el. > > You're in as of 36f4df892. Thank you very much! Got it! It might take my elisp skills to a new level. :-) Thanks to you, -- Jeremie Juste

Re: Please help by becoming a maintainer for an Org Babel file

2020-10-26 Thread Jeremie Juste
Hello, I'm willing to take care of ob-R.el. Best regards, Jeremie Juste

Re: org-table-sum

2020-10-24 Thread Jeremie Juste
no-prop items1 ))) +(res (string-to-number (calc-eval +(combine-and-quote-strings numbers "+" Best regards Jeremie Juste

Re: org-table-sum

2020-10-22 Thread Jeremie Juste
Hello I have figured out that calc-eval might do the job for the floating point problem for org. (info "(calc) Calling Calc from Your Programs") (calc-eval "83.6+0.1") So in the function org-table-sum I have made the following modification: > (res (string-to-number (calc-eval

Re: [Share] collect some idea about auto eval code when TAB expand headline

2020-10-16 Thread Jeremie Juste
Hello, I don't see very clearly how you want to use the code. (It might well be because of my lack of skills) Could you give a usage example? Best regards, Jeremie On Friday, 16 Oct 2020 at 13:01, stardiviner wrote: > I write an elisp config for Org Mode to auto evaluate inline source

Re: opening a 0.5 MB org file is slow

2020-09-30 Thread Jeremie Juste

Re: opening a 0.5 MB org file is slow

2020-09-30 Thread Jeremie Juste
profiler-start cpu 2. open your file 3. M-x profiler-report It will let you see which functions are slowing you down. HTH, -- Jeremie Juste

Re: opening a 0.5 MB org file is slow

2020-09-29 Thread Jeremie Juste
that would do the profiling like elp-instrument-function for functions? -- HTH Jeremie Juste On Tuesday, 29 Sep 2020 at 21:11, Uwe Brauer wrote: > Hi > > maybe I am just to impatient but on my 8 GB Thinkpad X1 (4gen) to open a > 0.5MB org file takes around 15 sec. > > Any chang

Re: org-table-sum

2020-09-28 Thread Jeremie Juste
solution yet. I don't know yet which function calc is using to perform this operation. I have tried calcFunc-vsum but fell back on the same issue. #+BEGIN_SRC elisp (calcFunc-vsum 85.6 .1) #+end_src -- Best regards Jeremie Juste

Re: org-table-sum

2020-09-26 Thread Jeremie Juste
| > | 2.61 | > | 12.21 | > | 6.69 | > | 19.72 | > | 23.09 | > | 6.23 | > | 15.28 | > | 250.00 | > | 250.00 | > | 250.00 | > | 78.85 | > || > || > #+TBLFM:@>$1=vsum(@1$1..@-1$1) > > Put point in that empty cell and do 'C-u C-c C-c' > > Robert > -- Best regards Jeremie Juste

Re: org-tempo question

2020-09-24 Thread Jeremie Juste
Hello Nick, Thanks for the feedback. I'm not sure I understand your setting entirely. I have reproduced the behaviour of tempo inside an org src block below. I don't have any comma before the source block expansion unless I type it. Any character except space or tab on the line of the

Re: org-tempo question

2020-09-24 Thread Jeremie Juste
Hello Bruno, Thanks for your mail. I have been missing this feature that was taken out of core. I will have to keep up with the modulation of org-mode but it is for the better. Regarding your concern > In the same spirit if before trying that I type tabulation then = then tabulation again,

Re: Bug: org-table-wrap-region incorrectly places the wrapped region [9.4 (9.4-elpaplus @ /home/marko/.emacs.d/elpa/org-plus-contrib-20200914/)]

2020-09-24 Thread Jeremie Juste
Hello Marko, Thanks for reporting. Unexpected behavior of (org-table-wrap-region) confirmed. works fine with > | Includes all aspects of| > | information about | > | proposed project. | Error: user-error: Not in table data field with header line >

Re: Help with moderating non-subscribers messages on the Org mailing list

2020-09-23 Thread Jeremie Juste
Hello Dominique, Many thanks for this info. I'll give it a try. Best regards, Jeremie Dominique Dumont writes: > Hi > > On mercredi 16 septembre 2020 11:04:42 CEST Bastien wrote: >> The task is to check the mailman administration page and to discard >> messages that should not be sent to the

Re: strange bug after a fresh install

2020-09-16 Thread Jeremie Juste
Hello Uwe, if seems that the problem lies with ob-ipython. I would suggest to remove ob-ipython to check and then perform a fresh install of ob-ipython. HTH, Jeremie Uwe Brauer writes: > Hi > > I freshly installed Ubuntu 20.04 and used the pre compiled Emacs 26, I > copies also all my init

Re: Emacs version for Org 9.4?

2020-09-15 Thread Jeremie Juste
Hello Jens, I'm afraid I cannot test your issue. I don't have the ability to switch emacs version yet. What I can tell you is that org-9.4 is working fine on GNU Emacs 27.1, and on Emacs 28.0.50. Does anyone have problem on the official Debian 10 repo emacs 1:26.1+1-3.2+deb10u1? Hope this

Re: setting up 'imenu'

2020-09-11 Thread Jeremie Juste
Hello Sharon, I must have failed to grasp the subtleties of your workflow. And my explanation was surely not very friendly. I apologize for that. If your workflow works for you this is what matters. > Sorry, but I just feel that your system is over-complicated as compared > to my simplistic

Re: setting up 'imenu'

2020-09-10 Thread Jeremie Juste
Hello Sharon, Unfortunately I cannot reproduce your issue. I created a list of 56 sub heading and I can view the heading Still a sample 0 until Still a sample 56. ** TODO * etc and onwards ** TODO * and another one ** Still a sample 0 ** Still a sample 1 ** Still a sample 2 ** Still a sample

Re: org-store link does not work in gnus article-mode

2020-09-04 Thread Jeremie Juste
Hello Bastien, Bastien writes: > Did you (require 'ol-gnus) ? Yes (require 'ol-gnus) did the trick. Many thanks. Best regards, Jeremie

  1   2   >