Re: [BUG] ob-shell: cmdline and stdin broken when used with TRAMP

2022-06-23 Thread Ihor Radchenko
Bruno Barbier writes: > From what I understand, the function 'org-babel-sh-evaluate' relies on > 'call-process'; and that function ignores file name handlers; as TRAMP > relies on those file name handlers, it just cannot do the right thing. > > Using 'process-file' instead works for me. > > See t

Re: [BUG] org-agenda-skip fails in batch mode because comment-start-skip is nil

2022-06-23 Thread Ihor Radchenko
Asilata Bapat writes: > Ihor Radchenko writes: >> Could you please provide a detailed reproducer? > > Sure. I have attached the files "mwe-data.org" and "mwe-export.org". > > To reproduce, save both files in the same directory. Then open > mwe-export.org, navigate to the "Export script" heading

Re: [PATCH] oc-basic.el: Stringify year from CSL-JSON date-parts

2022-06-23 Thread Ihor Radchenko
David Lukes writes: > * lisp/oc-basic.el (org-cite-basic--parse-json): Make sure year > extracted from date-parts is returned as string. Raise error if > original type other than number or string. Thanks! Applied onto bugfix via 05626952b. Note that the total LOC of your contributions is exce

Re: [PATCH] org.el (org-read-date): Point to Info documentation

2022-06-23 Thread Ihor Radchenko
Robert Pluim writes: > I was just about to start implementing calendar navigation commands > for org-read-date, except that they all already exist :-). Theyʼre > just not documented in the docstring, only in the manual. Patch > adding a cross-reference attached. Thanks! Applied onto main via 2b1

Re: Missing from Info

2022-06-23 Thread Ihor Radchenko
Colin Baxter writes: > M-: produces "/home//git/org-mode/doc/" > > Is it not that the org version has indeed further sections beneath, but > these are not visible on the single info page? I feel that I am confused. Can you elaborate what exactly you expected and what you see instead? Best, Ihor

Re: Missing from Info

2022-06-23 Thread Ihor Radchenko
Colin Baxter writes: > I think that this potentially confusing to someone unfamiliar in the > format of an info file. I had thought of suggesting the line be changed > to "The next sections have further details." That suggestion however is > no better that what is in place already. I do not see

Re: [BUG] random org-mode warning [9.5.4 (9.5.4-g7c61a3 @ /home/cro/.emacs.default/straight/build/org/)]

2022-06-23 Thread Cristi Constantin
Hi Ihor, Than you for the response! I tried the fix you suggested, but I still see this: Warning (org-element-cache): org-element--cache: Org parser error in 2022-log.org::179869. Resetting.  The error was: (error "Invalid search bound (wrong side of point)")  Backtrace: "  backtrace-to-stri

Re: Missing from Info

2022-06-23 Thread Colin Baxter
> Ihor Radchenko writes: > Colin Baxter writes: >> I think that this potentially confusing to someone unfamiliar in >> the format of an info file. I had thought of suggesting the line >> be changed to "The next sections have further details." That >> suggestion however is

Re: Org and Hyperbole

2022-06-23 Thread Samuel Banya
I'll be honest, every time I've ever seen Hyperbole attempted to be explained, it goes over my head in 2 seconds. It seems like something akin to Acme where its mouse driven button events that trigger other things to occur. Could never find a single solid video that dumbed down Hyperbole to mak

Re: [PATCH] Re: [BUG] Adding note to heading without newline at the end

2022-06-23 Thread Samuel Banya
Hey Ihor, I can check it out on the weekend, sounds like fun. Will step through the debugger to see what's up and get back to you on this, thanks for tagging me on this. On Wed, Jun 22, 2022, at 10:28 AM, Tor Kringeland wrote: > Ihor Radchenko writes: > > > Confirmed. > > > > Samuel, do you w

Re: Org and Hyperbole

2022-06-23 Thread Eduardo Ochs
On Wed, 22 Jun 2022 at 11:36, Bill Burdick wrote: > > Here's a hyperbole-org integration that lets you use org-mode tables outside > of org-mode files. Shift-middle-click a "recalc" button and it will > recalculate the table right under it (this idea is from an old version of the > Oberon envir

Re: Org and Hyperbole

2022-06-23 Thread Samuel Wales
i was indeed aware that one can dig into hyperbole's manual and load it and keep using it for lots of buffers alongside org. i first learned about hyperbole in the 1990s or so and it seemed rather neat and it seems intriguing still. but that is not the model i was talking about in my post. [ther

Re: Org and Hyperbole

2022-06-23 Thread Samuel Wales
[p.s. it also was not the topic i was talking about in my post. :] i was talking about specific features of links.]

Using exec functions to simplify session code

2022-06-23 Thread Ivar Fredholm
I have been browsing the orgmode code and it feels like we have to do a lot to implement sessions. At least for Python or Julia, I am wondering if we could instantiate an interpreter, and send the code as a single 'exec' or 'include' command. Other languages like R and groovy also have facilitie

Re: Using exec functions to simplify session code

2022-06-23 Thread Tim Cross
Ivar Fredholm writes: > I have been browsing the orgmode code and it feels like we have to do a lot > to implement sessions. At least for Python > or Julia, I am wondering if we could instantiate an interpreter, and send the > code as a single 'exec' or 'include' > command. Other languages li

Re: Using exec functions to simplify session code

2022-06-23 Thread Ivar Fredholm
Hi, Tim, Let's say in your example that we are executing Python cells with the same session. When you execute block 1, the routines in org-babel-execute-src-block process the code into something that can be inserted into a file (say 'tmp_code.py') and be run from the command line with python3 tm

Re: Org and Hyperbole

2022-06-23 Thread Robert Weiner
Hi: Thanks to Juan for starting this thread and the interesting conversation it has started. I just joined this mail list, so I don't have the prior messages and can't reply to the thread, so I have started this new one. I am the author of Hyperbole and would be happy to answer questions concern

Re: Org and Hyperbole

2022-06-23 Thread Robert Weiner
For reference: Hyperbole Videos are here: https://www.youtube.com/channel/UCNRwswKKpjOlOVfFTS73P9A/videos The Hyperbole Home Page is here: https://www.gnu.org/software/hyperbole/ Just to look at if you don't want to interact with it, the Hyperbole FAST-DEMO file is here: https://www.gnu.or

Re: Org and Hyperbole

2022-06-23 Thread Eduardo Ochs
On Thu, 23 Jun 2022 at 22:47, Robert Weiner wrote: > > I am the author of Hyperbole and would be happy to answer questions > concerning Hyperbole today (so you don't have to answer based on > experience from the 1990s). Hyperbole has been modernized for use > with Org mode and Emacs 28 and contin

Re: Org and Hyperbole

2022-06-23 Thread Robert Weiner
Typically: {M-x package-install RET hyperbole RET} {M-x hyperbole-mode RET} is enough to install the stable, V8 version of Hyperbole to try out. If you are more advanced and want to try out the in-development version that corresponds to the git tip of the Hyperbole master branch, this is availabl

Re: Org and Hyperbole

2022-06-23 Thread Robert Weiner
Hi Eduardo: I hope you'll take another look. (hyperbole-mode 0) disables the Hyperbole minor mode and all of its key bindings. The global binding {C-h h} is left in place so that you can quickly re-enable Hyperbole's minor mode and display its navigational minibuffer menu (where quick keys let y

Re: Org and Hyperbole

2022-06-23 Thread Samuel Wales
hi robert, welcome to the org list and thanks for your offer. for starters, does hyperbole have any concept of links that are: - unbreakable [like org-id] - bidirectional [link a goes to link b; link b goes to link a], or, reversible via command to say "what links here?" [by any mechanism. if de

Re: Org and Hyperbole

2022-06-23 Thread indieterminacy
On 24-06-2022 01:36, Samuel Wales wrote: [p.s. it also was not the topic i was talking about in my post. :] i was talking about specific features of links.] I use (general) links functionality that hyperbole provides inside my emacs shell. Apologies for not matching your specificity. -- J

Re: Org and Hyperbole

2022-06-23 Thread Tim Cross
Hi Robert, welcome to the list. I find hyperbole very interesting and am trying it out now. I can see a few areas where I think it may augment my current org based workflows and development tasks. One thing I will be looking at is how well hyperbole works with an evil-mode based configuratio