unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* shell-quote-argument: make it behave as if on Unix?
@ 2002-04-10 13:46 Kai Großjohann
  2002-04-10 16:56 ` Eli Zaretskii
  2002-04-11 14:53 ` Richard Stallman
  0 siblings, 2 replies; 26+ messages in thread
From: Kai Großjohann @ 2002-04-10 13:46 UTC (permalink / raw)


The Tramp package sends commands to a remote Unix host.  These
commands sometimes include filenames, so I pass those through
shell-quote-argument.

But if the local Emacs is running on Windows, then
shell-quote-argument produces filenames which are correct for
Windows, and not for Unix.  But the filenames will be used on the
remote Unix host.

Is there a designed-in facility for telling shell-quote-argument to
behave as if on Unix, even if Emacs is running on Windows?

Or is shell-quote-argument the wrong function to use, altogether?

(Right now, I'm binding system-type before invoking
shell-quote-argument, but I'm afraid that is the wrong thing to do.
Also, I have to wait for a Windows user to check whether it works.)

kai
-- 
Silence is foo!

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2002-04-16 20:17 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-10 13:46 shell-quote-argument: make it behave as if on Unix? Kai Großjohann
2002-04-10 16:56 ` Eli Zaretskii
2002-04-10 21:10   ` Kai Großjohann
2002-04-10 21:29     ` Stefan Monnier
2002-04-12  3:11     ` Richard Stallman
2002-04-12  4:09       ` Stefan Monnier
2002-04-12 10:16         ` Eli Zaretskii
2002-04-12 11:43           ` Kim F. Storm
2002-04-12 15:18             ` Eli Zaretskii
2002-04-12 18:46           ` Stefan Monnier
2002-04-12 11:07   ` Kai Großjohann
2002-04-12 14:07     ` Kim F. Storm
2002-04-12 13:38       ` Kai Großjohann
2002-04-12 15:20         ` Eli Zaretskii
2002-04-12 16:55           ` Kai Großjohann
2002-04-12 18:51             ` Eli Zaretskii
2002-04-13 19:07               ` Richard Stallman
2002-04-13 19:18                 ` Kai Großjohann
2002-04-15 21:54                   ` Richard Stallman
2002-04-15 12:16                 ` Stefan Monnier
2002-04-16 20:17                   ` Richard Stallman
2002-04-11 14:53 ` Richard Stallman
2002-04-11 15:57   ` Kai Großjohann
2002-04-12 19:49     ` Richard Stallman
2002-04-16  9:25   ` Kai Großjohann
2002-04-16  9:35     ` Kai Großjohann

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

	https://git.savannah.gnu.org/cgit/emacs.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).