Number: 2136

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

Submitter: Sannella.PA

Source: Dietterich.pa

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

Assigned To: 

Attn: 

Status: Fixed

In/By: 

Problem Type: Design - UI

Impact: Minor

Difficulty: 

Frequency: 

Priority: Perhaps

System: Programming Environment

Subsystem: DWIM

Machine: 1132

Disk: 

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'
From': Dietterich.pa'
Subject': Lisp': DWIM should always try UPCASEing atoms'
To': LispSupport.pa'
cc': Dietterich.pa'
'
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.'
'
--Tom'
'
-----'
'
Date': 13 SEP 84 00':16 PDT'
From': MASINTER.PA'
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.'
'


Workaround: 

Test Case: 

Edit-By: Sannella.PA

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