On Sun, 30 Oct 2011 11:33:14 -0700 (PDT)
SegundoBob bhoss...@ieee.org wrote:
You show your code in a button - calls to g.openWithFileName()
triggered when a user clicks on a button aren't reentrant, only calls
run on load from a @script node would be reentrant, so (1) may not
be relevant
On Thu, Oct 27, 2011 at 7:51 PM, Edward K. Ream edream...@gmail.com wrote:
On Thu, Oct 27, 2011 at 2:42 PM, Kent Tenney kten...@gmail.com wrote:
I don't know if this code is of any use, it's working ok for me.
Below is the code I'm calling from buttons. When I rclick on
the session button, my
On Oct 27, 5:51 pm, Edward K. Ream edream...@gmail.com wrote:
Thanks for this. Imo, these would make good commands.
Anyone have any suggestions? I'd like to make these into first-class
comments soon.
I assume you meant first-class commands not comments.
If you make them first-class
On Fri, Oct 28, 2011 at 3:48 PM, SegundoBob bhoss...@ieee.org wrote:
I assume you meant first-class commands not comments.
Yes.
If you make them first-class commands, you will be blessing code that you say
contains serious bugs.
When I said, I'm convinced, I meant that I agree in principle
On Fri, Oct 28, 2011 at 3:48 PM, SegundoBob bhoss...@ieee.org wrote:
On Oct 27, 5:51 pm, Edward K. Ream edream...@gmail.com wrote:
Thanks for this. Imo, these would make good commands.
Anyone have any suggestions? I'd like to make these into first-class
comments soon.
I assume you meant
On Oct 28, 2:01 pm, Edward K. Ream edream...@gmail.com wrote:
On Fri, Oct 28, 2011 at 3:48 PM, SegundoBob bhoss...@ieee.org wrote:
If you make them first-class commands, you will be blessing code that you
say contains serious bugs.
When I said, I'm convinced, I meant that I agree in
On Fri, Oct 28, 2011 at 4:25 PM, SegundoBob bhoss...@ieee.org wrote:
When I said, I'm convinced, I meant that I agree in principle with saving
and restoring tab state. I wasn't referring to any particular piece of code.
Sorry, I read too much into it and underestimated your memory for
can put
some comment of what I'm doing in the body.
There are also a button to restore the pickled session from the
current node.
I use this method from the day of the @session fun post and I found
this solution very useful, especially because it allows me to jump to
the precise UNL of each
workbook.leo I use a button that pickle the session in the
unknownAttribute of a time-node child of a day-node, where I can put
some comment of what I'm doing in the body.
There are also a button to restore the pickled session from the
current node.
I use this method from the day of the @session fun
On Thu, Oct 27, 2011 at 2:42 PM, Kent Tenney kten...@gmail.com wrote:
I don't know if this code is of any use, it's working ok for me.
Below is the code I'm calling from buttons. When I rclick on
the session button, my choices are save, load, clear, refresh,
snapshot-save, snapshot-load
On Wed, Oct 19, 2011 at 4:53 PM, SegundoBob bhoss...@ieee.org wrote:
The following code eliminates all the bad symptoms that I have
complained about, by using a after-create-leo-frame hook as Edward
suggested.
Thanks for this detailed report. I'm glad it works for you.
However, I still
On Thu, 20 Oct 2011 10:21:11 -0500
Edward K. Ream edream...@gmail.com wrote:
However, I still wonder why you want to do this. The following
pattern seems much simpler::
(in .bat or script file)
leo file1.leo file2.leo file3.leo
This is the recommended way to have Leo load
On Thu, Oct 20, 2011 at 10:34 AM, Terry Brown terry_n_br...@yahoo.com wrote:
On Thu, 20 Oct 2011 10:21:11 -0500
Edward K. Ream edream...@gmail.com wrote:
However, I still wonder why you want to do this. The following
pattern seems much simpler::
(in .bat or script file)
leo
the day of the @session fun post and I found
this solution very useful, especially because it allows me to jump to
the precise UNL of each project that I was editing.
That has also changed my initial habit of keeping everything in one
big leo file.
--
You received this message because you
On Oct 18, 8:49 pm, Terry Brown terry_n_br...@yahoo.com wrote:
On Tue, 18 Oct 2011 20:24:01 -0700 (PDT)
The only actually reported issue with the save tabs script was the
spreading out of log messages between various log panes, which may or
may not be avoided by adding a c.setLog() call to
On Tue, 18 Oct 2011 20:24:01 -0700 (PDT)
SegundoBob bhoss...@ieee.org wrote:
Edward, if I understand what you recently wrote here
Once again, ask and ye shall receive.
Saving and restoring sessions sounded like a worthy, but
challenging coding project, but for Leo, it's a yawner.
the following two functions look like they'll be all I need,
I'm sure they can be improved.
Software sometimes feels manual, is visible.
On Mon, 17 Oct 2011 07:48:28 -0500
Kent Tenney kten...@gmail.com wrote:
for pos in this_c.all_positions():
if pos.get_UNL() == unl:
this_c.setCurrentPosition(pos)
this_c.redraw()
break
There's also
On 17 Ott, 14:48, Kent Tenney kten...@gmail.com wrote:
for pos in this_c.all_positions():
if pos.get_UNL() == unl:
this_c.setCurrentPosition(pos)
this_c.redraw()
break
sorry, I'm a newbee, but is
On Mon, 17 Oct 2011 13:34:28 -0700 (PDT)
ilkosta costantino.giuliod...@gmail.com wrote:
On 17 Ott, 14:48, Kent Tenney kten...@gmail.com wrote:
for pos in this_c.all_positions():
if pos.get_UNL() == unl:
this_c.setCurrentPosition(pos)
20 matches
Mail list logo