unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: swengtoo@my-deja.com (Swengtoo)
Subject: shell problems after upgrading NTEmacs from 19.34 to 21.2
Date: 18 Oct 2002 07:03:41 -0700	[thread overview]
Message-ID: <b72a5ae6.0210180603.649a2824@posting.google.com> (raw)

Greetings,
I just bit the bullet and upgraded my NTEmacs from version 19.34 to
version 21.2.

The new (ver. 21.2) NTEmacs is wonderful, but for some reason the
shell command doesn't invoke cygwin's bash as it used to do for me
under ver. 19.34. Instead, it invokes Windows command shell (via
cmdproxy.exe, I'm using W2K). I follow the instructions in
http://www.gnu.org/software/emacs/windows/faq7.html#shell exactly, but
that doesn't seem to help.

Here is an execrpt from my .emacs file (that's been working perfectly
for the past 4 years and hasn't changed since then) relevant to the
subject:


	(progn ; not really win, just bash under win.
	  (setq shell-file-name "sh")
	  (setq explicit-shell-file-name shell-file-name)
	  (setq explicit-sh-args '("-login" "-i"))
	  (setq shell-command-switch "-c")
	  (setq archive-zip-use-pkzip nil)
	  (setenv "SHELL" shell-file-name)
	  (setq win32-quote-process-args t)
	  (setq win32-enable-italics t)
	  (setq comint-process-echoes nil)
	  (setq hexlify-command "//c/EMACS-21.2/bin/hexl -hex ")
	  (setq dehexlify-command "//c/EMACS-21.2/bin/hexl -de -hex ")
	  )


Has anyone encountered this problem before? Do you know about
something that has changed and is missing from the above code? I know
I can "play" with the SHELL registry entry for emacs, but the
documentation clearly says that if I want to avoid that I can use
(setq explicit-shell-file-name shell-file-name).

Many thanks in advance!
Swengtoo

             reply	other threads:[~2002-10-18 14:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-18 14:03 Swengtoo [this message]
2002-10-21  7:11 ` shell problems after upgrading NTEmacs from 19.34 to 21.2 Bernd Wolter
2002-10-24 16:39   ` Swengtoo
2002-10-25  6:08     ` maierh
2002-10-25 13:10       ` Swengtoo
2002-11-05 19:17         ` Swengtoo
2002-11-05 22:33           ` Jason Rumney

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=b72a5ae6.0210180603.649a2824@posting.google.com \
    --to=swengtoo@my-deja.com \
    /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).