From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: non-interactive shell
Date: Sun, 23 Mar 2008 06:20:20 +0200 [thread overview]
Message-ID: <utziyf4vv.fsf@gnu.org> (raw)
In-Reply-To: <y5mdneGapvlOPnjanZ2dnUVZ_qelnZ2d@sysmatrix.net>
> Date: Sat, 22 Mar 2008 19:27:04 -0600
> From: "B. T. Raven" <nihil@nihilo.net>
>
> Apparently it's not possible to make a new directory with:
>
> (shell-command (concat "md " path))
>
> where path is some string like
>
> "\\a\\b\\c"
It works for me. What happened on your machine, and which version of
Emacs did you use?
> Is it possible at all to make a directory under the default-directory
> with elisp and using a variable rather than a literal string.
Of course, it is. But I'd suggest to use Emacs primitives instead of
an external command:
(make-directory path t)
next prev parent reply other threads:[~2008-03-23 4:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-23 1:27 non-interactive shell B. T. Raven
2008-03-23 4:20 ` Eli Zaretskii [this message]
[not found] ` <mailman.9354.1206246069.18990.help-gnu-emacs@gnu.org>
2008-03-23 18:34 ` B. T. Raven
2008-03-23 19:59 ` Drew Adams
2008-03-23 20:38 ` Eli Zaretskii
[not found] ` <mailman.9361.1206304747.18990.help-gnu-emacs@gnu.org>
2008-03-24 22:16 ` B. T. Raven
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=utziyf4vv.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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.
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).