unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: zvrba.external@zvrba.net, 8132@debbugs.gnu.org
Subject: bug#8132: 23.1; comint shell replaces \ in paths with /
Date: Tue, 01 Mar 2011 05:54:50 +0200	[thread overview]
Message-ID: <83sjv7mr5h.fsf@gnu.org> (raw)
In-Reply-To: <jwvipw33gsa.fsf-monnier+emacs@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Zeljko Vrba <zvrba.external@zvrba.net>,  8132@debbugs.gnu.org
> Date: Mon, 28 Feb 2011 18:04:19 -0500
> 
> Maybe the best way is for shell.el to burp or warn the user that she
> would be better served by eshell.  But maybe file completion in shell.el
> should be tweaked to not turn \ into / in that case.

It could be easier to make a wrapper around the file completion, which
would simply convert all / into \ when the result is inserted into the
shell buffer.  That's because working with / is very basic in
file-name completion, and reaches deep into the code and the
primitives it uses.





  reply	other threads:[~2011-03-01  3:54 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27 13:27 bug#8132: 23.1; comint shell replaces \ in paths with / Zeljko Vrba
2011-02-28  3:32 ` Stefan Monnier
2011-02-28 14:59   ` Zeljko Vrba
2011-02-28 15:47     ` Lennart Borgman
2011-02-28 17:47       ` Zeljko Vrba
2011-02-28 17:57         ` Lennart Borgman
2011-02-28 22:05           ` Zeljko Vrba
2011-02-28 22:32             ` Lennart Borgman
2011-02-28 18:34     ` Eli Zaretskii
2011-02-28 22:10       ` Zeljko Vrba
2011-02-28 23:04       ` Stefan Monnier
2011-03-01  3:54         ` Eli Zaretskii [this message]
2011-03-01  4:48           ` Stefan Monnier
2011-03-01  7:06           ` zvrba
2011-03-01  9:02           ` Michael Albinus
2011-03-01 18:27             ` Eli Zaretskii
2011-03-02  8:42               ` Michael Albinus
2011-03-02 18:41                 ` Eli Zaretskii
2011-03-03  9:31                   ` Michael Albinus

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=83sjv7mr5h.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=8132@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=zvrba.external@zvrba.net \
    /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.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).