In the @file family of derived files (@thin, @nosent, etc.) (i.e.,
not @root), you can prevent any interpretation of the immediately
following line with the "@verbatim" directive, for example
@verbatim
@others will not be interpreted, neither will << not a section name >>
If you have a bunch of
On Fri, 21 May 2010 13:19:49 -0700
Matt Wilkie wrote:
> > Is there a way to have Leo run the script when I double click the
> > node?
Also remember that nodes which start with '@button ' create buttons on the UI
which execute the script in the node when pressed. And nodes which directly
fol
> Is there a way to have Leo run the script when I double click the
> node?
slap it in a node, then press [Ctrl-B]
(or Edit > Execute script)
:)
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-edi...@googl
Interesting...
I first noticed the effect while using Leo snapshot 201004120253
(ActivePython 3.1 32bit, pyqt 4.7.2, Windows 7 64bit w/8gb ram, NTFS
file system), but switching back to 4.7.1 final didn't alleviate the
issue. The way I've been using Leo is to create a new node for my
coding proje
Hi Edward,
Thank you for the quick response!
This is the python code for what I want:
from subprocess import Popen
Popen(r'explorer C:\ProgramData\Microsoft\Windows\Start Menu')
Is there a way t
> The present scheme works best if you never use the mouse, so that
> focus never goes to the find panel.
...except one can't change the current options without using the panel.
> Feel free to report a bug: something like "not enough key bindings in
> the find panel".
right-o: https://bugs.laun
If you're just trying to run stuff in ipython and use leo as a notebook / log,
and you're in an environment where you can use the gnu shell manager 'screen',
you can also use the leoscreen.py plugin, which is a generic "leo as a notebook
/ log" tool for things that run in shells ((i)python, bash
Sh profile (that is critical for me) doesn't work properly with 0.10, at least
yet. It's probably not huge job to fix in the end, for someone that can spare
the time.
- Original message -
> On May 21, 9:53 am, "Edward K. Ream" wrote:
> > On Fri, Apr 2, 2010 at 8:39 AM, Ville M. Vainio
On May 21, 9:53 am, "Edward K. Ream" wrote:
> On Fri, Apr 2, 2010 at 8:39 AM, Ville M. Vainio wrote:
>
> > Obviously I need to keep on using IPython, so I'm maintaining
> > ipython0.9+ version:
>
> I'm concerned about this apparent fork. How long do you expect Leo
> not to be compatible with the
On May 17, 11:11 am, mdb wrote:
> Related question:
> --How does the leo documentation create html pages with '<< headline>>'
> preserved from a leo outline without producing a write file
>
> error of: undefined section: << headline >>
The @rst trees are not tangled, so this problem nev
On Fri, May 21, 2010 at 11:24 AM, mdb wrote:
> OK, thanks
>
> How can I display and write out (to a file) the raw text of
> << headline >>
You can put the << on a separate line from >>, like this:
print('<< %s%s' % (headline,
'>>'))
But that's too ugly. Instead, use g.angleBrackets
On Fri, May 21, 2010 at 10:56 AM, Terry Brown wrote:
> On Fri, 21 May 2010 10:41:35 -0500
> Terry Brown wrote:
>
>> Anyway, I know what to look at now.
>
> Fixed at 3094, I think.
It works for me. Thanks.
Edward
--
You received this message because you are subscribed to the Google Groups
"l
On Fri, May 21, 2010 at 11:06 AM, brian wrote:
> How do I launch a program from within leo?
There are many ways. On Windows, you can use os.system:
import os
os.system('cd c:\\')
os.system('dir')
For more control, you can use Python's subprocess library:
http://docs.python.org/library/subproc
On May 19, 9:39 pm, Kent Tenney wrote:
> File "/home/ktenney/work/fetched/leo-editor/leo/plugins/qtGui.py",
> line 7537, in eventFilter
> gui.onDeactivateEvent(event,c,obj,self.tag)
> AttributeError: nullGui instance has no attribute 'onDeactivateEvent'
Rev 3095 of the trunk now defines
On Fri, May 21, 2010 at 11:37 AM, Kent Tenney wrote:
>>> Am I using
>>> bridge.loadSettings=False
>>> and
>>> bridge.loadPlugins=False
>>>
>>> correctly? they don't seem to do anything.
>>
>> I don't know anything about them. Where are they documented? What do
>> you expect would happen?
>
> I
On Fri, May 21, 2010 at 12:04 PM, Matt Wilkie wrote:
> [ctrl-f] [alt-w] [space] is what I need to do to toggle whole word.
> while [ctrl-f] [alt-i] is enough to toggle ignore case
Right. Sorry for the confusion.
>
> The extra step for whole word appears to be because [alt-w] also
> applies to t
> You can change find settings using keystrokes:
>
> - Ctrl-F opens the find panel.
> - Alt-Ctrl-W toggles the Whole Word option.
>
> The underlined characters in the find remind you of the keystrokes
> that toggle the search options.
thanks for that.
hmmm,, [alt-ctrl-w] has no effect for me,
On Fri, May 21, 2010 at 10:29 AM, Edward K. Ream wrote:
> On Fri, May 21, 2010 at 9:47 AM, Kent Tenney wrote:
>
>> Am I using
>> bridge.loadSettings=False
>> and
>> bridge.loadPlugins=False
>>
>> correctly? they don't seem to do anything.
>
> I don't know anything about them. Where are they docu
OK, thanks
How can I display and write out (to a file) the raw text of
<< headline >>
in a node panel, without getting an error of undefined section (since
no <> node, just a text item)
I looked at LeoDocs.leo and what is shown in Chapter 2 of the Leo
tutorial that I assume produces the HTML cod
How do I launch a program from within leo?
I'm running windows vista. I want to be able to click a node and have
it open windows explorer with my start up menu dir. To do this from
the command line I would type .
I found the forum post that mentioned the <@run> command but I can't
find the doc
On Fri, 21 May 2010 10:41:35 -0500
Terry Brown wrote:
> Anyway, I know what to look at now.
Fixed at 3094, I think.
Sorry about the glitch.
Cheers -Terry
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo
On Fri, 21 May 2010 10:33:53 -0500
"Edward K. Ream" wrote:
> Something like __init__ takes exactly 6 args, 2 given. Note that I am
> doing rst3 rather than pushing the button.
Ok, that I see
> Also note that leoDocs.leo on the trunk has @button rst3 commented
> out, which may be why rst3 works
On Fri, May 21, 2010 at 10:22 AM, Terry Brown wrote:
> On Fri, 21 May 2010 06:58:10 -0700 (PDT)
> "Edward K. Ream" wrote:
>
>> @button rst3
>>
>> c.rstCommands.rst3()
>>
>> I'm not sure what is happening, but the proper code is not being
>> executed.
>
> It seems to be working for me, I get lots
On Fri, May 21, 2010 at 9:47 AM, Kent Tenney wrote:
> Am I using
> bridge.loadSettings=False
> and
> bridge.loadPlugins=False
>
> correctly? they don't seem to do anything.
I don't know anything about them. Where are they documented? What do
you expect would happen?
Edward
--
You received t
On Fri, 21 May 2010 06:58:10 -0700 (PDT)
"Edward K. Ream" wrote:
> @button rst3
>
> c.rstCommands.rst3()
>
> I'm not sure what is happening, but the proper code is not being
> executed.
It seems to be working for me, I get lots of
wrote:
/mnt/usr1/usr1/home/tbrown/.gnome-desktop/Package/leo/
On Mon, May 10, 2010 at 1:57 PM, tfer wrote:
> Just playing with part of a template system, the (partial) mock up for
> "range()"
Thanks for this work. You obviously understand the present code well
enough to play with it.
Generalizing the minibuffer code would be a good thing to do. I
suppose
On Sun, May 9, 2010 at 12:10 PM, Edward K. Ream wrote:
> On Fri, May 7, 2010 at 5:15 PM, thyrsus wrote:
>> Yes, perfectly horrible idea, and it's hard to know what madness would
>> drive someone to attempt it, but I'm not sure it should simply be a
>> matter of the manual saying DON'T DO THAT.
>
On Fri, May 21, 2010 at 9:59 AM, Kent Tenney wrote:
> On Fri, May 21, 2010 at 9:43 AM, Edward K. Ream wrote:
> I am thinking of the .leo file as a graph datastore which is as
> uncoupled as possible from Leo the editor/ide.
It can still be that way, provided that only str_ uA's are used.
That'
On Fri, May 21, 2010 at 10:05 AM, Terry Brown wrote:
> On Fri, 21 May 2010 06:58:10 -0700 (PDT)
> "Edward K. Ream" wrote:
>
>> The recent change to createAtButtonHelper has broken the following
>> @button node in leoDocs.leo:
>
> Whoops, I'll look at it right away.
Thanks.
Edward
--
You recei
On Fri, 21 May 2010 06:58:10 -0700 (PDT)
"Edward K. Ream" wrote:
> The recent change to createAtButtonHelper has broken the following
> @button node in leoDocs.leo:
Whoops, I'll look at it right away.
Cheers -Terry
--
You received this message because you are subscribed to the Google Groups
On Fri, May 21, 2010 at 9:43 AM, Edward K. Ream wrote:
> On Fri, May 21, 2010 at 9:22 AM, Kent Tenney wrote:
>
>> Actually, I was referring to Leo's practice of pickling UAs unless
>> they are named str_xxx
>
> That's what I understood you to mean.
>
>> Pickling by default is Python-specific and
On Fri, Apr 2, 2010 at 8:39 AM, Ville M. Vainio wrote:
> Obviously I need to keep on using IPython, so I'm maintaining
> ipython0.9+ version:
I'm concerned about this apparent fork. How long do you expect Leo
not to be compatible with the main IPython trunk?
Edward
--
You received this messa
On Fri, May 21, 2010 at 8:13 AM, Edward K. Ream wrote:
> On Thu, May 20, 2010 at 9:11 AM, Terry Brown wrote:
>
>> Kent, see also http://leo.zwiki.org/LeoBridgeSubprocess for ideas.
>
> Another idea is to put the code in an @test node, and then run the
> "unit test" externally. That appears to wo
On Wed, Mar 17, 2010 at 9:09 AM, TL wrote:
> A problem with Vim emulation was posted in the leo-editor-users
> suggestiing that key bindings are not working under Linux.
> They receive the "redfining shortcut" messages in the log file that is
> normally seen when the emulation remaps the keys but
On Fri, May 21, 2010 at 9:22 AM, Kent Tenney wrote:
> Actually, I was referring to Leo's practice of pickling UAs unless
> they are named str_xxx
That's what I understood you to mean.
> Pickling by default is Python-specific and unexpected if the
> .leo file is generalized from providing persis
On Thu, May 20, 2010 at 7:58 AM, Ville M. Vainio wrote:
> On Thu, May 20, 2010 at 3:47 PM, Edward K. Ream wrote:
>
>>> - make the default UA a string instead of a pickle
>>
>> I'm not going to change the default. That could/would break existing
>> .leo files.
>
> It wouldn't. Kent means tuple, n
On Sun, Mar 7, 2010 at 1:12 PM, resi147 wrote:
>> if sys.platform.startswith('darwin'):
>> if tkKey == 'Alt-L':
>> tkKey = stroke = '@'
>>
>> Let me know exactly what works and I'll make the changes to the trunk.
>
> I put the following in qtGui.py after # Last min
On Sun, Mar 7, 2010 at 12:25 PM, TL wrote:
> Edward, can you build the website's HTML file for chapter 22 of the
> user guide?
Done, at long last.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-e
The recent change to createAtButtonHelper has broken the following
@button node in leoDocs.leo:
@button rst3
c.rstCommands.rst3()
I'm not sure what is happening, but the proper code is not being
executed.
When I disable this button, rst3 works.
I tried to revert to the old code as follows (not
On Thu, May 20, 2010 at 9:11 AM, Terry Brown wrote:
> Kent, see also http://leo.zwiki.org/LeoBridgeSubprocess for ideas.
Another idea is to put the code in an @test node, and then run the
"unit test" externally. That appears to work for me.
This could be said to be a consequence of the "stupen
On Thu, May 20, 2010 at 7:58 AM, Ville M. Vainio wrote:
> On Thu, May 20, 2010 at 3:47 PM, Edward K. Ream wrote:
>
>>> - make the default UA a string instead of a pickle
>>
>> I'm not going to change the default. That could/would break existing
>> .leo files.
>
> It wouldn't. Kent means tuple, n
On Thu, May 20, 2010 at 11:54 AM, John Griessen wrote:
> What if you could make a code bubble view of the "code in use as it runs"
> determined by settings of the program through it's command inputs, GUI
> inputs, and states?
I'm not sure exactly what you mean, but it should be possible to
creat
On Thu, May 20, 2010 at 4:54 PM, Matt Wilkie wrote:
> All at once
>
>
> Open [Find] tab
> ignore Find and Change fields
> ...but pay special attention to "Suboutline only" and "Entire outline"
> radio buttons. You don't want to replace occurrences in the whole leo
> file by mistake!
43 matches
Mail list logo