Re: babel output seems to drop anything before % (in session)

2021-05-05 Thread John Corless
Confirmed Daniele, I was able to reproduce the behavior you described. Using the test case... #+BEGIN_SRC shell script :results output ping -c 1 127.0.0.1 #+END_SRC ... the results output matches what I get in a bash shell. But if you add the :session to the header args like this...

ob-fortran fixes to column position 6 and subroutine keywords

2021-05-05 Thread pietru
ob-fortran treats code highlighting as "fortran 77" code, starting highlighting from column position 6. Can this be changed to use free format? Also the following call fails, meaning that currently you cannot use keywords. call system_clock(cnt_mx=count_max, cnt_rt=count_rate)

Re: prettify-symbols-mode in org agenda?

2021-05-05 Thread Ihor Radchenko
William Xu writes: > I think I'm still seeing the issue. For example, if i change (M-x > org-agenda-todo) a TODO item into next state ONGOING, which i have made > prettified: > > (push '("ONGOING" . "" ) prettify-symbols-alist) > > So far so good. But as soon as I call org-agenda-redo-all,

Re: ob-fortran behaviour

2021-05-05 Thread Christopher Dimech
There exists no problem with fortran. My brain was not open because u(i) gets beyond its bounds. > Sent: Thursday, May 06, 2021 at 11:09 AM > From: "Christopher Dimech" > To: "Eric S Fraga" > Cc: "Org Mode List" > Subject: ob-fortran behaviour > > Fortran is behaving in a weird way > >

ob-fortran behaviour

2021-05-05 Thread Christopher Dimech
Fortran is behaving in a weird way #+BEGIN_SRC fortran program matrx_vectr_mult implicit none integer :: m, n, i, j, k real :: a(5,3), u(3), v(5), rsum m = 5; n = 3 a = 0.0; u = 0.0; v = 0.0 k = 0 do j = 1, n do i = 1, m k = i + j

Re: [wip-cite-new] New natbib processor

2021-05-05 Thread Bruce D'Arcus
On Wed, May 5, 2021 at 5:25 PM Bruce D'Arcus wrote: > Now I did the real test: would LaTeX -> PDF work. > > Answer: not ATM. Probably user error, as I've not compiled bibtex + latex documents in a long time. But it doesn't appear the bib file specified in the org file gets passed to the latex

Re: [wip-cite-new] New natbib processor

2021-05-05 Thread Bruce D'Arcus
On Wed, May 5, 2021 at 2:08 PM Bruce D'Arcus wrote: > I did some basic testing, and it seems to work well in general ... That was just looking at the citation output, of course. Now I did the real test: would LaTeX -> PDF work. Answer: not ATM. Here's my minimal document:

Re: [wip-cite-new] New natbib processor

2021-05-05 Thread Bruce D'Arcus
BTW, if anyone else wants to test this but wasn't sure how, I put together this little gist with a minimal init and instructions. https://gist.github.com/bdarcus/2645f99363fc47ddab2aae24c5d9e66c Bruce

Re: orgbabel with fortran code

2021-05-05 Thread pietru
Perhaps we can have a crack at ob-fortran again, considering you have had some successes. With the motivation that this could drive some more work on the code if useful. Would some hacking time of a few days bo possible to you? We can then compile a brief report and send it. Thank you so

Re: orgbabel with fortran code

2021-05-05 Thread pietru
> Sent: Thursday, May 06, 2021 at 8:53 AM > From: "Dr. Arne Babenhauserheide" > To: pie...@caramail.com > Cc: emacs-orgmode@gnu.org > Subject: Re: orgbabel with fortran code > > > pie...@caramail.com writes: > > > Have seen yon also use ob-latex. Have tried to display equations but was > >

Re: orgbabel with fortran code

2021-05-05 Thread pietru
Have had a first go with your code I wrote the following, then went inside the code and slammed "C-c C-c" #+BEGIN_SRC fortran :tangle fortran-comline.f90 program cli implicit none ! no implicit declaration: all variables must be declared character(1000) :: arg call

Re: orgbabel with fortran code

2021-05-05 Thread Dr. Arne Babenhauserheide
pie...@caramail.com writes: > Have seen yon also use ob-latex. Have tried to display equations but was not > successful. I would be grateful with some help on that Arne. Where did you try to use ob-latex? I mainly use latex-export (and quite a large amount of it). Best wishes, Arne --

Re: orgbabel with fortran code

2021-05-05 Thread pietru
Have seen yon also use ob-latex. Have tried to display equations but was not successful. I would be grateful with some help on that Arne. Regards Pete > Sent: Thursday, May 06, 2021 at 7:50 AM > From: "Dr. Arne Babenhauserheide" > To: pie...@caramail.com > Cc: emacs-orgmode@gnu.org >

Re: orgbabel with fortran code

2021-05-05 Thread Christopher Dimech
I can tell you that I used Fortran for much of my secret underwater surveillance work. Richard Stallman doesn't like it and we butt heads. But you should know that I come from area known as Afro-Asia. I always win. > Sent: Thursday, May 06, 2021 at 7:50 AM > From: "Dr. Arne Babenhauserheide"

Re: Multiple calc commands with orgbabel

2021-05-05 Thread pietru
> Sent: Thursday, May 06, 2021 at 4:39 AM > From: "Eric S Fraga" > To: "Matt Price" > Cc: pie...@caramail.com, "Org Mode List" > Subject: Re: Multiple calc commands with orgbabel > > On Wednesday, 5 May 2021 at 11:11, Matt Price wrote: > > Can you explain how you get calc embedded mode working

Re: orgbabel with fortran code

2021-05-05 Thread Dr. Arne Babenhauserheide
pie...@caramail.com writes: > Have you got exomples with fortran code yourself? I would like to scrutinise > them. I have this, but I no longer know whether it actually executes fortran inline or only tangles it: https://www.draketo.de/files/2017-04-10-Mo-fortran-commandline-tool.org

[PATCH] Added two extra symbols to org-entities

2021-05-05 Thread Atlas Cove
Hello! I am finally making my first small contribution to org-mode! I've added both U+0130, "LATIN CAPITAL LETTER I WITH DOT ABOVE" 'İ' & U+0131, "LATIN SMALL LETTER DOTLESS I", "ı", accessed with '\Idot{}' and '\inodot{}'. I'm unsure if I've got the Latin-1 encoding down, so I've included it

Re: [PATCH] ox-publish.el: Speed up org-publish-cache-file-needs-publishing

2021-05-05 Thread Emily Bourke
Hi Bastien, > thanks for the patch and sorry to reactivate this old thread. No problem, thanks for getting in touch - the reminder is appreciated. > Did you find time to make the tests and, perhaps, to update the patch? I'm afraid I haven't had a chance to look at this any further since my

Re: wip-cite status question and feedback

2021-05-05 Thread Bruce D'Arcus
On Wed, May 5, 2021 at 2:15 PM M. ‘quintus’ Gülker wrote: > I wonder, can the placement of the footnote not just be left to the > author...? I have the impression that something is being > over-engineered here with the attempt to automate this, but maybe this > is just me. The use case is for

Re: wip-cite status question and feedback

2021-05-05 Thread M . ‘quintus’ Gülker
Am 05. Mai 2021 um 09:46 Uhr -0400 schrieb Bruce D'Arcus: > We found three rules: > > 1. what Chicago calls "American" > 2. what it calls "British" > 3. French (though Denis is still confirming how these work in actual books) > > The output in each, when formatting as a note: > > 1. A sentence

Re: [wip-cite-new] New natbib processor

2021-05-05 Thread Bruce D'Arcus
On Wed, May 5, 2021 at 10:53 AM Nicolas Goaziou wrote: > As a reminder, to test it, you (require 'oc-natbib) to register the > processor, and add "#+cite_export: natbib" in your document (or set > `org-cite-export-processor' to (natbib)). I did some basic testing, and it seems to work well in

Re: prettify-symbols-mode in org agenda?

2021-05-05 Thread William Xu
Ihor Radchenko writes: >>> The only issue I still see, is that when you org-agenda-redo-all, or >>> org-agenda-log-mode (which triggers org-agenda-redo-all), the >>> prettify gets lost again. Maybe org-buffer-substring-fontified call is >>> also required somewhere during org-agenda-redo-all? >>

Re: Notes about citations in Org (part 3)

2021-05-05 Thread Bruce D'Arcus
On Wed, May 5, 2021 at 12:59 PM Maxim Nikulin wrote: > > On 04/05/2021 23:59, Nicolas Goaziou wrote: > > > > Is the default \cite{key} command (without any other package) used? I'm > > not sure we should provide it since we are working towards more complete > > solutions. > > In some fields

Re: [PATCH] Use cache in org-up-heading-safe

2021-05-05 Thread Maxim Nikulin
On 04/05/2021 22:08, Ihor Radchenko wrote: While testing another patch for agenda fontification, I noticed that agenda can spend up to half!! time doing org-up-heading-safe. Mostly inside queries for inherited tags and properties. I managed to make org-up-heading-safe up to 50x faster using

Re: Multiple calc commands with orgbabel

2021-05-05 Thread Tom Gillespie
Here is a quick and dirty implementation that more or less does what you want (I think). The if t would probably need to be replaced by a value that corresponded to an option that indicated that ob-calc should resolve all expressions on the stack. This isn't really an issue of return value, it is

Re: Multiple calc commands with orgbabel

2021-05-05 Thread Tom Gillespie
Looking at ob-calc there is a call to calc-push-list. Knowing the length of that list (i.e. the number of arguments) it should be possible to inspect calc-stack to retrieve the other values on the stack from the current block. You can see this if you run M-: calc-stack. This would probably need a

Re: Notes about citations in Org (part 3)

2021-05-05 Thread Maxim Nikulin
On 04/05/2021 23:59, Nicolas Goaziou wrote: Is the default \cite{key} command (without any other package) used? I'm not sure we should provide it since we are working towards more complete solutions. In some fields simple "[3,7]" citations are traditional. A couple of randomly picked

Re: Multiple calc commands with orgbabel

2021-05-05 Thread Eric S Fraga
On Wednesday, 5 May 2021 at 11:11, Matt Price wrote: > Can you explain how you get calc embedded mode working in org? I have > never used it and it sounds interesting, but I don't understand what > hte delimiters are. Sure. Here is a mini-tutorial! :-) I recently gave an interactive talk on

Re: [PATCH] tangling seems to have broken today

2021-05-05 Thread Sébastien Miquel
Hi Bastien, The issue is that currently tangling a single block by calling `org-babel-tangle` with a prefix argument fails. This is unrelated to the earlier thread today, but was introduced by my original commit a2cb9b853d. Unfortunately, fixing it requires some refactorisation to avoid code

Please help by becoming a Worg maintainer

2021-05-05 Thread Bastien
Dear all, https://orgmode.org/worg/ is the community-driven documentation effort for anything related to Org. It is full of useful information but it needs some more maintainance. I'm looking for someone who could take this in charge by helping when possible. Of course, we can have several

Re: [wip-cite-new] New natbib processor

2021-05-05 Thread Bastien
"Bruce D'Arcus" writes: > On Wed, May 5, 2021 at 10:53 AM Nicolas Goaziou > wrote: > >> Another thread! Yay! > > We should be close to the finish line! We should boost our media coverage for such efforts :) Joke aside, thank you both very much for keeping the ball rolling, it's nice to see

Re: Multiple calc commands with orgbabel

2021-05-05 Thread pietru
  Example   (require 'ob-calc)  (org-babel-do-load-languages 'org-babel-load-languages '( (calc . t) )   calc.org   # To execute, place cursor point on a line, then hit "C-c * u" hard with no harm.   #+name: Simplifying Formulas #+begin_src calc simplify((x

Re: [wip-cite-new] New natbib processor

2021-05-05 Thread Bruce D'Arcus
On Wed, May 5, 2021 at 10:53 AM Nicolas Goaziou wrote: > Another thread! Yay! We should be close to the finish line! > I just added a new `natbib' processor in "wip-cite-new" branch, in the > file "oc-natbib.el" Awesome! > However, I'm not convinced by them [sub-styles]. > > On the bright

Re: prettify-symbols-mode in org agenda?

2021-05-05 Thread Ihor Radchenko
> William Xu writes: >> The only issue I still see, is that when you org-agenda-redo-all, or >> org-agenda-log-mode (which triggers org-agenda-redo-all), the >> prettify gets lost again. Maybe org-buffer-substring-fontified call is >> also required somewhere during org-agenda-redo-all? > > I

babel output seems to drop anything before % (in session)

2021-05-05 Thread Daniele Pizzolli
Hello, Try to execute a few times the following and see the output corrupted in the line: #+BEGIN_EXAMPLE 1 packets transmitted, 1 received, 0% packet loss, time 0ms #+END_EXAMPLE #+PROPERTY: header-args:shell #+PROPERTY: header-args:shell+ :results output verbatim :wrap src text :session

Re: Multiple calc commands with orgbabel

2021-05-05 Thread Matt Price
Can you explain how you get calc embedded mode working in org? I have never used it and it sounds interesting, but I don't understand what hte delimiters are. On Wed, May 5, 2021 at 2:35 AM Eric S Fraga wrote: > On Wednesday, 5 May 2021 at 07:46, pie...@caramail.com wrote: > > Have been trying

[wip-cite-new] New natbib processor

2021-05-05 Thread Nicolas Goaziou
Hello, Another thread! Yay! I just added a new `natbib' processor in "wip-cite-new" branch, in the file "oc-natbib.el" --8<---cut here---start->8--- This library registers the `natbib' citation processor, which provides the "export" capability for citations.

Re: Notes about citations in Org (part 3)

2021-05-05 Thread Nicolas Goaziou
Hello, András Simonyi writes: > this is just to indicate that I've started to look into the > wip-cite-new branch with an eye on updating citeproc-org to use the > new API -- everything seems to be working perfectly, thanks again for > this, Nicholas! One issue I also noticed is the separation

Re: tangling seems to have broken today

2021-05-05 Thread Eric S Fraga
On Wednesday, 5 May 2021 at 14:17, Sébastien Miquel wrote: > Eric S Fraga writes: >> I was using org-babel-tangle. Although, in this case, with C-u before >> to tangle just the particular block. > Indeed, I have broken this. I'll provide a patch, shortly. Thank you! And I should have given

Re: tangling seems to have broken today

2021-05-05 Thread Sébastien Miquel
Eric S Fraga writes: I was using org-babel-tangle. Although, in this case, with C-u before to tangle just the particular block. Indeed, I have broken this. I'll provide a patch, shortly. -- Sébastien Miquel

Re: Notes about citations in Org (part 3)

2021-05-05 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > On Tue, May 4, 2021 at 12:59 PM Nicolas Goaziou > wrote: > >> AFAIU, the idea is to use styles from you wiki. However, sub-styles are >> not mentioned. They could be "full" for the starred variants, "caps" for >> the capitalized ones, and "alt" for those

Re: Question about citation processors [wip-cite branch]

2021-05-05 Thread Nicolas Goaziou
Hello, Joost Kremers writes: > The docstring talks about a "citation object", and the "citation or citation > reference object at point". Do I assume correctly that these are structures as > returned by =org-element-parse-buffer=? That's correct. The citation contains the global prefix and

Re: tangling seems to have broken today

2021-05-05 Thread Eric S Fraga
On Wednesday, 5 May 2021 at 13:54, Sébastien Miquel wrote: > What command are you using ? > > Running `org-babel-tangle` works for me with latest master using your > example. I was using org-babel-tangle. Although, in this case, with C-u before to tangle just the particular block. -- : Eric S

Re: tangling seems to have broken today

2021-05-05 Thread Sébastien Miquel
Hi Eric, Timothy, Eric S Fraga writes: I can no longer tangle with a given file name. The error I get indicates that the tangling procedure is looking at the first line of the actual code block. What command are you using ? Running `org-babel-tangle` works for me with latest master using

Re: Bug: [PATCH] org-babel-tangle: persmission denied when tangling [9.4.5 (9.4.5-gbc2659 @ /home/n/.emacs.d/straight/build/org/)]

2021-05-05 Thread No Wayman
Sébastien Miquel writes: Here's another patch, to be applied on top of the previous one, that fixes this. The specific case you mention can also be achieved by setting the :tangle argument to `yes`: in this case, the tangled file name is computed using the buffer file name and changing

Re: wip-cite status question and feedback

2021-05-05 Thread Bruce D'Arcus
On Sun, May 2, 2021 at 6:18 PM Bruce D'Arcus wrote: > On Sun, May 2, 2021 at 5:59 PM Denis Maier wrote: > > > I'm thinking whether this could make the system more flexible and > > adaptable. > > We'd still need to discuss details of course (like including sensible > defaults, etc.) if this were

Re: tangling seems to have broken today

2021-05-05 Thread Bastien
Timothy writes: > I'd just like to chime in to note that I am also experiencing this > issue. Thanks, I guess Sébastien will be able to fix it. If you and Eric can find how to fix this while addressing the original issue Sébastien was trying to resolve, feel free to go ahead. -- Bastien

Re: tangling seems to have broken today

2021-05-05 Thread Timothy
I'd just like to chime in to note that I am also experiencing this issue. Eric S Fraga writes: > I note that the git log shows a commit which affects tangling: 501b2a191 > > I can no longer tangle with a given file name. The error I get > indicates that the tangling procedure is looking at

tangling seems to have broken today

2021-05-05 Thread Eric S Fraga
I note that the git log shows a commit which affects tangling: 501b2a191 I can no longer tangle with a given file name. The error I get indicates that the tangling procedure is looking at the first line of the actual code block. For instance, if I have #+begin_src org ,#+begin_src julia

Re: Notes about citations in Org (part 3)

2021-05-05 Thread Eric S Fraga
On Wednesday, 5 May 2021 at 05:37, Bruce D'Arcus wrote: > Does it have any more commands than \cite and \nocite? Vanilla LaTeX has only \cite and \nocite (page 74ff of the original book by Leslie Lamport). -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.5-503-g501b2a

Re: Notes about citations in Org (part 3)

2021-05-05 Thread Denis Maier
Am 05.05.2021 um 11:37 schrieb Bruce D'Arcus: On Wed, May 5, 2021, 1:48 AM Eric S Fraga > wrote: On Tuesday,  4 May 2021 at 18:59, Nicolas Goaziou wrote: > Is the default \cite{key} command (without any other package) used? Yes, it is.  But I wouldn't

Re: Notes about citations in Org (part 3)

2021-05-05 Thread Bruce D'Arcus
On Wed, May 5, 2021, 1:48 AM Eric S Fraga wrote: > On Tuesday, 4 May 2021 at 18:59, Nicolas Goaziou wrote: > > Is the default \cite{key} command (without any other package) used? > > Yes, it is. But I wouldn't be able to tell you anything about relative > frequency etc. > Does it have any

bug#47088: org-w3m: handle w3m-image link information

2021-05-05 Thread Bastien
Boruch Baum writes: > Attached is a patch that adds to function `org-w3m-copy-for-org-mode' > support for w3m-image links. Note that because function > `org-make-link-string' is used for constructing the buffer substring to > be copied, w3m's special face to distinguish an image link is not >

Re: Multiple calc commands with orgbabel

2021-05-05 Thread pietru
> Sent: Wednesday, May 05, 2021 at 7:59 PM > From: "Eric S Fraga" > To: pie...@caramail.com > Cc: emacs-orgmode@gnu.org > Subject: Re: Multiple calc commands with orgbabel > > On Wednesday, 5 May 2021 at 09:26, pie...@caramail.com wrote: > > Does anybody has some experience using calc for

Re: Multiple calc commands with orgbabel

2021-05-05 Thread Eric S Fraga
On Wednesday, 5 May 2021 at 09:26, pie...@caramail.com wrote: > Does anybody has some experience using calc for factoring, matrix > computation and taking derivatives. The manual overwhelmed me. You might be better off asking on the Emacs help list as this is rather off-topic for the org

Re: [POLL] Setting `org-adapt-indentation' to nil by default?

2021-05-05 Thread Bastien
Bastien writes: > Various discussions convinced me that `org-adapt-indentation' should > be nil by default. It is now, as of commit 0a651b746. Thank you all very much for your feedback on this. -- Bastien

Re: Multiple calc commands with orgbabel

2021-05-05 Thread pietru
Does anybody has some experience using calc for factoring, matrix computation and taking derivatives. The manual overwhelmed me. > Sent: Wednesday, May 05, 2021 at 7:23 PM > From: "Eric S Fraga" > To: "Dr. Arne Babenhauserheide" > Cc: pie...@caramail.com, emacs-orgmode@gnu.org > Subject: Re:

Re: orgbabel with fortran code

2021-05-05 Thread pietru
> Sent: Wednesday, May 05, 2021 at 7:20 PM > From: "Eric S Fraga" > To: pie...@caramail.com > Cc: "help Emacs Orgmode" > Subject: Re: orgbabel with fortran code > > On Wednesday, 5 May 2021 at 09:14, pie...@caramail.com wrote: > > The code is fantastic, but how may I run it exactly? Using

Re: orgbabel with fortran code

2021-05-05 Thread pietru
Have you got exomples with fortran code yourself? I would like to scrutinise them. > Sent: Wednesday, May 05, 2021 at 7:14 PM > From: "Dr. Arne Babenhauserheide" > To: pie...@caramail.com > Cc: emacs-orgmode@gnu.org > Subject: Re: orgbabel with fortran code > > > pie...@caramail.com writes:

Re: Multiple calc commands with orgbabel

2021-05-05 Thread Eric S Fraga
On Wednesday, 5 May 2021 at 09:12, Dr. Arne Babenhauserheide wrote: > could you try the header :results output? Doesn't make any difference as Calc itself does not actually output anything. All results are put on the stack. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.5-503-g501b2a

Re: Multiple calc commands with orgbabel

2021-05-05 Thread pietru
I still get the lost result #+begin_src calc :results output fsolve(x*2+x=4,x) fsolve([x + y = a, x - y = b],[x,y]) #+end_src #+RESULTS: : [x = a + (b - a) / 2, y = (a - b) / 2] > Sent: Wednesday, May 05, 2021 at 7:12 PM > From: "Dr. Arne Babenhauserheide" > To: pie...@caramail.com >

Re: orgbabel with fortran code

2021-05-05 Thread Eric S Fraga
On Wednesday, 5 May 2021 at 09:14, pie...@caramail.com wrote: > The code is fantastic, but how may I run it exactly? Using "C-c C-c" > tells me "'C-c C-c' can do nothing useful here". You may need to evaluate (require 'ob-fortran) in your init files. -- : Eric S Fraga via Emacs 28.0.50, Org

Re: orgbabel with fortran code

2021-05-05 Thread pietru
> Sent: Wednesday, May 05, 2021 at 6:52 PM > From: "Eric S Fraga" > To: pie...@caramail.com > Cc: "help Emacs Orgmode" > Subject: Re: orgbabel with fortran code > > On Wednesday, 5 May 2021 at 08:37, pie...@caramail.com wrote: > > Make a function and then run it with different values. > >

Re: orgbabel with fortran code

2021-05-05 Thread pietru
The code is fantastic, but how may I run it exactly? Using "C-c C-c" tells me "'C-c C-c' can do nothing useful here". > Sent: Wednesday, May 05, 2021 at 6:52 PM > From: "Eric S Fraga" > To: pie...@caramail.com > Cc: "help Emacs Orgmode" > Subject: Re: orgbabel with fortran code > > On

Re: Multiple calc commands with orgbabel

2021-05-05 Thread Dr. Arne Babenhauserheide
pie...@caramail.com writes: > Have been trying to execute multiple calc commands, but when I evaluate the > calc > expressions, I get just one result. could you try the header :results output? Best wishes, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken signature.asc

Re: orgbabel with fortran code

2021-05-05 Thread Dr. Arne Babenhauserheide
pie...@caramail.com writes: > Have been looking to find some examples on using orgbabel with fortran code > but have not found information. Fortran is listed as supported on https://orgmode.org/worg/org-contrib/babel/languages/index.html so I would hope that the standard tipps there apply.

Re: Bug: [PATCH] org-babel-tangle: persmission denied when tangling [9.4.5 (9.4.5-gbc2659 @ /home/n/.emacs.d/straight/build/org/)]

2021-05-05 Thread Bastien
Sébastien Miquel writes: > Here's another patch, to be applied on top of the previous one, that > fixes this. Applied, thanks. -- Bastien

Re: orgbabel with fortran code

2021-05-05 Thread Eric S Fraga
On Wednesday, 5 May 2021 at 08:37, pie...@caramail.com wrote: > Make a function and then run it with different values. Have a look at the attachment. Doesn't create a /function/ in the Fortran sense but shows how you can definitely call some code with different values. That's about all I can

Re: Bug: [PATCH] org-babel-tangle: persmission denied when tangling [9.4.5 (9.4.5-gbc2659 @ /home/n/.emacs.d/straight/build/org/)]

2021-05-05 Thread Sébastien Miquel
No Wayman writes: Another related bug to the changes: I have the :tangle header-arg set to evaluate some elisp to return the file name: org-babel no longer interprets this elisp. It is being used literally as the file name: e.g. Wrote /home/n/.emacs.d/(concat (file-name-sans-extension

Re: Multiple calc commands with orgbabel

2021-05-05 Thread pietru
> Sent: Wednesday, May 05, 2021 at 6:41 PM > From: "Eric S Fraga" > To: pie...@caramail.com > Cc: "help Emacs Orgmode" > Subject: Re: Multiple calc commands with orgbabel > > On Wednesday, 5 May 2021 at 08:40, pie...@caramail.com wrote: > >> ob-calc returns the top element of the stack when

Re: Bug: org-babel-tangle: persmission denied when tangling [9.4.5 (9.4.5-gbc2659 @ /home/n/.emacs.d/straight/build/org/)]

2021-05-05 Thread Bastien
Hi Sébastien, Sébastien Miquel writes: > It reverts a part of a2cb9b853: permissions are no longer set before writing > to the tangled file. Applied to master, thanks a lot. -- Bastien

Re: Multiple calc commands with orgbabel

2021-05-05 Thread Eric S Fraga
On Wednesday, 5 May 2021 at 08:40, pie...@caramail.com wrote: >> ob-calc returns the top element of the stack when finished and this will >> be the result of the last operation in the src block. I don't think >> there's any way around this. > > Is the top stack element just with ob-calc? I am

Re: Multiple calc commands with orgbabel

2021-05-05 Thread pietru
> Sent: Wednesday, May 05, 2021 at 6:33 PM > From: "Eric S Fraga" > To: pie...@caramail.com > Cc: "help Emacs Orgmode" > Subject: Re: Multiple calc commands with orgbabel > > On Wednesday, 5 May 2021 at 07:46, pie...@caramail.com wrote: > > Have been trying to execute multiple calc commands,

Re: orgbabel with fortran code

2021-05-05 Thread pietru
Make a function and then run it with different values. > Sent: Wednesday, May 05, 2021 at 6:24 PM > From: "Eric S Fraga" > To: pie...@caramail.com > Cc: "help Emacs Orgmode" > Subject: Re: orgbabel with fortran code > > On Wednesday, 5 May 2021 at 07:41, pie...@caramail.com wrote: > > Have

Re: Multiple calc commands with orgbabel

2021-05-05 Thread Eric S Fraga
On Wednesday, 5 May 2021 at 07:46, pie...@caramail.com wrote: > Have been trying to execute multiple calc commands, but when I > evaluate the calc expressions, I get just one result. ob-calc returns the top element of the stack when finished and this will be the result of the last operation in

Re: orgbabel with fortran code

2021-05-05 Thread Eric S Fraga
On Wednesday, 5 May 2021 at 07:41, pie...@caramail.com wrote: > Have been looking to find some examples on using orgbabel with fortran code > but have not found information. What is it you wish to do? -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.5-395-g82fbdd

Re: Notes about citations in Org (part 3)

2021-05-05 Thread Eric S Fraga
On Tuesday, 4 May 2021 at 21:04, András Simonyi wrote: > One issue I also noticed is the separation of citation > style and bibliography style, which does not exist in CSL. > Accordingly, it would be nice to have ways of specifying a single > style for both of them (both in the Org syntax and in