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: Re: shell problems after upgrading NTEmacs from 19.34 to 21.2 Date: 25 Oct 2002 06:10:37 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035551777 4713 80.91.224.249 (25 Oct 2002 13:16:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2002 13:16:17 +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 1854Jz-0001DX-00 for ; Fri, 25 Oct 2002 15:16:15 +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 1854KI-0007gZ-00; Fri, 25 Oct 2002 09:16:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 129.42.208.182 Original-X-Trace: posting.google.com 1035551438 30574 127.0.0.1 (25 Oct 2002 13:10:38 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 25 Oct 2002 13:10:38 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106375 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:2925 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2925 maierh@myself.com wrote in message news:... > > You should try this within the '*scratch*' buffer with > > emacs -q > > Shell handling has changed from emacs-20 to emacs-21. You only need > the SHELL environment variable or set the variable shell-file-name. > Thank you so much for the breakthrough in troubleshooting this. Indeed, I invoked 'emacs -q' and in the *scratch* buffer I typed: (setenv "SHELL" "/bin/sh.exe") and then executed and bingo - it worked! But now I need to know why the same statement wouldn't work from my .emacs - is it possible that evaluation stops prior to reaching this statement (again, only in 21.2, not in 19.34...). If this is the case, then I am even more puzzled since I encapsulated my original .emacs within the following: (setq debug-on-error t) < original .emacs > (setq debug-on-error nil) to enable debug - and emacs does not report ANY errors. What am I missing here? Thank you so much! Swengtoo