Number: 2136

Date: 11-Sep-84 11':17':16

Submitter: Sannella.PA


Subject: DWIM should always try UPCASEing atoms if they are unbound

Assigned To: 


Status: Fixed


Problem Type: Design - UI

Impact: Minor



Priority: Perhaps

System: Programming Environment

Subsystem: DWIM

Machine: 1132


Lisp Version:  8-Sep-84 01':22':25

Source Files: 

Microcode Version: 5124

Memory Size: 4096

File Server: 

Server Software Version: 

Disposition: '
["Sannella.PA" "13-Sep-84 09':51':57" Attn': Status':(Open->Fixed) Description':]

Description: '
Date':  7 Sep 84 19':08 PDT'
Subject': Lisp': DWIM should always try UPCASEing atoms'
Lisp System Date':  7-Sep-84 05':03':45'
Machine': Dorado (Shrager)'
Microcode version': 24,4'
Memory size': 10000'
Frequency': Always'
Impact': Very annoying!'
DWIM performs all kinds of wonderful corrections, but it should always try upcasing the atom and see if it is defined.  My guess is that 50% of my typos are of this form.  In my own environment, I''ve added a DWIMUPCASE function to DWIMUSERFORMS that will correct typed-in atoms if they have a binding.  I''ve also added an "ok" LISPXMACRO to handle my most frequently mistyped word.'
Date': 13 SEP 84 00':16 PDT'
Subject': ar#2136, DWIM should uppercase variables'
To':   LispSupport'
cc':   Dietterich, masinter'
I have fixed this and the (only slightly related) other problem reported in the same AR (about OK not being a candidate for spelling correction)':'
DWIM as a special case when looking for variables will try the upper-case version of an atom even if it is not on the spelling list (this was true for functions)'
I also fixed it so that OK was on the spelling list of LISPX commands.'


Test Case: 

Edit-By: Sannella.PA

Edit-Date: 13-Sep-84 09':51':58