Re: Combining ob-sql, docker-tramp, and tramp ssh?

2020-10-21 Thread Tim Cross
I have done something very similar, but with a few differences which might help. In my case, I didn't use tramp, but instead used ssh tunnels that I defined in my ssh config file e.g. Host wdb-dev HostName dev-example.com User fred LocalForward localhost:3330 localhost:5432 Host wdb-prod

Combining ob-sql, docker-tramp, and tramp ssh?

2020-10-21 Thread Jay Zawrotny
I've been using ob-sql to document & prune our dev db and it's been amazing. https://media.discordapp.net/attachments/428916969861808130/768589313964507166/image0.gif The only rough edge has been that I have to expose the SQL ports to my host, forward it over ssh (I'm using a remote machine to of

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

2020-10-21 Thread Dante Catalfamo
In the case where I'm using this formula, there are many more rows between @I..@II. I only used two in the example to keep the email small. I would also be adding more rows regularly, making it slightly impractical to be adjusting the beginning and end points of the formula every time I add or remo

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-10-21 Thread Daniele Nicolodi
Hello, after working on this I realized that the org-tbl-calc-modes variables is used only locally despite being declare globally. Maybe a remnant from pre-lexical-binding times. Attached is a patch (on top of the others one in this thread) that simplifies things a little. Cheers, Dan On 20/10/

Bug: org-insert-heading-respect-content before first heading [9.4 (9.4-19-gb1de0c-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20201019/)]

2020-10-21 Thread Gustavo Barros
Hi All, I just found a misbehaving of `org-insert-heading-respect-content': when it's called before the first heading in the buffer, it breaks the structure of that fist heading by inserting a new heading on the line the previous heading existed. An ECM to reproduce the issue is: - Start 'e

Re: [PATCH] ob-java

2020-10-21 Thread John Herrlin
ian martins writes: >> >> What do you think about having a configurable list where the user can >> add =org-babel-java--import-maybe=? In my current use case I could then >> add RxJava imports to that list and the imports could be removed from >> the source code block. > > > I think this can al

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: [PATCH] ob-java

2020-10-21 Thread ian martins
> > What do you think about having a configurable list where the user can > add =org-babel-java--import-maybe=? In my current use case I could then > add RxJava imports to that list and the imports could be removed from > the source code block. I think this can already be done. imports can be add

Interview with Rainer König - who's content made me go from vim to emacs for coding :D

2020-10-21 Thread Martin Schröder
Today I had the chance to do a lengthy interview with Rainer König who is known for creating a very popular Org Mode course. The first part is about how Rainer got started and the story of how Org Mode saved his life during a very difficult time: https://www.youtube.com/watch?v=L_DYO0_eJ6A In the