From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: swengtoo@my-deja.com (Swengtoo) Newsgroups: gmane.emacs.help Subject: shell problems after upgrading NTEmacs from 19.34 to 21.2 Date: 18 Oct 2002 07:03:41 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1034958130 25631 80.91.224.249 (18 Oct 2002 16:22:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2002 16:22:10 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 182Zt2-0006eq-00 for ; Fri, 18 Oct 2002 18:22:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 182Zqv-0001bW-00; Fri, 18 Oct 2002 12:19:57 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: 129.42.208.182 Original-X-Trace: posting.google.com 1034949821 29195 127.0.0.1 (18 Oct 2002 14:03:41 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 18 Oct 2002 14:03:41 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106172 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2696 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2696 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