Re: [Pharo-users] Pharo 7 - how to see method author/timestamp n Calypso?

2019-02-03 Thread Esteban Lorenzano
Hi,

> On 4 Feb 2019, at 05:29, Paul DeBruicker  wrote:
> 
> Thanks Cyril.  
> 
> For those projects I don't own/maintain that are stored in MCZ files is
> there a way to see who authored the method?  Or is Iceberg + git-blame the
> only way to go now? 

Those will show the ts/author as before.

> 
> 
> If git-blame is the only way is there a way to have all the repos an image
> uses brought under git so I can git-blame everything automatically?

Answered below :)

>  Without
> having to do anything by hand when a package is loaded, I mean.   And also a
> way to see that info right next to the code pane without having to click
> anything?  Also hopefully senders/implementors count?

Uhm? 
I do not understand this… but I think is not related to iceberg but calypso, 
isn’t?
If is calypso, and what you ask is to have the references available (for 
example in another tab) this is not there but is easy to implement. In fact, I 
remember an iteration of calypso that had them, and I think the reason while is 
gone is that It becomes kind of a pain in large images (but now we have real 
lazy tabs so we could review that decision).

> When I read code I skim code written by other people (especially people with
> more experience with the domain, like your MDL package) and assume it's more
> correct because they've published it.  And more critically review what I've
> written in/against those packages.
> 
> 
> Without the author and timestamp visible next to the method code pane it is
> harder to know whether I should trust or be more skeptical of the method.

In Pharo this was always after a click. 
It is still now always after a click.

> I don't always remember which parts I wrote and which parts someone else
> wrote. 

Same. A click will tell you :)

Esteban

> 
> 
> Paul
> 
> 
> 
> CyrilFerlicot wrote
>> On Sun 3 Feb 2019 at 22:02, PAUL DEBRUICKER <
> 
>> pdebruic@
> 
>> > wrote:
>> 
>>> Hi -
>>> 
>>> 
>>> How can I see who wrote a method and when they wrote it in Calypso?
>> 
>> 
>> Hello,
>> 
>> You need to add Calypso to Iceberg and have a locale clone linked. Then an
>> « history » button will appear in Calypso whose info are extracted via git
>> blame feature of git.
>> 
>> 
>>> 
>>> In Nautilus it was the AnnotationPane plugin IIRC.
>>> 
>>> Thanks
>>> 
>>> Paul
>>> 
>>> --
>> Cyril Ferlicot
>> https://ferlicot.fr
> 
> 
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html 
> 


Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread john pfersich
On a Win 10 Lenovo laptop with a trackpad with no mouse buttons, the 64-bit 
version took several clicks on ‘ProfStef go’ to register. I suspect it might be 
the trackpad which isn’t sending mouse messages correctly because I also have 
problems with other apps. 

/*—-*/
Sent from my iPhone
https://boincstats.com/signature/-1/user/51616339056/sig.png
See https://objectnets.net and https://objectnets.org

> On Feb 3, 2019, at 04:25, Ben Coman  wrote:
> 
> 
> 
>> On Sun, 3 Feb 2019 at 19:54, Sven Van Caekenberghe  wrote:
>> Hi,
>> 
>> It would also be quite surprising if this depended on the 32/64 bits 
>> difference.
>> 
>> In any case it works for me (macOS 64 bit): it opens a window titled 
>> 'Welcome (1/29)' containing step one of the tutorial:
>> 
>> ===
>> "Hello! I'm Professor Stef.
>> 
>> You must want me to help you learn Pharo.
>> 
>> So let's go to the first lesson. Select the text below, right-click and 
>> choose 'Do it'"
>> 
>> ProfStef next.
>> ===
>> 
>> You are on Windows, are there any other Windows users that can confirm this 
>> either way ?
> 
> On Win 10 and this works for me in both 32-bit and 64-bit Pharo 7.0.1 (build: 
> 146, commit: c48755a)
> 64-bit VM: 201901051900 https://github.com/OpenSmalltalk/opensmalltalk-vm.git 
> Date: Sat Jan 5 20:00:11 2019 CommitHash: 7a3c6b6 Plugins: 201901051900 
> 
> cheers -ben


Re: [Pharo-users] Pharo 7 - how to see method author/timestamp n Calypso?

2019-02-03 Thread Paul DeBruicker
Thanks Cyril.  

For those projects I don't own/maintain that are stored in MCZ files is
there a way to see who authored the method?  Or is Iceberg + git-blame the
only way to go now? 


If git-blame is the only way is there a way to have all the repos an image
uses brought under git so I can git-blame everything automatically?  Without
having to do anything by hand when a package is loaded, I mean.   And also a
way to see that info right next to the code pane without having to click
anything?  Also hopefully senders/implementors count?


When I read code I skim code written by other people (especially people with
more experience with the domain, like your MDL package) and assume it's more
correct because they've published it.  And more critically review what I've
written in/against those packages.


Without the author and timestamp visible next to the method code pane it is
harder to know whether I should trust or be more skeptical of the method.


I don't always remember which parts I wrote and which parts someone else
wrote. 


Paul



CyrilFerlicot wrote
> On Sun 3 Feb 2019 at 22:02, PAUL DEBRUICKER <

> pdebruic@

> > wrote:
> 
>> Hi -
>>
>>
>> How can I see who wrote a method and when they wrote it in Calypso?
> 
> 
> Hello,
> 
> You need to add Calypso to Iceberg and have a locale clone linked. Then an
> « history » button will appear in Calypso whose info are extracted via git
> blame feature of git.
> 
> 
>>
>> In Nautilus it was the AnnotationPane plugin IIRC.
>>
>> Thanks
>>
>> Paul
>>
>> --
> Cyril Ferlicot
> https://ferlicot.fr





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] why doesn't this baseline load any package when included in another baseline?

2019-02-03 Thread Pierce Ng
On Sun, Feb 03, 2019 at 01:41:30PM -0800, PAUL DEBRUICKER wrote:
> MCHttpRepository
> location: 'http://www.squeaksource.com/TimeZoneDatabase'

Hi Paul,

I see that there is a ConfigurationOfTimeZoneDatabase in the SS repo as
well. 

>   spec baseline: 'TimeZoneDatabase'
>   with: [ spec repository: 
> 'http://www.squeaksource.com/TimeZoneDatabase' ].

In your BaselineOfYourProject that is citing TimeZoneDatabase as a
dependency, you could try loading ConfigOfTimeZoneDatabase instead:

spec project: 'TimeZoneDatabase' with: [ 
   spec 
 className: 'ConfigurationOfTimeZoneDatabase';
 version: #stable;
 repository: 'http://www.squeaksource.com/TimeZoneDatabase' ].

This is known working in my BaselineOfGlorpSQLite which loads 
ConfigurationOfUDBC
from STH.

Pierce




Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread pharo

On 2/3/2019 1:35 PM, Richard70nl wrote:
I just checked, the "right click -> do it" only works if at least the 
cursor is somewhere on the statement. I normally do a cmd-D (macOS) in 
these situations though. But AFAIK it’s not necessary to select the 
whole statement. If the cursor is somewhere else in the editor the 
“right click -> do it” does not work as expected. I think the editor 
should maybe put the cursor in the position where you right click. But 
that is more of a preference. I think if you get used to that 
behaviour then you probably don’t even think about it.


Coming from most common coding editors, I find the editors in Pharo a 
bit quirky. But I (we?) probably get used to it. I did check online 
how some people use external editors and I think it’s not worth the 
hassle. It’s not as straightforward programming as I’m used to. And, I 
think if you use an external editor you miss the “immersion” of the 
environment.

Thanks, Richard!


Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread pharo

On 2/3/2019 5:01 AM, Ben Coman wrote:
In general you are correct, but newcomers are more familiar with a 
click paradigm that a select &doIt paradigm
so this specific case is different.  In the interest of teaching how 
to fish :), here is how you can discover these sorts of answers for 
yourself...

Tools > Finder > Source
then search for... ProfStef go
and you'll see...  WelcomeHelp-class>>learn
which does...  (self doItFrom: 'ProfStef go.')
Double-clicking "doItFrom:" selects it, then hitting  does 
"Code search... > implementors of it"

that is commented...  [left as an exercise for the reader]


Thank you. That's really helpful!

Keith



Re: [Pharo-users] Pharo 7 - how to see method author/timestamp n Calypso?

2019-02-03 Thread Cyril Ferlicot
On Sun 3 Feb 2019 at 22:02, PAUL DEBRUICKER  wrote:

> Hi -
>
>
> How can I see who wrote a method and when they wrote it in Calypso?


Hello,

You need to add Calypso to Iceberg and have a locale clone linked. Then an
« history » button will appear in Calypso whose info are extracted via git
blame feature of git.


>
> In Nautilus it was the AnnotationPane plugin IIRC.
>
> Thanks
>
> Paul
>
> --
Cyril Ferlicot
https://ferlicot.fr


Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread pharo

On 2/3/2019 2:48 AM, ducasse wrote:


Hi keith

did you look at the Pharo mooc?
http://mooc.pharo.org

Because there are many videos explaining interaction.
No, I've been to the site but haven't gotten around to looking at much 
there. I will now, thanks.


It's good to know about the videos.


To execute an expression you should either select or if it is on one line
you can just use command-D or command-P

Learning this is a big revelation. In the course I took, I had to select 
a command on *every single page* and then enter Ctrl-D. It got to be 
really tiring and frustrating.


I just went back to the course and tried just left clicking on the 
command before entering Ctrl-D and discovered that it works there as 
well. Wish I'd known it when I started the course.


Thanks very much,
Keith


[Pharo-users] why doesn't this baseline load any package when included in another baseline?

2019-02-03 Thread PAUL DEBRUICKER
Hi -

In this repo

MCHttpRepository
location: 'http://www.squeaksource.com/TimeZoneDatabase'
user: ''
password: ''


There is the BaselineOfTimeZoneDatabase

If in a Pharo7 playground I run

Metacello new
baseline: 'TimeZoneDatabase';
repository: 'http://www.squeaksource.com/TimeZoneDatabase';
load

It loads into the image fine and seems to work.

If I include it in another project like this

...
spec baseline: 'TimeZoneDatabase'
with: [ spec repository: 
'http://www.squeaksource.com/TimeZoneDatabase' ].
spec package: 'MyPackage' 
with:[ spec requires: #('DependencyA' 'DependencyB' 
'DependencyC' 'DependencyD' 'TimeZoneDatabase')]
spec group:'default' with:'MyPackage'.


and load that project into a different, clean Pharo 7 image with


Metacello new
baseline: 'MyProject';
repository: '/my/pharo/packages/';
load: 'default'

Then none of the TimeZoneDatabase packages are loaded and only the postLoadDoIt 
from the BaselineOfTimeZoneDatabase is called.  


(The other dependencies aren't loaded either but I figured to just use this 
TimeZoneDatabase as an example for this email).  





In the BaselineOfTimeZoneDatabase the #baseline: method is 

baseline: spec

spec
for: #common
do: [ spec postLoadDoIt: #buildSystemDatabase.
spec package: 'Time'.
spec group: 'Core' with: #('default') ].
spec
for: #squeak
do: [ spec
package: 'TimeZoneDatabase-Squeak'
with: [ spec requires: #('Time') ].
spec group: 'default' with: 
#('TimeZoneDatabase-Squeak') ].
spec
for: #pharo
do: [ spec
package: 'TimeZoneDatabasePharoPreload';
package: 'Time'
with: [ spec requires: 
#('TimeZoneDatabasePharoPreload') ];
package: 'TimeZoneDatabase-Pharo'
with: [ spec requires: #('Time') ].
spec group: 'default' with: #('TimeZoneDatabase-Pharo') 
]





I'm clearly doing something wrong but don't know what.  Any ideas on what to 
change or try next?



Thanks

Paul


[Pharo-users] Pharo 7 - how to see method author/timestamp n Calypso?

2019-02-03 Thread PAUL DEBRUICKER
Hi - 


How can I see who wrote a method and when they wrote it in Calypso?  

In Nautilus it was the AnnotationPane plugin IIRC.  

Thanks

Paul



Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread Richard70nl
Hi Keith,On 3 Feb 2019, at 01:30, magicspeller  wrote:Can you tell me why you don't have to select "ProfStef go." before rightclicking it. I had gotten the impression that to execute any Smalltalkstatement you always have to select it first.I just checked, the "right click -> do it" only works if at least the cursor is somewhere on the statement. I normally do a cmd-D (macOS) in these situations though. But AFAIK it’s not necessary to select the whole statement. If the cursor is somewhere else in the editor the “right click -> do it” does not work as expected. I think the editor should maybe put the cursor in the position where you right click. But that is more of a preference. I think if you get used to that behaviour then you probably don’t even think about it.Coming from most common coding editors, I find the editors in Pharo a bit quirky. But I (we?) probably get used to it. I did check online how some people use external editors and I think it’s not worth the hassle. It’s not as straightforward programming as I’m used to. And, I think if you use an external editor you miss the “immersion” of the environment.Cheers,Richard


[Pharo-users] package extensions in Pharo 7.

2019-02-03 Thread PAUL DEBRUICKER
Hi - 


Is there a way to create the protocol, then convert it to an extension, without 
adding a method to it between the time I create the protocol and convert it to 
an extension?  Seems like it if the protocol is empty when I convert it to an 
extension it gets deleted rather than converted.  


Would anyone be interested in having the thing that parses protocol names 
automatically create extension protocols from names that start with * instead 
of rejecting them immediately?


IS the new extension stuff cross platform compatible right now or do I have to 
do anything else to port these methods & protocols to Squeak and GemStone?  


Thanks


Paul


Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread Sven Van Caekenberghe



> On 3 Feb 2019, at 18:57, magicspeller  wrote:
> 
> Ben Coman wrote
>> On Sun, 3 Feb 2019 at 19:54, Sven Van Caekenberghe <
> 
>> sven@
> 
>> > wrote:
>>> 
>>> You are on Windows, are there any other Windows users that can confirm
>>> this either way ?
>>> 
>> 
>> On Win 10 and this works for me in both 32-bit and 64-bit Pharo 7.0.1
>> (build: 146, commit: c48755a)
>> 64-bit VM: 201901051900
>> https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Jan 5
>> 20:00:11 2019 CommitHash: 7a3c6b6 Plugins: 201901051900
>> 
>> cheers -ben
> 
> Thanks, everyone. I think I owe you all an apology. I just tried the 64-bit
> version again and it worked perfectly.
> 
> The instructions just say, "You can learn Pharo by clicking on the following
> expression:". I didn't expect a new window to open; I had just finished a
> different Pharo course in which everything stayed in the same window. You'd
> think I would see a new window opening anyway, but I'm wondering if it might
> have been hidden behind the main window. I just discovered the window tabs
> at the bottom as well, which would have helped if I'd thought to look there.
> 
> Hope I didn't cause anyone a lot of frustration.
> 
> In a way, I am glad I posed the question, because I have learned a lot in
> the ensuing discussion. I'll respond to a couple of the new replies, but
> thank you, everyone, very, very much.
> 
> Warren

No problem, good luck with your further explorations, welcome to Pharo.

Sven




Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread magicspeller
Ben Coman wrote
> On Sun, 3 Feb 2019 at 19:54, Sven Van Caekenberghe <

> sven@

> > wrote:
>>
>> You are on Windows, are there any other Windows users that can confirm
>> this either way ?
>>
> 
> On Win 10 and this works for me in both 32-bit and 64-bit Pharo 7.0.1
> (build: 146, commit: c48755a)
> 64-bit VM: 201901051900
> https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Jan 5
> 20:00:11 2019 CommitHash: 7a3c6b6 Plugins: 201901051900
> 
> cheers -ben

Thanks, everyone. I think I owe you all an apology. I just tried the 64-bit
version again and it worked perfectly.

The instructions just say, "You can learn Pharo by clicking on the following
expression:". I didn't expect a new window to open; I had just finished a
different Pharo course in which everything stayed in the same window. You'd
think I would see a new window opening anyway, but I'm wondering if it might
have been hidden behind the main window. I just discovered the window tabs
at the bottom as well, which would have helped if I'd thought to look there.

Hope I didn't cause anyone a lot of frustration.

In a way, I am glad I posed the question, because I have learned a lot in
the ensuing discussion. I'll respond to a couple of the new replies, but
thank you, everyone, very, very much.

Warren




--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



[Pharo-users] Pharo MOOC 7.0 image

2019-02-03 Thread eftomi
Did someone compile a 7.0 MOOC image yet? Seaside is easy to load, however I
got stuck with various packages of Bootstrap / Magritte. When I try to load
these either through Metacello, Catalog Browser and through Iceberg there's
no success. Catalog Browser usually gives an error message in the status
area. 

QCMagritte seems quite useful and is marked as 7.0 compatible in Catalog
Browser. The procedure on Github:

Metacello new 
  githubUser: 'Afibre' project: 'QCMagritte' commitish: 'master' path:
'src'; 
  baseline: 'QCMagritte';
  load. 

runs ok, however the majority of Seaside tests are then yellow, some red.

As you see, I'm mostly interested in web development :-)





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread eftomi
Just clicking onto ProfStef Go. works for me on both, too.

Win 10, Pharo-7.0.1+build.146, VM: 201901051900
https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Jan 5
20:00:11 2019 CommitHash: 7a3c6b6 Plugins: 201901051900



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread Sean P. DeNigris
Tim Mackinnon wrote
> doit or printit should find the nearest complete expression (even if
> multiline) and evaluate that

That would be great!



-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] Slots doc

2019-02-03 Thread Ben Coman
On Sun, 3 Feb 2019 at 17:50, Todd Blanchard via Pharo-users <
pharo-users@lists.pharo.org> wrote:

> Seems like an opportunity...I have no idea what the addition of slots does
> but I would like to learn.
>
> On Feb 3, 2019, at 1:33 AM, ducasse  wrote:
>
> Hello,
>
> Where I can find documentation for slots?
>
> I am trying to access the pharo books site but it is unreachable from my
> network right now, I got a connection time out (It works from my 3G though
> (??) ), but if I remember correctly the is no slot description in any book.
>
> Regards,
> Vitor
>
>
> Hello victor
>
> There is no documentation about slots that I know. I’m sorry.
> Marcus may want to write one in the future.
>
> Stef
>
>
I believe its an implementation of this paper...
https://rmod.inria.fr/archives/papers/Verw11a-OOSPLA11-FlexibleObjectLayouts.pdf


cheers -ben


Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread Ben Coman
On Sun, 3 Feb 2019 at 08:31, magicspeller  wrote:

>
> Can you tell me why you don't have to select "ProfStef go." before right
> clicking it. I had gotten the impression that to execute any Smalltalk
> statement you always have to select it first.
>

In general you are correct, but newcomers are more familiar with a click
paradigm that a select &doIt paradigm
so this specific case is different.  In the interest of teaching how to
fish :), here is how you can discover these sorts of answers for
yourself...
Tools > Finder > Source
then search for... ProfStef go
and you'll see...  WelcomeHelp-class>>learn
which does...  (self doItFrom: 'ProfStef go.')
Double-clicking "doItFrom:" selects it, then hitting  does "Code
search... > implementors of it"
that is commented...  [left as an exercise for the reader]

cheers -ben


Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread Tim Mackinnon




Sent from my iPhone
> On 3 Feb 2019, at 09:56, ducasse  wrote:
> 
> Now what frustrates me is that Command-B does not automatically select the 
> line.

But why would you arbitrarily highlight a line? I was frustrated that with my 
cursor on a valid selector (or class, or parameter), selecting the whole line 
often resulted in an error?

Or are you simply suggesting that it should highlight  the expression it’s 
identified before doing the evaluation? I didn’t think of that, and it’s a good 
idea.

To be clearer - in a playground if you had:

5 + 4.

 ‘Hello’ size
+ 5 (cursor here)

What should meta-p do?

I would argue - print 10 not give an error?

This feels more in line with power of our tools right?

Tim



Re: [Pharo-users] PharoV50.sources in VM?

2019-02-03 Thread Hilaire
Don't forget, the dll can be stripped too !

I saved about 10MB on Dr. Geo bundle with Linux and Windows VMs
stripped. I don't know about Mac OS libraries and excutable, I don't
search for tools to remove its symboles from a Linux workstation.

Hilaire

Le 03/02/2019 à 01:34, Pierce Ng a écrit :
> I just built the 32-bit Windows VM from opensmalltalk-vm on Windows 7.
> Here's what I got. Pharo.exe works fine. 
>
>  Volume in drive C has no label.
>  Volume Serial Number is FCE0-E161
> 
>  Directory of C:\pkg\pharo6vm32
> 
> 03/02/2019  12:54 AM 2,875,628 Pharo.exe
> 03/02/2019  12:54 AM 2,875,628 PharoConsole.exe
> 03/02/2019  12:54 AM 9,567,149 PharoConsoleUnstripped.exe
> 03/02/2019  12:54 AM 9,567,149 PharoUnstripped.exe
>4 File(s) 24,885,554 bytes
>0 Dir(s)  33,491,107,840 bytes free
>
> I think the stripping comes from build.win32x86/common/Makefile starting
> line 309:
>
> ifneq ($STRIPEXE,)
> $(STRIPEXE): $(VMEXE)
>   $(STRIP) --strip-unneeded -o $(STRIPEXE) $(VMEXE)
>   $(OBJCOPY) --add-gnu-debuglink=$(VMEXE) $(STRIPEXE)
> 
> $(STRIPCONSOLEEXE): $(CONSOLEVMEXE)
>   $(STRIP) --strip-unneeded -o $(STRIPCONSOLEEXE) $(CONSOLEVMEXE)
>   $(OBJCOPY) --add-gnu-debuglink=$(CONSOLEVMEXE) $(STRIPCONSOLEEXE)
> endif
>
> The build output is in build.win32x86/pharo.cog.spur/build/vm. I copied
> the *exe and *.dll into c:\pkg\pharo6vm32 and run the VM from there.
>
> Oh, my Linux VM (also self-built) isn't stripped.
>
> % file ~/pkg/pharo6vm64/pharo 
> /home/pierce/pkg/pharo6vm64/pharo: ELF 64-bit LSB executable, x86-64, 
> version 1 (SYSV), dynamically linked, interpreter 
> /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, 
> BuildID[sha1]=79f0524e9ecda9a3a3143fb6ba4ff45f552e05dd, with debug_info, not 
> stripped
>
-- 
Dr. Geo
http://drgeo.eu





[Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread ducasse
> Sent from my iPhone
> > On 3 Feb 2019, at 02:42, Sean P. DeNigris  > > 
> > wrote:
> > 
> > believe the default is to evaluate the whole line where the cursor is if
> > nothing is selected.
> 
> That reminds me - while I fixed the senders/implementers search commands to 
> intelligently look for the nearest selector to the cursor (in pharo7), I 
> forgot about workspace evaluation - doit or printit should find the nearest 
> complete expression (even if multiline) and evaluate that - unless you 
> specifically highlight something. It makes it much more efficient to then 
> examine things quickly.
> 
> Tim
I like the way is work now because I can super execute one line or multiple 
line. 
Now what frustrates me is that Command-B does not automatically select the 
line. 

I always wanted that 
Command-B looks for implementors when the symbol is not a class 
(if it is a class we get the class definition)

Command-M when the symbol is a class should do a Command-B
else a look for implementors

I think that now denis reintroduced the behavior I added long time ago and that 
was removed. 
The glitch left is the missing automatic selection of the line :)

Stef

Re: [Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread john pfersich
He’s on Windows, so it wold be Ctrl-D and Ctrl-P. 

/*—-*/
Sent from my iPhone
https://boincstats.com/signature/-1/user/51616339056/sig.png
See https://objectnets.net and https://objectnets.org

> On Feb 3, 2019, at 01:48, ducasse  wrote:
> 
> Hi keith
> 
> did you look at the Pharo mooc?
> http://mooc.pharo.org
> 
> Because there are many videos explaining interaction.
> 
> To execute an expression you should either select or if it is on one line
> you can just use command-D or command-P 
> 
> Stef


[Pharo-users] favorite way to migrate from mczs to git?

2019-02-03 Thread ducasse
Hi Paul

When you commit your changes to your fork you can cherry pick what you want to 
save. On the left you have a item list with tick and you can untick them. 
Only the selected items will be committed. 
Let us know if this is not working for you. 

Stef



Re: [Pharo-users] Slots doc

2019-02-03 Thread Todd Blanchard via Pharo-users
--- Begin Message ---
Seems like an opportunity...I have no idea what the addition of slots does but 
I would like to learn.

> On Feb 3, 2019, at 1:33 AM, ducasse  wrote:
> 
>> Hello,
>> 
>> Where I can find documentation for slots?
>> 
>> I am trying to access the pharo books site but it is unreachable from my
>> network right now, I got a connection time out (It works from my 3G though
>> (??) ), but if I remember correctly the is no slot description in any book.
>> 
>> Regards,
>> Vitor
> 
> Hello victor 
> 
> There is no documentation about slots that I know. I’m sorry. 
> Marcus may want to write one in the future.
> 
> Stef
> 

--- End Message ---


[Pharo-users] Learn Pharo - Not Working

2019-02-03 Thread ducasse
Hi keith

did you look at the Pharo mooc?
http://mooc.pharo.org 

Because there are many videos explaining interaction.

To execute an expression you should either select or if it is on one line
you can just use command-D or command-P 

Stef

[Pharo-users] Slots doc

2019-02-03 Thread ducasse
> Hello,
> 
> Where I can find documentation for slots?
> 
> I am trying to access the pharo books site but it is unreachable from my
> network right now, I got a connection time out (It works from my 3G though
> (??) ), but if I remember correctly the is no slot description in any book.
> 
> Regards,
> Vitor

Hello victor 

There is no documentation about slots that I know. I’m sorry. 
Marcus may want to write one in the future.

Stef



[Pharo-users] back to this mailing-list

2019-02-03 Thread ducasse
Hi 

I was not registered to this mail list so I registered so that I can reply to 
questions. 

Stef