[Pharo-users] [DesktopManager] Ctlr - D (do-it) is blocked after installation of desktop manager

2017-09-04 Thread Torsten Bergmann
>How can I de-activate the ctrl-D shortcut for the Desktop manager for
>the time being?

By not using DesktopManager. The shortcut handlers are installed upon load 
initialize.

Bye
T.



[Pharo-users] Write documentation with wiki like syntax -- how do I activate the rendering?

2017-09-04 Thread Torsten Bergmann
Hi Hannes,

make sure 
 - it is a class side method
 - you have no spaces before the ! marks
 - you reopen the help browser

then it works and creates subtopics. See screenshot attached.

Bye
T.

Re: [Pharo-users] Write documentation with wiki like syntax -- how do I activate the rendering?

2017-09-04 Thread Stephane Ducasse
Hi Hannes

I do not know. I do not remember who wrote this help.

Stef

On Mon, Sep 4, 2017 at 12:01 PM, H. Hirzel  wrote:
> P.S. wiki syntax rendering does not work in
>
> a) an image where Pillar is not installed.
> b) an image where Pillar is installed.
>
> Should  work in Pharo 6.0/6.1 or is the implementation
> planned for a later version?
>
> On 9/4/17, H. Hirzel  wrote:
>> Hello
>>
>> The Pharo 6.1 help system has an entry
>> 'Write documentation with wiki like syntax'   [1]
>>
>> If I follow these instructions my book  named 'The name of the book I
>> want to write'
>>
>> appears in as an entry in the list.
>>
>> But the wiki content is not rendered.
>>
>> Which additional steps are needed so that the wiki content is rendered?
>>
>> I want to get a result such as  the 'Welcome to Pharo 6' page, see screen
>> shot.
>>
>>
>> Thank you for the answer in advance.
>>
>> Hannes
>>
>>
>>
>>
>>
>> [1]  Usage:
>>
>> - Create a class-side method on the class you want to put documentation.
>> - Add the pragma  with the title of the book as parameter
>> - The method should answer the documentation as a String (using Pier
>> syntax. See http://www.piercms.com/doc/syntax ).
>>
>>
>>
>> Example:
>>
>> MyClass class>>aMethod
>> 
>> ^ '
>>  ! Section 1
>>
>>  Some text for this section
>>
>>  !! Subsection 1.1
>>  !!! Subsection 1.1.1
>>  !! Subsection 1.2
>>  ! Section 2'
>>
>



Re: [Pharo-users] [Pharo-dev] The mooc is looking for forum moderators

2017-09-04 Thread Myroslava Romaniuk
Hi I would like to help too, if possible.

On 2 September 2017 at 22:33, Rene Paul Mages (ramix) 
wrote:

>
>
> Le 01/09/2017 à 11:40, Serge Stinckwich a écrit :
> > I should be able to help like last year.
>
>Count me also in the forum moderators team.
>
> --
> Amicalement.
> Rene Paul Mages ( GnuPG_key 1024D/2CC455D9 )
> http://blog.pharo.fr
>
>


-- 
З повагою,
Мирослава Романюк.


Re: [Pharo-users] [Pharo-dev] [ann] moldable editor - transcript with adornments

2017-09-04 Thread Alexandre Bergel
Pretty cool!
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



> On Sep 3, 2017, at 8:54 PM, Tudor Girba  wrote:
> 
> Hi,
> 
> We are happy to announce that the moldable editor helped us create a richer 
> transcript: GT Transcript.
> 
> The transcript is traditionally a stream of plain text. As we now have an 
> elaborate editor, we can take advantage of it to help us display richer 
> representations.
> 
> The API is backward compatible with the existing transcript. To enable the 
> new features, we introduced a builder. For example:
>   transcript nextPutAll: ‘something’
> becomes
>   transcript next putAll: ‘something’
> and after #next we can add multiple attributes that we want to affect the 
> following insertion of a text.
> 
> Below you can find an example detailing most of the API. The most notable 
> additions is the support for expandable adornments. For example, 
> #showException: provides an in-place expansion of the stack of the exception 
> context.
> 
> 
> 
> To get an idea of how this tool can be useful, take a look at the following 
> video showing the visual logging of a Bloc animation:
> https://youtu.be/9VATYNaLwJY
> 
> 
> 
> The code can be found in the new incarnation of GToolkit:
>   Iceberg enableMetacelloIntegration: true.
>   Metacello new
>   baseline: 'GToolkit';
>   repository: 'github://feenkcom/gtoolkit/src';
>   load.
> 
> Cheers,
> The feenk team
> 
> --
> www.tudorgirba.com
> www.feenk.com
> 
> “Software has no shape. Actually, it has no one shape. It has many."
> 




Re: [Pharo-users] [DesktopManager] Ctlr - D (do-it) is blocked after installation of desktop manager

2017-09-04 Thread H. Hirzel
Hello Torsten

Thank you for the explanation.

How can I de-activate the ctrl-D shortcut for the Desktop manager for
the time being?

I'd like ctrl-D only execute the 'do -it'.

Hitting 'ctrl-D' twice  with the desktop manager installed did not
work for some reason.
And it is inconvenient. Because do-it is a much more frequent
operation for me than switching the desktop.

Kind regards
Hannes

On 9/4/17, Tim Mackinnon  wrote:
> Interesting, but how is it that Ctrl-B works for Browse and is also a meta
> key for Ctrl-B + Ctlr+N? I think there is a a way to support both - whether
> its worth it is another question (and I suspect the complication of
> supporting it might not be worthwhile, and some of the old key combinations
> like Ctrl-B and Ctrl-N might need deprecating as there are meta key
> equivalents as when I looked through the existing code it is quite
> complicated and in need of a cleanup).
>
> Tim
>
>> On 4 Sep 2017, at 10:52, Torsten Bergmann  wrote:
>>
>> Hi Hannes,
>>
>> The desktop manager uses "key combinations" always starting with CTRL+D
>> (like "Desktop")
>> so one can easily remember the possibilities:
>>
>> CTRL + D followed by CTRL + D — “Desktop Display” to display and switch
>> between all desktops
>> CTRL + D followed by CTRL + A — “Desktop Add” to add a new desktop
>> CTRL + D followed by CTRL + N — “Desktop Next” to go to next desktop
>> CTRL + D followed by CTRL + P — “Desktop Previous” to go to previous
>> desktop
>> CTRL + D followed by CTRL + B — “Desktop Background” to choose a
>> background
>> CTRL + D followed by CTRL + F — “Desktop Fullscreen” to switch fullscreen
>> option
>>
>> as can be seen in
>>
>> https://www.youtube.com/watch?v=zpLY7uQnPsg
>>
>> but unfortunately CTRL+D ("single key") is also used for the "do it" in a
>> playground.
>>
>> As the shortcut handler of the desktop manager is only triggered when the
>> full key sequence is
>> pressed the code can only check if the active hand is in an editor and
>> allow the do it then.
>> At least that is the only solution I've found to this problem so far.
>>
>> This leads to the unfortunate effect you have to press CTRL+D twice in the
>> playground once the desktop
>> manager is loaded.
>>
>> But nonetheless the "do it" is still possible - you only have to hit
>> CTRL+D twice in the playground.
>> Hope this helps!
>>
>> Bye
>> T.
>>
>
>
>



Re: [Pharo-users] Gofer loads wrong version?

2017-09-04 Thread Herby Vojčík

Herby Vojčík wrote:

Hello!

As I need to load specific version of Glorp with my fix, and I did not
find out how to force-override it in my baseline, I tried to load it
post-the-baseline via Gofer:

(Gofer new smalltalkhubUser: 'DBXTalk' project: 'Glorp')
package: 'Glorp';
version: 'Glorp-HerbyVojcik.127';
load.

But it actually looks like this: [see attached bogusgofer.png].

OTOH, after the image loads the tests pass and monticello browser looks
like this: [see attached mbloaded127.png].

Am I doing something wrong? I am a bit afraid what is actually loaded /
if it won't break b/c of inconsistent state.


P.S.: Epicea shows "Loading 127 and 129". I only wanted to load 127. ???


Herby





[Pharo-users] Gofer loads wrong version?

2017-09-04 Thread Herby Vojčík

Hello!

As I need to load specific version of Glorp with my fix, and I did not 
find out how to force-override it in my baseline, I tried to load it 
post-the-baseline via Gofer:


(Gofer new smalltalkhubUser: 'DBXTalk' project: 'Glorp')
  package: 'Glorp';
  version: 'Glorp-HerbyVojcik.127';
  load.

But it actually looks like this: [see attached bogusgofer.png].

OTOH, after the image loads the tests pass and monticello browser looks 
like this: [see attached mbloaded127.png].


Am I doing something wrong? I am a bit afraid what is actually loaded / 
if it won't break b/c of inconsistent state.


Herby


Re: [Pharo-users] Write documentation with wiki like syntax -- how do I activate the rendering?

2017-09-04 Thread H. Hirzel
P.S. wiki syntax rendering does not work in

a) an image where Pillar is not installed.
b) an image where Pillar is installed.

Should  work in Pharo 6.0/6.1 or is the implementation
planned for a later version?

On 9/4/17, H. Hirzel  wrote:
> Hello
>
> The Pharo 6.1 help system has an entry
> 'Write documentation with wiki like syntax'   [1]
>
> If I follow these instructions my book  named 'The name of the book I
> want to write'
>
> appears in as an entry in the list.
>
> But the wiki content is not rendered.
>
> Which additional steps are needed so that the wiki content is rendered?
>
> I want to get a result such as  the 'Welcome to Pharo 6' page, see screen
> shot.
>
>
> Thank you for the answer in advance.
>
> Hannes
>
>
>
>
>
> [1]  Usage:
>
> - Create a class-side method on the class you want to put documentation.
> - Add the pragma  with the title of the book as parameter
> - The method should answer the documentation as a String (using Pier
> syntax. See http://www.piercms.com/doc/syntax ).
>
>
>
> Example:
>
> MyClass class>>aMethod
> 
> ^ '
>  ! Section 1
>
>  Some text for this section
>
>  !! Subsection 1.1
>  !!! Subsection 1.1.1
>  !! Subsection 1.2
>  ! Section 2'
>



Re: [Pharo-users] [DesktopManager] Ctlr - D (do-it) is blocked after installation of desktop manager

2017-09-04 Thread Tim Mackinnon
Interesting, but how is it that Ctrl-B works for Browse and is also a meta key 
for Ctrl-B + Ctlr+N? I think there is a a way to support both - whether its 
worth it is another question (and I suspect the complication of supporting it 
might not be worthwhile, and some of the old key combinations like Ctrl-B and 
Ctrl-N might need deprecating as there are meta key equivalents as when I 
looked through the existing code it is quite complicated and in need of a 
cleanup).

Tim

> On 4 Sep 2017, at 10:52, Torsten Bergmann  wrote:
> 
> Hi Hannes,
> 
> The desktop manager uses "key combinations" always starting with CTRL+D (like 
> "Desktop") 
> so one can easily remember the possibilities:
> 
> CTRL + D followed by CTRL + D — “Desktop Display” to display and switch 
> between all desktops
> CTRL + D followed by CTRL + A — “Desktop Add” to add a new desktop
> CTRL + D followed by CTRL + N — “Desktop Next” to go to next desktop
> CTRL + D followed by CTRL + P — “Desktop Previous” to go to previous desktop
> CTRL + D followed by CTRL + B — “Desktop Background” to choose a background
> CTRL + D followed by CTRL + F — “Desktop Fullscreen” to switch fullscreen 
> option
> 
> as can be seen in 
> 
> https://www.youtube.com/watch?v=zpLY7uQnPsg
> 
> but unfortunately CTRL+D ("single key") is also used for the "do it" in a 
> playground.
> 
> As the shortcut handler of the desktop manager is only triggered when the 
> full key sequence is 
> pressed the code can only check if the active hand is in an editor and allow 
> the do it then.
> At least that is the only solution I've found to this problem so far.
> 
> This leads to the unfortunate effect you have to press CTRL+D twice in the 
> playground once the desktop
> manager is loaded. 
> 
> But nonetheless the "do it" is still possible - you only have to hit CTRL+D 
> twice in the playground.
> Hope this helps!
> 
> Bye
> T.
> 




[Pharo-users] Write documentation with wiki like syntax -- how do I activate the rendering?

2017-09-04 Thread H. Hirzel
Hello

The Pharo 6.1 help system has an entry
'Write documentation with wiki like syntax'   [1]

If I follow these instructions my book  named 'The name of the book I
want to write'

appears in as an entry in the list.

But the wiki content is not rendered.

Which additional steps are needed so that the wiki content is rendered?

I want to get a result such as  the 'Welcome to Pharo 6' page, see screen shot.


Thank you for the answer in advance.

Hannes





[1]  Usage:

- Create a class-side method on the class you want to put documentation.
- Add the pragma  with the title of the book as parameter
- The method should answer the documentation as a String (using Pier
syntax. See http://www.piercms.com/doc/syntax ).



Example:

MyClass class>>aMethod

^ '
 ! Section 1

 Some text for this section

 !! Subsection 1.1
 !!! Subsection 1.1.1
 !! Subsection 1.2
 ! Section 2'


[Pharo-users] [DesktopManager] Ctlr - D (do-it) is blocked after installation of desktop manager

2017-09-04 Thread Torsten Bergmann
Hi Hannes,

The desktop manager uses "key combinations" always starting with CTRL+D (like 
"Desktop") 
so one can easily remember the possibilities:

CTRL + D followed by CTRL + D — “Desktop Display” to display and switch between 
all desktops
CTRL + D followed by CTRL + A — “Desktop Add” to add a new desktop
CTRL + D followed by CTRL + N — “Desktop Next” to go to next desktop
CTRL + D followed by CTRL + P — “Desktop Previous” to go to previous desktop
CTRL + D followed by CTRL + B — “Desktop Background” to choose a background
CTRL + D followed by CTRL + F — “Desktop Fullscreen” to switch fullscreen option

as can be seen in 

 https://www.youtube.com/watch?v=zpLY7uQnPsg

but unfortunately CTRL+D ("single key") is also used for the "do it" in a 
playground.

As the shortcut handler of the desktop manager is only triggered when the full 
key sequence is 
pressed the code can only check if the active hand is in an editor and allow 
the do it then.
At least that is the only solution I've found to this problem so far.

This leads to the unfortunate effect you have to press CTRL+D twice in the 
playground once the desktop
manager is loaded. 

But nonetheless the "do it" is still possible - you only have to hit CTRL+D 
twice in the playground.
Hope this helps!

Bye
T.



Re: [Pharo-users] Difference between 'do-it' (ctrl d) and 'do-it and go' (ctrl -g)?

2017-09-04 Thread Alistair Grant
On 4 September 2017 at 09:58, H. Hirzel  wrote:
> Hello
>
> In Pharo 6.1 what is the difference between the
>
> 'do-it' (ctrl d) and
>
>  'do-it and go
>
> menu entry in the playground (see screen shot)?
>
> Regards
> Hannes

Ctrl-d will execute the selected expression, but not show the resulting object.

Ctrl-g will execute the selected expression and open a new tab
inspecting the resulting object.

Cheers,
Alistair



Re: [Pharo-users] Difference between 'do-it' (ctrl d) and 'do-it and go' (ctrl -g)?

2017-09-04 Thread Cyril Ferlicot
On lun. 4 sept. 2017 at 09:59, H. Hirzel  wrote:

> Hello
>
> In Pharo 6.1 what is the difference between the
>
> 'do-it' (ctrl d) and
>
>  'do-it and go
>
> menu entry in the playground (see screen shot)?
>
> Regards
> Hannes
>
Hi,

Do it and go will open an inspector *in* the playground with the result of
the execution.
-- 
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France


[Pharo-users] Difference between 'do-it' (ctrl d) and 'do-it and go' (ctrl -g)?

2017-09-04 Thread H. Hirzel
Hello

In Pharo 6.1 what is the difference between the

'do-it' (ctrl d) and

 'do-it and go

menu entry in the playground (see screen shot)?

Regards
Hannes


[Pharo-users] [DesktopManager] Ctlr - D (do-it) is blocked after installation of desktop manager

2017-09-04 Thread H. Hirzel
Hello

After I have installed the DesktopManager in Pharo 6.1 (labelled as
6.0) I cannot use the

ctrl D

shortcut to issue a 'do it' command. It interferes with the ctrl-D
short cut system of the desktop manager.

The do-it shortcut do execute a Smalltalk expression is more important
for the than the direct access to the desktop manager.

How can I resolve this?

Menu 'Tools -> System -> Keymap browser' gives a list of key mapping
assignments, but does not allow to edit them.

Regards

Hannes