Re: Why Leo is not yet ready for prime time (for most users)

2014-05-15 Thread dufriz


 Perhaps my reply was unclear. I was attempting to say why, for now at 
 least, 
 I personally am not interested in working on Leo.  This may change in 
 the future, especially as my health improves.  Or not. 

 Edward 


I see. All the more reason for wishing you a speedy recovery, then!

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Editable WYSIWYG as an evolution of the viewrendered pane plugin?

2014-05-15 Thread dufriz
Hi

The viewrendered pane is for visual output only, not for editing, but I was 
thinking that perhaps the plugin could be adapted to support an interactive 
WYSIWYG experience? I have noticed that you can already change the text in 
the viewrendered pane, but this is useless, because the text pane is not 
updated accordingly. BTW, I think that this is tricky, because one may be 
tempted to edit the viewrendered pane, and those changes will be lost.

Could we enhance the viewrendered plugin to add support for the WYSIWYG 
functionality? I know, it would not be merely view rendering anymore, so 
perhaps the name of the plugin would have to be changed to 'WYSIWYG 
editing' or something similar.

Thanks

Dufriz

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Customizing the layout

2014-05-15 Thread dufriz
Hi,

As I'm deep into extreme customization, I would like to customize Leo's UI 
to my likings, changing the panes's colors, layout, etc.

I hope you don't mind if I ask you a few trivial questions:

1) how can I set the active pane to have the colors I choose, different 
from the other panes (to make the active pane stand out visually, instead 
of that barely visible thin red border)?

2) can I have different layouts of panes within the same outline and switch 
back and forth between them? I explain: let's say that my preferred working 
mode is having a full-page body text pane, which occupies the whole visual 
space presently used by the three standard panes. That would be the layout 
only for the 'composing' mode (when I am editing the body text of a node). 
Now, when I need to look at the outline tree, the body text pane would need 
to be downsized and put on the side of the screen, so I can see the 
outline. This way, the layout for that outline would not be static, but 
dynamic. This switching between the layouts, according to the 'modes' that 
I define, would have to be managed via key bindings, in a toggling way. Is 
this something that can be easily accomplished? Could someone please point 
me in the right direction on how to do it? Is this something that has to be 
defined on a per-outline basis, or could I implement it as a default for 
all my outlines?

Thanks

Dufriz

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Editable WYSIWYG as an evolution of the viewrendered pane plugin?

2014-05-15 Thread Jacob Peck
Terry's rich-text.py plugin might be what you're looking for.  :)

--Jake
On May 15, 2014 5:30 AM, duf...@gmail.com wrote:

 Hi

 The viewrendered pane is for visual output only, not for editing, but I
 was thinking that perhaps the plugin could be adapted to support an
 interactive WYSIWYG experience? I have noticed that you can already change
 the text in the viewrendered pane, but this is useless, because the text
 pane is not updated accordingly. BTW, I think that this is tricky, because
 one may be tempted to edit the viewrendered pane, and those changes will be
 lost.

 Could we enhance the viewrendered plugin to add support for the WYSIWYG
 functionality? I know, it would not be merely view rendering anymore, so
 perhaps the name of the plugin would have to be changed to 'WYSIWYG
 editing' or something similar.

 Thanks

 Dufriz

 --
 You received this message because you are subscribed to the Google Groups
 leo-editor group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to leo-editor+unsubscr...@googlegroups.com.
 To post to this group, send email to leo-editor@googlegroups.com.
 Visit this group at http://groups.google.com/group/leo-editor.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Editable WYSIWYG as an evolution of the viewrendered pane plugin?

2014-05-15 Thread dufriz
I have tried that plugin too. It's nice, but as far as I remember it does
not support embedded pictures.

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Editable WYSIWYG as an evolution of the viewrendered pane plugin?

2014-05-15 Thread 'Terry Brown' via leo-editor
On Thu, 15 May 2014 14:19:21 +0200
dufriz duf...@gmail.com wrote:

 I have tried that plugin too. It's nice, but as far as I remember it
 does not support embedded pictures.

I think it will, depends on how it's set up, it's just an embedding of 
http://ckeditor.com/

Ok, after some time looking at old emails it finally occurred to me to
read the docs. from the plugin menu :-)

richtext.py uses these @settings:

...

@data richtext_cke_config 

Configuration info. for CKEditor, see
http://docs.ckeditor.com/#!/guide/dev_configuration the content of this
node is the javascript object passed to CKEDITOR.replace() as it’s
second argument. The version supplied in LeoSettings.leo sets up a
sensible toolbar. To enable all CKEditor toolbar features copy this
setting to myLeoSettings.leo and remove the default content, i.e. make
this node blank, then CKEditor will generate a toolbar with all
available features.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Customizing the layout

2014-05-15 Thread 'Terry Brown' via leo-editor
On Thu, 15 May 2014 02:32:59 -0700 (PDT)
duf...@gmail.com wrote:

 Hi,
 
 As I'm deep into extreme customization, I would like to customize
 Leo's UI to my likings, changing the panes's colors, layout, etc.
 
 I hope you don't mind if I ask you a few trivial questions:
 
 1) how can I set the active pane to have the colors I choose,
 different from the other panes (to make the active pane stand out
 visually, instead of that barely visible thin red border)?

I need to switch the default behavior from the red border mechanism to
a more generalized styling mechanism - all the pieces are in place, and
the new way will fix a scrolling bug from the red border's widget
hierarchy manipulations.  Will try and find time to do it asap.

 2) can I have different layouts of panes within the same outline and
 switch back and forth between them? I explain: let's say that my

Yes.  So when you right click on the pane dividers you get the super
secret hidden Free layout menus, I /hope/ you knew about those :-)

You can save as many layouts as you want, hmm, I see because the
free-layout plugin is compulsory low level core now, it doesn't show up
in the Plugins menu, so you can't see its docs. there.  Never mind, the
docs. don't say much, I was just trying to find the name of this
command:  free-layout-load - pops up a context menu for switching
layouts, same as the right click on the pane dividers context menu
Load Layout.

Cheers -Terry

 preferred working mode is having a full-page body text pane, which
 occupies the whole visual space presently used by the three standard
 panes. That would be the layout only for the 'composing' mode (when I
 am editing the body text of a node). Now, when I need to look at the
 outline tree, the body text pane would need to be downsized and put
 on the side of the screen, so I can see the outline. This way, the
 layout for that outline would not be static, but dynamic. This
 switching between the layouts, according to the 'modes' that I
 define, would have to be managed via key bindings, in a toggling way.
 Is this something that can be easily accomplished? Could someone
 please point me in the right direction on how to do it? Is this
 something that has to be defined on a per-outline basis, or could I
 implement it as a default for all my outlines?
 
 Thanks
 
 Dufriz
 

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Customizing the layout

2014-05-15 Thread nakedmind
hi terry,

is there a way with the free-layout plugin to quickly maximize a view pane 
and restore it to original size later?

eric

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Customizing the layout

2014-05-15 Thread 'Terry Brown' via leo-editor
On Thu, 15 May 2014 07:40:46 -0700 (PDT)
nakedmind eric.medina.atie...@gmail.com wrote:

 hi terry,
 
 is there a way with the free-layout plugin to quickly maximize a view
 pane and restore it to original size later?

No, although that's a good idea, I'll make a note.  Right now you'd
have to make two layouts and switch between them.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Customizing the layout

2014-05-15 Thread Jacob M. Peck
You could do the whole 'new window' thing, and then reattach it later.  
I think.


Don't have Leo running right now, so I can't test.

--Jake

On 5/15/2014 10:50 AM, 'Terry Brown' via leo-editor wrote:

On Thu, 15 May 2014 07:40:46 -0700 (PDT)
nakedmind eric.medina.atie...@gmail.com wrote:


hi terry,

is there a way with the free-layout plugin to quickly maximize a view
pane and restore it to original size later?

No, although that's a good idea, I'll make a note.  Right now you'd
have to make two layouts and switch between them.

Cheers -Terry



--
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Customizing the layout

2014-05-15 Thread nakedmind


On Thursday, May 15, 2014 10:50:15 PM UTC+8, Terry wrote:


 No, although that's a good idea, I'll make a note.  Right now you'd 
 have to make two layouts and switch between them. 

 Cheers -Terry 


And it will be better if one can bind it to a keyboard shortcut. I 
regularly used software with multiple viewing panes and I can quickly 
maximize and restore a view pane by just hitting spacebar or some other key.

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Customizing the layout

2014-05-15 Thread dufriz
Thanks Terry,
I look forward to the layout management improvement!

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


active pane styling switch to stylesheets

2014-05-15 Thread 'Terry Brown' via leo-editor
I've just pushed a switch from the old active pane border highlighting
code to a stylesheet based approach which makes it possible to do
different appearance things beyond border colors.

The default behavior is intended to be the same, it looks the same to
me, the active pane has a thin red border.  But now that's caused by
the following stylesheet code:

/* focused pane border highlight */
QTextEdit#log-widget, LeoQTreeWidget#treeWidget, QTextEdit#richTextEdit { 
  border-style: @focused-border-style;
  border-width: @focused-border-width; 
  border-color: @focused-border-unfocus-color; 
}
QTextEdit:focus#log-widget, LeoQTreeWidget:focus#treeWidget, 
QTextEdit:focus#richTextEdit { 
  border-style: @focused-border-style;
  border-width: @focused-border-width; 
  border-color: @focused-border-focus-color; 
}

Background color etc. could be styled as well, probably most easily
in @data qt-gui-user-style-sheet

Edward - I know your dealing with other things at the moment, but
please let me know if this scheme doesn't work for your settings /
environment etc. so I can fix it, always hard to know how these changes
impact local settings.  Same for everyone else of course - let me know
if this doesn't allow you to do what you were doing before.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Why Leo is not yet ready for prime time (for most users)

2014-05-15 Thread wgw
Not wanting to stoke the flames of debate nor the paralysis of despair 
(human reactions to the daily news), I do want to suggest that however dark 
things are, in the US in particular --i.e. somewhere between the McCarthy 
era and the rise of the Nazis in Germany --, there are still reasons to 
work on GOOD THINGS (*™*) without abandoning the work against the BAD 
THINGS (®). Leo certainly falls into the former category, and there are 
movements to do the latter: I particularly appreciate Lessig's Google 
presentation (https://www.youtube.com/watch?v=Ik1AK56FtVc) and TED talk 
(http://www.ted.com/talks/lawrence_lessig_we_the_people_and_the_republic_we_must_reclaim)
 . 
He makes a convincing case that money pollution is the most fundamentally 
destructive pollution we are facing today. His RootStrikers movement is one 
answer among a growing number of responses. My rambling point is that it 
 there is good reason to put time into GOOD THINGS (small or not) as a 
break from the muck and a reminder of what good things are about. Open 
source software does that for me. 

Thanks Edward for the references (I will give the Follet book to my son; 
his generation will have to face something on the scale of WWII, but in a 
very different form.) It is a hopeful sign that there are so many lucid 
presentations of our plight, however dire (to name one: Last Call at the 
Oasis). 

Bill 

Le mercredi 14 mai 2014 12:14:16 UTC-7, Edward K. Ream a écrit :

 On Sat, May 3, 2014 at 10:15 PM,  duf...@gmail.com javascript: wrote: 
  I am a long-time lurker on this newsgroup, and I have noticed that in 
 the 
  last few months there have been significant improvements to Leo, in the 
  hopes of making it more accessible to the non-technical crowd. 

 Leo seems insignificant at present.  I have little interest in whether 
 Leo is accessible to non-technical people. Learn Leo or not--it's 
 your choice.  I also have scant interest in Leo vs. Emacs or Vim. 

 Consider what's happening today, including one-dollar-one-vote 
 democracy [0], neutered, impotent and obsolete U.S. corporate media 
 [1] , out-of-control military [2] and surveillance [3] establishments, 
 worldwide inaction on CO2 emissions [4] and an ongoing human-caused 
 mass extinction rivaling the previous big 5 mass extinctions [5], 
 all enabled by 24/7 corporate-funded right-wing propaganda [6] and 
 [7]. 

 Two novels emphasize the need for courage in the present 
 circumstances:  A Tale for the Time Being [8] and The Winter of the 
 World [9].  I recommend either or both for those who think the issues 
 listed above are no concern of ordinary people. 

 If there is one area where I might still make a difference in the 
 computing world, it might be high-speed analysis of types for Python. 
 Lest you think this is a minor business, it is a fact that any useful 
 analysis of computer programs (for example, any kind of refactoring) 
 requires robust knowledge of types. 

 Edward 

 [0] 
 http://en.wikipedia.org/wiki/McCutcheon_v._Federal_Election_Commission#Subsequent_commentary
  
 [1] 
 http://www.democracynow.org/2014/5/14/glenn_greenwald_us_corporate_media_is 
 [2] http://www.pogo.org/our-work/straus-military-reform-project/ 
 [3] https://firstlook.org/theintercept/ 
 [4] http://www.motherjones.com/category/primary-tags/climate-desk 
 [5] 
 http://www.amazon.com/Sixth-Extinction-Unnatural-History-ebook/dp/B00EGJE4G2/ 
 [6] 
 http://mediamatters.org/blog/2012/11/28/meet-the-climate-denial-machine/191545
  
 [7] http://www.desmogblog.com/ 
 [8] http://www.amazon.com/Tale-Time-Being-Ruth-Ozeki-ebook/dp/B008EKMB82 
 [9] 
 http://www.amazon.com/Winter-World-Century-Trilogy-2-ebook/dp/B007FEFLTO 

 EKR 


-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Why Leo is not yet ready for prime time (for most users)

2014-05-15 Thread Edward K. Ream
On Thu, May 15, 2014 at 1:16 PM, wgw wgwin...@gmail.com wrote:

 there are still reasons to work on GOOD THINGS (™) without abandoning the 
 work against the BAD THINGS (®).

I agree completely.

 I particularly appreciate Lessig's Google presentation
 (https://www.youtube.com/watch?v=Ik1AK56FtVc) and TED talk
 (http://www.ted.com/talks
/lawrence_lessig_we_the_people_and_the_republic_we_must_reclaim)

Thanks for these links.  I'm watching the first talk now.  It's great stuff.

I'm finding Leo hard to work on precisely because I find politics so
interesting and important.  Not pretty, just important.

 . He makes a convincing case that money pollution is the most fundamentally
 destructive pollution we are facing today.

Again, I agree completely.  That's why I cited McCutcheon v. Federal
Election Commission.  Whether grass roots campaigns, regardless of
their targets, can ever compete with full-time well-funded propaganda
(not to mention almost-full-time dialing for dollars) remains to be
seen.  I am not hopeful.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: active pane styling switch to stylesheets

2014-05-15 Thread 'Terry Brown' via leo-editor
On Thu, 15 May 2014 13:29:54 -0500
Edward K. Ream edream...@gmail.com wrote:

 On Thu, May 15, 2014 at 12:38 PM, 'Terry Brown' via leo-editor
 
  Edward - I know your dealing with other things at the moment, but
  please let me know if this scheme doesn't work for your settings /
  environment etc. so I can fix it, always hard to know how these
  changes impact local settings.  Same for everyone else of course -
  let me know if this doesn't allow you to do what you were doing
  before.
 
 I don't see any change except that during startup the tree pane has a
 thin red border.  This changes to my default thicker blue border after
 startup is complete.  Not a big deal, obviously, but it's a little
 inconsistent.

Thanks for the feedback.  *If* you want to fiddle with it, you could
delete / set to False any `@bool use_focus_border` you have in your
local settings, and copy 

.../leo/config/leoSettings.leo#@settings--Qt Gui
(appearance)--active frame border styles

to you local settings and edit the values there to your blue / thicker
border.  I suspect that you have `@bool use_focus_border` set True in
local settings so you're still using the old code, which it would be
good to eliminate, but which I didn't remove because I'm trying to be
as non-disruptive as possible.

I guess a console / log output warning about the old code running might
be a good transitional strategy.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Why Leo is not yet ready for prime time (for most users)

2014-05-15 Thread Edward K. Ream
On Thu, May 15, 2014 at 1:57 PM, Edward K. Ream edream...@gmail.com wrote:

I'm convinced by Lawrence Lessig: we urgently need small-dollar funded
campaigns.  Googling small dollar elections will send you to various
relevant bills and organizations.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: active pane styling switch to stylesheets

2014-05-15 Thread Edward K. Ream
On Thu, May 15, 2014 at 2:59 PM, 'Terry Brown' via leo-editor
leo-editor@googlegroups.com wrote:

 Thanks for the feedback.  *If* you want to fiddle with it, you could ...[snip]

Funny, getting excited about campaign reform has freed up *more*
energy for other things.  I'll play with your suggestions and report
the results.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: active pane styling switch to stylesheets

2014-05-15 Thread Edward K. Ream
On Thu, May 15, 2014 at 2:59 PM, 'Terry Brown' via leo-editor
leo-editor@googlegroups.com wrote:

 you could
 delete / set to False any `@bool use_focus_border` you have in your
 local settings, and copy

 .../leo/config/leoSettings.leo#@settings--Qt Gui
 (appearance)--active frame border styles

 to you local settings and edit the values there to your blue / thicker
 border.

That works for me.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.