Number: 945

Date:  3-May-84 12':44':57

Submitter: JonL.pa

Source: JonL.pa

Subject: DEdit CAP command merely RAISEs

Assigned To: 

Attn: Sheil

Status: Fixed

In/By: 

Problem Type: Bug

Impact: Annoying

Difficulty: Easy

Frequency: Everytime

Priority: Perhaps

System: Programming Environment

Subsystem: Code Editor

Machine: 1100

Disk: 

Lisp Version: 25-Apr-84 20':38':55

Source Files: 

Microcode Version: 5121

Memory Size: 3584

File Server: 

Server Software Version: 

Disposition: Bug was in the TeleType editor CAP macro (which DEdit calls directly). The original AR was wrong in that CAP did not work in the Teletype editor either.'
["sheil" "12-Sep-84 11':29':16" Status':(Open->Fixed) Disposition': Description': Workaround':]

Description:  DEdit CAP command fails to call (L-CASE <mumble> T) after raising;  TeleType editor CAP command works correctly. [This was incorrect until the CAP editmacro was changed 12 sep 84 - bas]'
'
-----'
'
Date': 10 May 84 17':50 PDT'
From': dietterich.pa'
Subject': Lisp': Dedit'
To': LispSupport.pa'
cc': dietterich.pa'
Lisp-System-Date':  9-Apr-84 18':28':19'
Machine-Type': Dandelion'
'
The CAP subcommand under EditCom is almost useless as far as I can see.  It would be much more useful if it could accept an ATOM as an argument and Capitalize only the first letter of the atom and lowercase all the rest of the letters.  From the documentation in the manual, this is what one would expect (it is also how LOWER and RAISE appear to work).  When given a list, CAP should either only affect the first element of the list or else capitalize only the first character of the first atom and lowering all of the remaining atoms.'
'
--Tom'
'
-----'
'
mjs 5/11/84': '
I also played around with Dedit a bit --- it seems that if you apply CAP to a list, it will capitalize the first word.  If you apply CAP to an atom, it raises it.  Strange.'
'
'
-----'
'
Date': 11 May 84 11':42 PDT'
From': Bobrow.pa'
Subject': Lisp': CAP in DEDIT'
To': LispSupport.pa'
cc': Bobrow.pa'
Lisp-System-Date':  9-Apr-84 18':28':19'
Machine-Type': Dorado'
'
The CAP command on DEDIT, which I assume is supposed to capitalize the first letter of a word (No documentation in the manual), does the same thing as RAISE (make all letters capitalized).'
'
-----'
'
Date': 17 May 84 19':39 PDT'
From': JonL.pa'
Subject': Re': Lisp': Dedit [CAP command worthless]'
In-reply-to': dietterich.pa''s message of 10 May 84 17':50 PDT'
To': dietterich.pa'
cc': LispSupport.pa'
'
I don''t know if I or someone else ever replied to you about this one  -- both Danny and I found the same bug some time ago and submitted an AR on it.  I suppose it''s on Beau''s stack of things to do when he gets the time.  I''m sure it''s just a clear case of CAP calling the interior function without giving the flg argument that says "Capitalize rather than Uppercasify".'
'
-- JonL --'
 '


Workaround: Fix CAP macro for TeleType editor.

Test Case: 

Edit-By: sheil

Edit-Date: 12-Sep-84 11':29':16