[Openmcl-devel] Open… dialog shows many "Date Modified" sort fields

R. Matthew Emerson rme at clozure.com
Thu Apr 16 08:23:55 PDT 2009


On Apr 16, 2009, at 9:02 AM, Arthur W Cater wrote:

> I currently have CCL v1.3-r11951 on Mac Powerbook, OS 10.5.6
> For a while past, the Open… dialog has been showing two columns with
> "Date Modified" as the sort criterion, with unsurprisingly identical  
> contents in the two fields.
> Today that number grew to three, after some problem arose which I  
> could only recover
> by Force Quit. The easygui:choose-file-dialog function now does not  
> work either.
> (Yes, I'm the one who added it to CCL, based closely on code Gary  
> gave me.)

This is probably because of some bad data in the defaults database.

To look at the defaults database, run one of the following two commands:

defaults read "com.clozure.Clozure CL" (if you launch via a double- 
clickable app)
or
defaults read "com.clozure.temp bundle" (if you start the IDE via  
(require 'cocoa))

I'd look for a suspicious entry for "NSTableView Columns  
NSNavOutlineColumnSettings.v1" or something like that.  "NSNav" is the  
substring to look for.  (The system saves the order of the columns,  
the sort order of the columns, and other stuff like that in the  
defaults database.  I'm guessing this information got screwed up  
somehow.)  If you see something weird, delete it with a command like:

defaults delete  "com.clozure.Clozure CL" "NSTableView Columns  
NSNavOutlineColumnSettings.v1"

If you don't care to go spelunking in the defaults database, and don't  
care about your preferences, you could just blow away (or move aside,  
at least) your preferences file.  It'd be stored in "~/Library/ 
Preferences/com.clozure.Clozure CL.plst"




More information about the Openmcl-devel mailing list