<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=953114718-01032009><FONT face="Trebuchet MS" 
color=#0000ff size=2>Hi Eliot,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953114718-01032009><FONT face="Trebuchet MS" 
color=#0000ff size=2>yes, I've called the method allActualMethodsInCategory: to 
clarify what should be ovbious (so not need to clarify) but the clarification is 
needed because someone made a transformation of a method into a string without 
clarifiying it properly like allMethodsNamesInCategory: or 
allMethodsAsStringsInCategory: Annoying really.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953114718-01032009><FONT face="Trebuchet MS" 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=953114718-01032009></SPAN><SPAN 
class=953114718-01032009><FONT face="Trebuchet MS" color=#0000ff size=2>Note 
that in the new category you must put some category different from 'as yet 
unclassified' or it will be ignored otherwise.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953114718-01032009><FONT face="Trebuchet MS" 
color=#0000ff size=2>I've also noted particularly&nbsp;confusive to find 
something categorizable&nbsp;which is not categorized named under: 'not yet 
classified'. I mean, we have a system that uses the concept of class for 
something completely different. That is like a digital kick in the but for those 
who don't have it perflectly clear before dropping into 
squeak.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953114718-01032009><FONT face="Trebuchet MS" 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=953114718-01032009><FONT face="Trebuchet MS" 
color=#0000ff size=2>In the other hand, I found as usual here, a very helpful 
community and you Eliot where very kind in sending that 
script.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953114718-01032009><FONT face="Trebuchet MS" 
color=#0000ff size=2>
<DIV dir=ltr align=left><SPAN class=953114718-01032009><FONT face="Trebuchet MS" 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=953114718-01032009><FONT face="Trebuchet MS" 
color=#0000ff size=2>Again Eliot, thanks a lot, now I've rescued about ~400 
methods imagine doing that manually :)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953114718-01032009>best</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953114718-01032009>sebastian</SPAN></DIV>
<DIV dir=ltr align=left><SPAN 
class=953114718-01032009></SPAN>&nbsp;</DIV></FONT></SPAN></DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=es dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>De:</B> 
  squeak-dev-bounces@lists.squeakfoundation.org 
  [mailto:squeak-dev-bounces@lists.squeakfoundation.org] <B>En nombre de 
  </B>Eliot Miranda<BR><B>Enviado el:</B> Sunday, March 01, 2009 
  04:09<BR><B>Para:</B> The general-purpose Squeak developers 
  list<BR><B>Asunto:</B> Re: [squeak-dev] recategorize a 
  bunch<BR></FONT><BR></DIV>
  <DIV></DIV><BR><BR>
  <DIV class=gmail_quote>On Sat, Feb 28, 2009 at 7:42 PM, Sebastian Sastre <SPAN 
  dir=ltr>&lt;<A 
  href="mailto:ssastre@seaswork.com">ssastre@seaswork.com</A>&gt;</SPAN> 
  wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">hi 
    there, while loading some stuff of mine form an image to another, I 
    was<BR>annoyed/surprised by not finding some methods. Then I've figured out 
    that all<BR>not imported methods where missing because somehow they happen 
    to be under a<BR>category named *-changed some others under 
    *-compilation-issues.<BR><BR>There is a way I can query the system 
    (monticello?) to get the whole and set<BR>them another category (so I can 
    save the packageproperly)?</BLOCKQUOTE>
  <DIV><BR></DIV>
  <DIV>Let's say that SystemNavigation&gt;&gt;allMethodsInCatergory: answers 
  MethodReference instances instead of 'Classd&gt;selector' string thingies, and 
  if it doesn't that it can by defining it as</DIV>
  <DIV><BR></DIV>
  <DIV>SystemNavigation methods for query<BR></DIV>
  <DIV>allMethodsInCategory: category&nbsp;</DIV>
  <DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>| aCollection 
  |</DIV>
  <DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>aCollection := 
  Set new.</DIV>
  <DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>Cursor wait 
  showWhile:</DIV>
  <DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>[self 
  allBehaviorsDo:</DIV>
  <DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>[:x |</DIV>
  <DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>((category = 
  ClassOrganizer allCategory</DIV>
  <DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>ifTrue: [x 
  organization allMethodSelectors]</DIV>
  <DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>ifFalse: [x 
  organization listAtCategoryNamed: category])) do:</DIV>
  <DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>[:sel | 
  aCollection add: (MethodReference new setStandardClass: x methodSymbol: 
  sel)]]].</DIV>
  <DIV><SPAN class=Apple-tab-span 
  style="WHITE-SPACE: pre"></SPAN>^aCollection.</DIV>
  <DIV><BR></DIV>
  <DIV>then you want to say</DIV>
  <DIV><BR></DIV>
  <DIV>&nbsp;&nbsp; &nbsp;(SystemNavigation default allMethodsInCategory: #'* 
  whatever the category * was called') do:</DIV>
  <DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;[:mr|</DIV>
  <DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;mr actualClass organization</DIV>
  <DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;classify: mr 
  methodSymbol</DIV>
  <DIV>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;under: #'what I would like 
  the category to be']</DIV>
  <DIV><SPAN class=Apple-style-span style="WHITE-SPACE: pre"></SPAN>&nbsp;</DIV>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><BR><BR>thanks,<BR><FONT 
    color=#888888><BR>sebastian<BR><BR><BR></FONT></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>