From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: w32 emacs 21.3 problem Date: Wed, 9 Aug 2006 19:03:47 -0500 Organization: UseNetServer.com Message-ID: <73dbc$44da77b7$49f1194$17962@DIALUPUSA.NET> References: <1155140985.141253.264170@i42g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1155170437 18494 80.91.229.2 (10 Aug 2006 00:40:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Aug 2006 00:40:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 10 02:40:35 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GAyb7-0002UX-Qe for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Aug 2006 02:40:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GAyb7-0003rH-CD for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Aug 2006 20:40:29 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!news.glorb.com!atl-c08.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!DIALUPUSA.NET!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@usenetserver.com Original-Lines: 65 Original-X-Trace: 73dbc44da77b7a13ab43117962 Original-Xref: shelby.stanford.edu gnu.emacs.help:140956 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36581 Archived-At: wrote in message news:1155140985.141253.264170@i42g2000cwa.googlegroups.com... B. T. Raven wrote: > After getting a "Invalid VxD dynamic link error ..." on a win98 > installation, I reinstalled windows (conservatively) and tried a few other > things to no avail. Pulling and replacing a memory stick fixed the win98 > problem but now I see a debug backtrace instead of getting the .emacs > functionality: > > Debugger entered--Lisp error: (void-variable k) > ;; my comment: variable k is some artifact. There is none such in the > .emacs > eval-buffer(# nil "~/.emacs" nil t) > load-with-code-conversion("d:/EMACS/.emacs" "~/.emacs" t t) > load("~/.emacs" t t) > #[nil ",T > ... > > The .emacs starts with: > > ;; -*- coding: utf-8 -*- > > and has many exotic characters in it and I suspect that I may have wiped > out some of the .nls codepage files that are needed for unicode support. > The registry, though, looks like they are still installed. > > Emacs is invoked in a batch file if that makes a difference: > > set HOME=D:\EMACS > D:\emacs\emacs-21.3\bin\runemacs.exe --debug-init > set HOME= > > And running Alt-! and then the dos set command shows that HOME=D:\EMACS is > being set correctly in this shell so I'm reading the .emacs that I think I > am. > > Before my memory problems this .emacs has been working flawlessly (mostly) > for many months. > > Does any of you have any ideas on where I can start looking for a > solution? Start by seeing if emacs -Q works, if so then it's something in your .emacs file at least triggering the bug. Then you can proceed by chopping your .emacs file in half. Comment the bottom half out, see if it works, then try with the top half commented out. Then split the offending half into halves and continue until you find the line triggering the behaviour. Thanks, Robert. On my system I have to use -q instead of -Q for --no-init-file. I knew that that would work since even with the bad .emacs it would load the main program normally. I started commenting out sections but almost right away I found a letter k and the beginning of a line before the open paren. I had looked for space-k since I thought k had to be a token. Alles in Ordnung now. Thanks again. Ed.