From: Vagn Johansen <gonz808@hotmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Working with different projects in Emacs
Date: Tue, 14 Apr 2009 19:23:59 +0200 [thread overview]
Message-ID: <m27i1ngndc.fsf@hotmail.com> (raw)
In-Reply-To: 4558f167-0e4f-4df6-8dd4-5cdeda7a6d93@v23g2000pro.googlegroups.com
rustom <rustompmody@gmail.com> writes:
> You need to quote the file name in
> (format "%s --members --output=\"%s\" -" "etags" (vps-tags-
> filename)))))
> in function vps-make-tags
>
> [I am on windows and every single path is 'spaced-out' c:Documents and
> Settings/... gets chopped to C:/Documents]
Yes. I need to call shell-quote-argument when constructing the command
line
...
(shell-command-on-region (point-min) (point-max)
(format "%s --members --output=%s -" "etags"
(shell-quote-argument (vps-tags-filename))))
I have uploaded a new version with better support for spaces file and
directory names.
I have not run into this before because on windows I always set the
HOME environment variable to something like c:/vj. Emacs then looks
after .emacs in HOME (~/.emacs -> c:/vj/.emacs). I don't want my home
directory and ~ in Emacs to be c:/Document And Settings...<stuff I
cannot remember>... .
--
Vagn Johansen
next prev parent reply other threads:[~2009-04-14 17:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4901.1239203083.31690.help-gnu-emacs@gnu.org>
2009-04-08 18:56 ` Working with different projects in Emacs Vagn Johansen
2009-04-09 13:44 ` rustom
2009-04-09 19:45 ` Vagn Johansen
2009-04-11 15:30 ` rustom
2009-04-11 15:51 ` rustom
2009-04-11 18:30 ` Vagn Johansen
2009-04-12 8:56 ` rustom
2009-04-12 16:26 ` Vagn Johansen
2009-04-14 15:00 ` rustom
2009-04-14 17:23 ` Vagn Johansen [this message]
2009-04-15 10:29 ` Stefan Kamphausen
2009-04-08 18:10 grischka
-- strict thread matches above, loose matches on Subject: below --
2009-04-08 12:50 Damian
2009-04-08 15:59 ` Drew Adams
2009-04-08 18:21 ` Damian
2009-04-08 18:44 ` Drew Adams
2009-04-08 19:13 ` Damian
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m27i1ngndc.fsf@hotmail.com \
--to=gonz808@hotmail.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.