From xemacs-m  Tue Aug  5 20:33:12 1997
Received: from cs.sunysb.edu (sbcs.sunysb.edu [130.245.1.15])
	by xemacs.org (8.8.5/8.8.5) with SMTP id UAA17391
	for <xemacs-beta@xemacs.org>; Tue, 5 Aug 1997 20:33:11 -0500 (CDT)
Received: from sbkifer.cs.sunysb.edu (sbkifer.cs.sunysb.edu [130.245.1.35]) by cs.sunysb.edu (8.6.12/8.6.9) with SMTP id VAA19995 for <xemacs-beta@xemacs.org>; Tue, 5 Aug 1997 21:32:26 -0400
Message-Id: <199708060132.VAA19995@cs.sunysb.edu>
X-Authentication-Warning: sbcs.cs.sunysb.edu: Host sbkifer.cs.sunysb.edu didn't use HELO protocol
From: kifer@CS.SunySB.EDU (Michael Kifer)
To: xemacs-beta@xemacs.org
Subject: help-char weirdness
Date: Tue, 05 Aug 1997 21:32:25 -0400
Sender: kifer@CS.SunySB.EDU


It appears that when somebody makes a mistake setting help-char, xemacs
does a strange thing. For instance

(progn
  (setq zap-map (make-sparse-keymap))
  (setq help-char "?")

  (use-global-map zap-map)
  (unwind-protect
      (read-key-sequence ">>" )
    (use-global-map global-map))
  )
  
Type any character at the prompt ">> " and you get an error:

    Wrong type argument, characterp "?"

Why can't xemacs handle this gracefully?

Also, can somebody explain to me why this error shows up only when trying
to read-key-sequence with an empty global map?




	--michael  

