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: 5 Nov 2002 11:17:26 -0800 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 1036524508 6319 80.91.224.249 (5 Nov 2002 19:28:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2002 19:28:28 +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 1899N5-0001cp-00 for ; Tue, 05 Nov 2002 20:28:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 1899Nd-0006Ga-00; Tue, 05 Nov 2002 14:28:53 -0500 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 1036523846 16968 127.0.0.1 (5 Nov 2002 19:17:26 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 5 Nov 2002 19:17:26 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106773 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:3327 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3327 swengtoo@my-deja.com (Swengtoo) wrote in message news:... > 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? > I finally solved the problem (thanks to single-step lisp debugging in Emacs): My shell customization code was conditioned by (eq window-system 'win32). Well, guess what? in Emacs 19.34 window-system contained "win32" for the NTEmacs environment, but now in Emacs 21.2 window-system returns now "w32". That's what has changed. I wish I could have read it somewhere in the news without having to go through this debug effort (I am not a lisp programmmer). Anyway, now the problem is solved, thank you everybody and I hope that this tip will help someone. Swengtoo