Hello, all. I would like to contribute this tweak that I have been using in my
personal config (though in the form of advice).
As with Python, in Ruby there is significant need to be able to specify the
Ruby command invoked. For instance when managing dependencies with Bundler
(which is very
Using the :ruby header arg.
* lisp/ob-ruby.el (org-babel-execute:ruby): Locally set
`org-babel-ruby-command' using a header argument.
TINYCHANGE
---
lisp/ob-ruby.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lisp/ob-ruby.el b/lisp/ob-ruby.el
index 669c2eabf..80870c6c0 100644
---
Hello,
attached there are a few patches reworking the code, fixing the bug, and
introducing a new mode flag to enable Calc's units simplification mode
as discussed in a recent thread on the mailing list. I haven't updated
the documentation. I can do it once we agree that this feature is a
good i
Just to say that I have done a quick test with this and I really like
it. Simple calculations with units of mol/s and mol/min work perfectly.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4-61-ga88806.dirty
On 20/10/2020 15:44, Eric S Fraga wrote:
> Just to say that I have done a quick test with this and I really like
> it. Simple calculations with units of mol/s and mol/min work perfectly.
Thank you for testing Eric.
To cover the use case of monetary quantities discussed in the other
thread I woul
Hello again,
Following up on myself. I'm seeing some strange behaviour although unit
calculations are working nicely. For instance, this table:
#+begin_src org
| stream | a| b| c| total|
x_a | x_b | x_c |
| | |
On Tuesday, 20 Oct 2020 at 16:00, Daniele Nicolodi wrote:
> To cover the use case of monetary quantities discussed in the other
> thread I would like to also add an `m?` (or M?) flag that can combine
> the effect of the existing `f?` flag and the new `u` flag. But I don't
> know if sparing one char
On 20/10/2020 16:19, Eric S Fraga wrote:
> Hello again,
>
> Following up on myself. I'm seeing some strange behaviour although unit
> calculations are working nicely. For instance, this table:
>
> #+begin_src org
> | stream | a| b| c| total|
>
On 20/10/2020 16:32, Daniele Nicolodi wrote:
> On 20/10/2020 16:19, Eric S Fraga wrote:
>> Hello again,
>>
>> Following up on myself. I'm seeing some strange behaviour although unit
>> calculations are working nicely. For instance, this table:
>>
>> #+begin_src org
>> | stream | a
On Tuesday, 20 Oct 2020 at 16:53, Daniele Nicolodi wrote:
> There are other funny Calc behaviors: if an expression results in a
> number with an unit where the numerical part is exactly 1, the printed
> result looses the numerical part and only the units are printed.
Yes, this I'm used to (and it
On Tuesday, 20 Oct 2020 at 16:32, Daniele Nicolodi wrote:
> This may be because the org substitutes a "0" for the missing value,
> thus an integer.
This makes sense. Thank you.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4-61-ga88806.dirty
Hey Ian,
The changes list looks really nice!
But I can't get the patch to work.
The use case I have is this and it works fine in master.
#+HEADER: :classname Main
#+HEADER: :dir src
#+HEADER: :cmdline -classpath ./rxjava-1.3.8.jar:.
#+HEADER: :cmpflag -classpath ./rxjava-1.3.8.ja
Hey,
Did some debugging and found out that my class didn't contained =public=
and the patch requires it to be.
This works fine:
#+HEADER: :classname Main
#+HEADER: :dir src
#+HEADER: :cmdline -classpath ./rxjava-1.3.8.jar:.
#+HEADER: :cmpflag -classpath ./rxjava-1.3.8.jar
#+BEGI
Hello,
I'm trying to create a table where the third column between two hlines is set
by a formula referencing the second column.
Here is an example:
| a | b | c |
|---+---+|
| row 1 | 12.00 | 144.00 |
| row 2 | | 23.00 |
|---+---+|
| sum | 1
Thanks for testing, and thanks for pointing that out. I will fix it so that
`public` is optional.
btw, in your example you didn't have to specify `:classname` since you
defined the class name in the source block.
btw2, did you notice that you can C-c C-c on source blocks that don't have
main meth
I did and it looks really good. The difference in this example:
#+BEGIN_SRC java
import rx.Observable;
Observable.range(5, 3)
.subscribe((Integer i) -> { System.out.println("Got: " + i); },
(Throwable t) -> { t.printStackTrace();},
16 matches
Mail list logo