emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xi Shen <davidshen84@gmail.com>
To: Emacs-orgmode@gnu.org
Subject: Could org-babel-process-file-name support cygwin environment?
Date: Mon, 6 Jun 2016 20:37:33 +0800	[thread overview]
Message-ID: <CANO68EMjsUOORQ_EMWbm3mFJqPZP23VpS5KhA=xKccL19k_zWQ@mail.gmail.com> (raw)

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

                 reply	other threads:[~2016-06-06 12:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANO68EMjsUOORQ_EMWbm3mFJqPZP23VpS5KhA=xKccL19k_zWQ@mail.gmail.com' \
    --to=davidshen84@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).