emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ob-shell intentions and paperwork (was Bash results broken?)


From: Matt
Subject: Re: ob-shell intentions and paperwork (was Bash results broken?)
Date: Fri, 30 Dec 2022 13:46:00 -0500
User-agent: Zoho Mail

 ---- On Fri, 30 Dec 2022 00:34:38 -0500  Matt  wrote --- 
 > 
 >  ---- On Thu, 29 Dec 2022 06:08:59 -0500  Ihor Radchenko  wrote --- 

 >  > > From: Matt Trzcinski matt@excalamus.com>
 >  > > +(require 'org-test (expand-file-name "../org-test.el"))
 >  > 
 >  > I am unsure here. What will happen if you run this file from
 >  > default-directory not the same with file location?

I was mistaken.  Loading a new Emacs instance and running `(load 
"/path/to/test-ob-shell.el")' fails with file-missing error.  I'm content to 
leave that alone for now.

I've backed out the `require' change and adjusted everything else based on your 
feedback.  There is a separate patch for each refactor that created a new test. 
  The remaining refactors are in a single patch.  I was also able to resolve 
the issue I had with inserting the test name for the session (the "yes" string 
in `test-ob-shell/session').  The issue with `org-babel-shell-initialize' still 
stands but is outside the scope of these patches and isn't dealt with here.

Attachment: 0001-test-ob-shell.el-Split-test-ob-shell-dont-error-on-e.patch
Description: Binary data

Attachment: 0002-test-ob-shell.el-Refactor-test-ob-shell-session.patch
Description: Binary data

Attachment: 0003-test-ob-shell.el-Refactor-ob-shell-generic-uses-no-a.patch
Description: Binary data

Attachment: 0004-Refactor-ob-shell-bash-uses-assoc-arrays.patch
Description: Binary data

Attachment: 0005-test-ob-shell.el-Refactor-test-names-and-kill-test-b.patch
Description: Binary data

Attachment: 0006-ob-shell-test.org-Remove-ob-shell-test.org.patch
Description: Binary data

Attachment: 0007-test-ob-shell.el-Organize-tests.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]