emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Could org-babel-process-file-name support cygwin environment?
@ 2016-06-06 12:37 Xi Shen
  0 siblings, 0 replies; only message in thread
From: Xi Shen @ 2016-06-06 12:37 UTC (permalink / raw)
  To: Emacs-orgmode

Hi,

I have been using the latest version of the Emacs in cygwin
environment for a long time. Recently, I want to use the sql source
environment in the org-mode.

But I got some error from the "osql" tool on Windows environment. I
did some investigation, and I believe it is because this tool cannot
handle the input and output path Emacs handled to it in Unix form.

I checked the code,
https://github.com/jwiegley/org-mode/blob/fdd9b18598239dd0e8b18383ac930110d51ed22e/lisp/ob-sql.el#L115,
it will directly pass the path generated from
"org-babel-process-file-name" to osql, but
"org-babel-process-file-name" did not take cygwin environment into
account neither.

I think it would be very helpful if the "org-babel-process-file-name"
check the cygwin environment, and map the path using the "cygpath"
tool beforehand.


Thanks,
David

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-06 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-06 12:37 Could org-babel-process-file-name support cygwin environment? Xi Shen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).