On Wed, 5 Mar 2008 08:26:04 -0800 (PST)
Edward K. Ream [EMAIL PROTECTED] wrote:
I suspect recent Python/Tkinter bugs are causing the X crash. Really,
this kind of crash should never arise with normal Python bugs.
Oddly enough I have a similar issue. I'm getting seg. faults and
sometimes
On Sat, 22 Mar 2008 14:52:20 -0700 (PDT)
Edward K. Ream [EMAIL PROTECTED] wrote:
Exception _tkinter.TclError: 'can\'t unset PY_VAR18: no such
variable' in bound method TkPickleVar.__del__ of cleo.TkPickleVar
instance at 0x02636
418 ignored
Fixed in the leo.tb branch.
Terry, please fix
Ok - finally got the fix for the ignored Tk variable exception at
startup on to the trunk - log message didn't make so much sense because
of the order I did things in, will avoid that hiccup next time.
It was a very trivial change :-)
Cheers -Terry
On Mon, 24 Mar 2008 10:30:11 -0500
Edward K.
On Tue, 1 Apr 2008 08:14:01 -0700 (PDT)
Edward K. Ream [EMAIL PROTECTED] wrote:
def finalize_options (self):
# This method (and its pliant slaves, like 'finalize_unix()',
# 'finalize_other()', and 'select_scheme()') is where the default
Hmm, a formatted paragraph of narrative text
On Wed, 2 Apr 2008 01:47:44 -0700 (PDT)
Nik [EMAIL PROTECTED] wrote:
I have the following strange problem with cleo plugin.
My cleo settings on nodes at depth 7 are not permenant.
Strange indeed, I'll look into it, thanks.
Cheers -Terry
On Thu, 3 Apr 2008 02:01:29 -0700 (PDT)
bobjack [EMAIL PROTECTED] wrote:
When right clicking on the icon box the headline is not selected if
cleo is in use.
I'll change that so that it does, seeing I always use cleo I didn't
know the behavior was different without it :)
if you right click
On Thu, 3 Apr 2008 08:47:17 -0700 (PDT)
Edward K. Ream [EMAIL PROTECTED] wrote:
Actually, I should create an official branch. I just realized that
what I have done (create a local branch of the trunk) is dangerous: if
I forget and push that branch we will not be happy.
Not sure if you've
A comment on the term icon. Really to be clear we need to say
user-icon or status-icon. The status icon being the
content/clone/dirty/marked indicator that Leo's had for much longer
than it's had user-icons.
The rclickicon hook currently only runs off the status-icon, I don't
think any hooks
Leo's running, so I create a new outline with File-New
Then I save as in a location where foo.py exists.
The I create a node '@auto foo.py'
Then I use File-Read/Write-Read @auto (with that node selected)
Leo says it can't read it.
I close the leo file, re-open in from the recent files menu
On Sat, 05 Apr 2008 21:59:13 -0500
John Griessen [EMAIL PROTECTED] wrote:
I'm generating rest based html pages OK, and am looking at css
details, so I have a coding style question from a newbie leo user.
How will it work if I create nodes for the .css files and give them
the @auto
On Mon, 7 Apr 2008 06:11:22 -0700 (PDT)
bobjack [EMAIL PROTECTED] wrote:
So maybe bobjack's high level container thing should have
status.marked, status.dirty, etc. attributes/methods, and while the
Tk interface uses an icon to show those, another interface might
not.
Sorry I'm
On Sun, 13 Apr 2008 03:21:12 -0700 (PDT)
marko [EMAIL PROTECTED] wrote:
Running leo under python 2.4 solves the problem.
Probably Python Imaging Library (PIL) and the ImageTk module aren't
installed from 2.5's point of view, but are available to 2.4.
Cheers -Terry
On Sun, 13 Apr 2008 05:20:54 -0700 (PDT)
Edward K. Ream [EMAIL PROTECTED] wrote:
- Unified nodes are *precisely* the nodes contemplated in the graph
world.
/me grins
Recall that a key part in my rejection of the graph world
was a realization that iterators in any graph world are much more
On Mon, 14 Apr 2008 10:04:30 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
I think the way to retain the context distinctions you get from
vnodes will be through position dependent rendering of nodes. You
might need to inspect p.stack to work out the context the node is
displayed in. I
On Tue, 15 Apr 2008 10:20:18 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
Clone marks
Now is the time to mention another piece of the puzzle. In order to
set the clone mark, (unified) nodes must contain another ivar.
Provocatively, let us call this ivar n.vUa. (It will probably be
On Sun, 20 Apr 2008 15:04:04 -0700 (PDT)
Edward K. Ream [EMAIL PROTECTED] wrote:
Creating the sax-graph branch was interesting. There was quite a
bit of manual work involved.
I've found the visual merging utility kdiff3 quite useful. If you have
a bzr conflict which generates foo.THIS,
On Mon, 21 Apr 2008 19:07:56 -0500
John Griessen [EMAIL PROTECTED] wrote:
Until newbies know enough about bzr, they need to do
bzr branch URL-of-central-repos local-dir-for-branch
Bear in mind though that that creates the need to push back to the
launchpad branches. As I demonstrated a
On Tue, 22 Apr 2008 10:08:27 -0500
John Griessen [EMAIL PROTECTED] wrote:
4. Decide to go ahead with a merge at a time agreed by developers.
cd trunk
bzr pull
bzr merge ../leo-jg
(resolve any conflicts)
bzr commit -m leo-jg changed install docs
bzr
On Tue, 22 Apr 2008 10:11:30 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
Apparently our emails crossed on the net. Your statements are
exactly as I understand the situation, and exactly as I intend the
situation to be.
Criss-cross emails, like criss-cross merges, only less troublesome :)
On Tue, 22 Apr 2008 14:40:57 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
Given that you can arrive at the same node by different paths, I
think a fully populated stack gives plugins a valuable tool for
determining context, so I don't think it's just an internal
implementation detail.
On Thu, 24 Apr 2008 06:05:12 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
I assume you are asking about .css files specifically, and not
generally about any unknown file type for which there is no @auto
importer.
Yes and no, I was thinking that for any file name/extension that can be
mapped
On Thu, 24 Apr 2008 11:49:40 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
What do you think? This could be a nice addition to Leo.
I have clicked the Todo button in my email client, which as previously
(long ago) described copies the email to a folder where leo will find
it and suck it into
On Thu, 24 Apr 2008 10:30:25 -0700 (PDT)
Edward K. Ream [EMAIL PROTECTED] wrote:
It seems to me that Leo fits this description perfectly, and possibly
even extends it. What do you think?
I'm not sure - PyPy is a python interpreter which can create itself
from its own source code. So I guess
On Thu, 24 Apr 2008 11:49:40 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
I wonder if there is a way to generalize this script. The new
@ifhostname setting would allow you to specify the munges for any
machine. Oh. I have it: put a representation of the patterns in an
@data node, say
Ha, just upgraded to trunk and my recent files list truncated from ca.
15 to 3 entries. So I want to blame the recent recent files bug fix,
whereas others will want to blame my recent files demangling script. I
can't see how it can have been responsible. How are files removed from
the recent
On Thu, 24 Apr 2008 20:21:11 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
See leoPy.leo:
Code--Core classes...--@thin leoConfig.py--class
configClass--Reading and writing .leoRecentFiles.txt (g.app.config)
I read through that without working out when entries are removed from
the list, I'm
And is there also an inconsistency between the paths used by
readRecentFiles and writeRecentFilesFile, one uses a passed in
parameter localConfigFile and the other uses the path to the current
file (plus they share two paths in common)?
Ironically I chose to look at this rather than an older
On Sat, 26 Apr 2008 05:56:18 -0700 (PDT)
Edward K. Ream [EMAIL PROTECTED] wrote:
In the unlikely event that 5 years from now someone wants to convert
old derived files, they can download Leo 4.4.x to do the conversion.
XSLT also makes XML to XML conversions very easy.
Cheers -Terry
On Tue, 6 May 2008 10:30:48 -0700 (PDT)
Edward K. Ream [EMAIL PROTECTED] wrote:
Has anyone had trouble with unreadable fonts on Linux with the brand
new trunk code?
I haven't seen any problems with sax-graph branched as of this morning,
I'm using 8.04, but Tk 8.5 rather than the default 8.4.
On Tue, 6 May 2008 13:13:06 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
I haven't seen any problems with sax-graph branched as of this
morning, I'm using 8.04, but Tk 8.5 rather than the default 8.4.
Did you rebuild Python from sources? Just installing Tk 8.5 has no
effect on my box.
Seems to me that if you run leo like this:
cd /home/tbrown
python /home/tbrown/path/path/leo/src/leo.py
Leo says
load dir:
/mnt/usr2/bkup/tb_usr1/home/tbrown/path/path/leo/src
global config dir:
/mnt/usr2/bkup/tb_usr1/home/tbrown/path/path/leo/config
home dir:
/home/tbrown
reading
On Fri, 9 May 2008 12:22:43 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
Leo will read myLeoSettings.leo twice if that's the file you are
actually opening. It's not worth fixing.
It's not the file I'm actually opening, it's $HOME/myLeoSettings.leo
and $PWD/myLeoSettings.leo (using $PWD as
Re @auto - I find I prefer __init__ defined in the body text of the
class node, rather than its own node. Because the docs. for ivars
belong (according to epydoc, and I agree) in the class docstring, not
the __init__ docstring, and it's easier to keep them in sync. if
they're in the same
Terry Brown [EMAIL PROTECTED] wrote:
On Sat, 10 May 2008 04:39:03 -0700 (PDT)
bobjack [EMAIL PROTECTED] wrote:
File C:\bobjack\mod_rclick\leo\src\leoMenu.py, line 1611, in
deleteRecentFil
esMenuItems
len(self.c.recentFilesStatic)+len(self.c.recentFiles))
AttributeError
On Sun, 11 May 2008 02:31:51 -0700 (PDT)
bobjack [EMAIL PROTECTED] wrote:
Terry
Other problems with Recent Files mods.
The first problem is that if people have customized @menus in
myLeoSettings then the changes to @menu Recent Files will not be
seen.
Hmm, given that, perhaps the
r399
I just upped some fixes for the repeated menu, sort clears list, and
myLeoSettings hides menus problems with the recent recent files changes.
r400
made leoSettings.leo a fixedWindow
fixed 'just a 0 entry' glitch in recent file list
Cheers -Terry
On Sun, 11 May 2008 11:26:32 -0700
Kayvan A. Sylvan [EMAIL PROTECTED] wrote:
The forth problem is the one Kayvan reported, I think that may go
away with the reversion for problem 1.
It's fixed now.
Thanks. Actually it wasn't related to what bobjack reported, it was
related to me
r401
I added an after-auto hook, expected that to be hard but turns out it's
trivial :-)
Also a plugin initinclass.py which moves the __init__ into the class
def'n after an @auto file loads so it's easier to keep ivar docs in the
class docstring in sync with what __init__ actually does, and you
On Sun, 11 May 2008 11:53:39 -0500
Terry Brown [EMAIL PROTECTED] wrote:
r400
made leoSettings.leo a fixedWindow
Yeah, so, I guess that was dumb, that makes all windows fixed. It
would be nice if leoSettings.leo could be fixed, but I've undone the
change for now - was wondering why tree
On Mon, 12 May 2008 02:03:01 -0700 (PDT)
bobjack [EMAIL PROTECTED] wrote:
Perhaps you could keep that and use the other
method as a backup if recentFilesStatic is empty. Or better still if
recentFilesStatic is empty just print a message explaining what is
going on and telling users to
On Tue, 13 May 2008 13:35:25 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
On Mon, May 12, 2008 at 10:25 AM, Terry Brown
[EMAIL PROTECTED] wrote:
I think a general solution to menu customization without complete
override would be better, although hard.
I would like to discourage
sax-graph changes for sort-siblings had broken priority sorting in
cleo, a trivial fix is applied to the trunk now.
Bizarre part was that launchpad seemed to have forgotten my public key,
no big deal but just a heads up in case it happens to anyone else.
Cheers -Terry
On Tue, 13 May 2008 14:43:23 -0500
Terry Brown [EMAIL PROTECTED] wrote:
Bizarre part was that launchpad seemed to have forgotten my public
key, no big deal but just a heads up in case it happens to anyone
else.
Eww, just got a note from Launchpad explaining the key deletion, seems
the random
Seems odd. Here's the top of `bar log` on my copy of the trunk:
revno: 405
committer: Terry Brown [EMAIL PROTECTED]
branch nick: trunk
timestamp: Tue 2008-05-13 14:39:21 -0500
message:
fixed sibling sort / cleo breakage, sort tuples
On Tue, 13 May 2008 19:15:24 -0500
Terry Brown [EMAIL PROTECTED] wrote:
`bar log`
Ha ha. `bzr log`
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
leo-editor group.
To post to this group, send email to leo
As Kayvan has been pointing out for some time now ;-) it seems
revisions 400-405 vanished of the trunk...? Thoughts, anyone?
Oh - wait a minute. I just did:
mv trunk trunk404
bzr branch lp:leo-editor trunk
Branched 399 revision(s).
but when I inspect the log (`bar log |less`) it looks like
On Wed, 14 May 2008 03:16:06 -0700 (PDT)
bobjack [EMAIL PROTECTED] wrote:
The fly in the ointment is that I can't get this to work on linux.
Could any of the linux gurus out there offer any advice?
I get
TclError: couldn't load file
On Wed, 14 May 2008 03:16:06 -0700 (PDT)
bobjack [EMAIL PROTECTED] wrote:
The fly in the ointment is that I can't get this to work on linux.
Could any of the linux gurus out there offer any advice?
Ok, I compiled the current tkhtml tarball (alpha 16?) against Tk 8.5 and
it seg. faulted while
On Wed, 14 May 2008 09:37:11 -0700 (PDT)
bobjack [EMAIL PROTECTED] wrote:
Thanks for your help Terry, I'm a bit out of my depth here.
All sorts of possibilities, yes, but I'm not sure how useful it will
be if people have to compile the .so for their system before they use
it. Can it be
to handle trees of bindings. I think Terry Brown may want to do
something about this. I tried to discourage him, but he persisted :-)
:-) My thoughts were aimed at the @menu settings, not all settings in
general... of course now I'm wondering if they are in fact
generalizable... something sort
On Wed, 14 May 2008 17:24:19 -0500
Terry Brown [EMAIL PROTECTED] wrote:
I'm hacking on a branch too.
I've just pushed a branch 'menuat' which adds a @menuat command that
can be used in @settings in myLeoSettings to modify the menus created
by @menus in leoSettings.
BE WARNED: this branch
On Wed, 21 May 2008 05:54:22 -0700 (PDT)
hairui [EMAIL PROTECTED] wrote:
One important reason is that I doubt the problem just occurs on Ubuntu
8.04 or some other similar platform.
ImageTk is a separate package in Ubuntu, I think Leo requires both PIL
(package python-imaging) and the package
On Wed, 21 May 2008 23:21:44 +1000
Mark Berndt [EMAIL PROTECTED] wrote:
I had a problem like this in a debian based distro. The bottom line
was that the image library used for the cleo icons was installed for
python 2.4 and not python 2.5. Reverting to python 2.4 solved the
problem, bit
On Wed, 21 May 2008 08:10:56 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
Packages which ubuntu thinks depend on tk8.4, like PIL, ImageTk,
tkcvs etc., you will need to build from source, but others should
work ok.
This is a nightmare. Googling download ImageTk brings me to
On Wed, 21 May 2008 17:22:51 +0300
Ville M. Vainio [EMAIL PROTECTED] wrote:
- I have no idea where the links files are. But since Python works
it should allow Ubuntu to restart even if ubuntu starts using the
newly-installed python. And indeed, restarting Ubuntu went well.
I'm still
Has the ability to override @font settings changed?
I get:
reading settings
in
/home/tbrown/Desktop/Package/leo/bzr/leo.repo/trunk/leo/config/leoSettings.leo
reading settings in /home/tbrown/leoSettings.leo
reading settings in /home/tbrown/myLeoSettings.leo
reading settings in
trunk-test
PYTHONPATH=$PYTHONPATH:/home/tbrown/Desktop/Package/leo/bzr/leo.repo/trunk-test
python launchLeo.py Traceback (most recent call last): File
launchLeo.py, line 6, in module leo.core.runLeo.run()
File
On Tue, 3 Jun 2008 13:23:45 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
There appear to be big problems with rClick.py. It segfaults on Linux
when I right click in the body pane. Even when disabled, there is a
crash in setDefaultContextMenus. More work is needed.
Thanks, disabled it and
I can't work this out...
@enabled-plugins found in myLeoSettings.leo
Traceback (most recent call last):
File
/media/usr1/usr1/home/tbrown/.gnome-desktop/Package/leo/bzr/leo.repo/trunk-test/leo/core/leoPlugins.py,
line 221, in loadOnePlugin init_result = result.init()
File
I think push is inherently dangerous - you should only ever need to use
it once on a launch pad branch, to create the branch.
After that I'd use a bound checkout, so that when you commit bzr checks
for changes and refuses to do anything until they're merged.
bzr init-repo leo.repo
cd leo.repo
On Wed, 4 Jun 2008 06:09:42 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
File [snip]/leo/core/leoGlobals.py,
line 2728, in plugin_signon m = g.Bunch(__name__='',__version__='')
AttributeError: 'NoneType' object has no attribute 'Bunch'
can not load enabled plugin: initinclass
On Wed, 4 Jun 2008 05:58:51 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
On Tue, Jun 3, 2008 at 2:14 PM, TL [EMAIL PROTECTED] wrote:
I pushed my changes to the trunk but it looks like I was only at rev
479 but the trunk was at 481. Edward, do you wan't to restore your
changes or
On Wed, 4 Jun 2008 09:20:32 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
What choice do I have?
Is that a rhetorical question, or a request for enhancement
suggestions?
OpenGL-Leo ? :-)
Cheers -Terry
--~--~-~--~~~---~--~~
You received this message
On Wed, 4 Jun 2008 09:36:26 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
OpenGL-Leo ? :-)
:-) I've lost track of the number of gui's I've written for Leo.
For me,
at least, it has little appeal. I consider this a kind of
maintanance-mode item. It certainly does not create a new
p.s.
More careful observation - no redraw if I click on the icon box, but I
do get a redraw if I click on the headline. This code's being
triggered by select1 hook, which runs if either position's clicked...?
Cheers -Terry
On Wed, 4 Jun 2008 12:46:16 -0500
Terry Brown [EMAIL PROTECTED] wrote
when you click the icon box.
Cheers -Terry
On Wed, 4 Jun 2008 12:57:29 -0500
Terry Brown [EMAIL PROTECTED] wrote:
p.s.
More careful observation - no redraw if I click on the icon box, but I
do get a redraw if I click on the headline. This code's being
triggered by select1 hook, which runs
I've just pushed a more polished version of my @menuat @settings
directive to the menuat branch.
The basic syntax is
@settings
@menuat /path/to/menu before|after|copy|cut|append [subtree|clipboard]
@menu MyNewMenu
@item Item 1
@item Item 2
Which would search the system
On Tue, 3 Jun 2008 06:12:42 -0700 (PDT)
Edward K. Ream [EMAIL PROTECTED] wrote:
On May 9, 1:06 pm, Terry Brown [EMAIL PROTECTED] wrote:
Leo will read myLeoSettings.leo twice if that's the file you are
actually opening. It's not worth fixing.
It's not the file I'm actually
On Thu, 5 Jun 2008 09:22:14 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
The future is now, provided g.newDrawing is True.
Ok, I'll update cleo then.
So it looks like we may be looking for a call to x.bind (or
x.bind2) where x != c.
Just to be sure, we is you? I.e. this is a event
Does anyone use the at_folder plugin?
I have a major re-working of it, so different I feel it replaces it
rather than updates it, and I'm not sure whether to replace it or add
it as a new plugin.
The new version marks directories /foo/ and enters them (i.e. adds
child nodes for their contents)
I have
Dog
Horse
/Cat/
Mouse
Cat.aux
Cat.rrd
Mite
I want to select /Cat/, run a button script, and get this
Dog
Horse
Cat
/Cat/
Cat.aux
Cat.rrd
Mouse
Mite
I run this script from a button:
bn = p.headString().strip('/')
others = [i.copy() for i in p.siblings_iter()
if
On Thu, 5 Jun 2008 10:17:03 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
oh, wait, looks like it's reading the same .leoRecentFiles.txt
twice... probably not that important, but if you want to squash
that while you're there...
The same kind of fix is on the trunk now, r502. Please
I'd hoped to fix this myself, but it's sufficiently broken to need
pointing out.
plugins_menu.py attempts:
import leo.core.leo_to_html as leo_to_html
find . -name *html* yields:
./leo_to_html.xsl
so whatever leo_to_html was, it's gone away.
plugins_menu.py appears to only be using
the trunk.
Cheers -Terry (glaring balefully at `find`).
On Thu, 5 Jun 2008 12:25:25 -0500
Terry Brown [EMAIL PROTECTED] wrote:
I'd hoped to fix this myself, but it's sufficiently broken to need
pointing out.
plugins_menu.py attempts:
import leo.core.leo_to_html as leo_to_html
find
On Thu, 5 Jun 2008 13:21:06 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
others = [i.copy() for i in p.siblings_iter()
if i.headString().startswith(bn+'.')]
This is wrong: positions become invalid after changing the outline.
Sort of what I thought, but how do you get around that?
On Thu, 5 Jun 2008 13:27:28 -0500
Terry Brown [EMAIL PROTECTED] wrote:
I'll try re-arranging the algorithm so things are changed from the end
of lists first, but that's a bit arcane.
ok, this version works:
bn = p.headString().strip('/')
n = p.insertAfter()
c.setHeadString(n, bn
On Thu, 5 Jun 2008 13:45:30 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
Is that the best way to address these things? It seems to add
complexity beyond the problem domain.
I think the complexity is, in fact, part of the problem domain. You
simply must be aware of whether positions
On Thu, 5 Jun 2008 11:32:36 -0700 (PDT)
Edward K. Ream [EMAIL PROTECTED] wrote:
BTW, I added yet another callback in tree.setCanvasBindings to
handle tag_bind, but it looks like all or most calls to
w.tag_bind(...) should be changed to c.tag_bind(w,...).
The fix in on the trunk, rev
On Mon, 9 Jun 2008 09:08:42 -0700 (PDT)
Edward K. Ream [EMAIL PROTECTED] wrote:
On Jun 8, 5:32 am, bobjack [EMAIL PROTECTED] wrote:
I apologize for these problems and will do my best to fix them as
soon as possible.
I just pushed a change to tkTree.setCanvasBindings that may be related
On Tue, 10 Jun 2008 08:21:22 -0700 (PDT)
bobjack [EMAIL PROTECTED] wrote:
Another bug seems to have crept in to plugins_menu. Here is the fix
but I am unable to commit at the moment so can't fix it myself.
@thin plugins_menu.py--class TkScrolledMessageDialog--
show_message_as_html
On Sun, 8 Jun 2008 08:11:33 -0500
Kent Tenney [EMAIL PROTECTED] wrote:
The @menuat capability is great.
- it looks like @menuat only works on the file which contains it.
Would it be possible to have @menuat settings active as a result
of a leoSettings.leo file?
Testing, it seems the
With rclick enabled I don't get redraws when I change cleo priority
icons, there is an redraw with rclick disabled.
Cheers -Terry
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
leo-editor group.
To post to this
tree.
Cheers -Terry
On Fri, 13 Jun 2008 08:38:26 -0500
Kent Tenney [EMAIL PROTECTED] wrote:
On Fri, Jun 13, 2008 at 6:25 AM, Edward K. Ream [EMAIL PROTECTED]
wrote:
On Tue, Jun 10, 2008 at 12:05 PM, Terry Brown
[EMAIL PROTECTED] wrote:
If filename is an absolute filename
On Tue, 17 Jun 2008 08:47:20 -0500
Terry Brown [EMAIL PROTECTED] wrote:
os.path is OS aware... but g.os_path_ may be the better option anyway,
saves importing os etc. Of course, I hope the active_path plugin will
be able to use leo's internal @path logic when it understands nesting.
Second
What's the best way do delete nodes?
I find myself writing this:
def cmd_PurgeVanishedFiles(c):
Remove files no longer present, i.e. *filename* entries.
p = c.currentPosition()
c.beginUpdate()
try:
cull = [child.copy() for child in p.children_iter()
if
On Thu, 19 Jun 2008 09:53:55 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
It is rare to have more than a dozen children
Leo can be used for many different tasks, certainly one focus is
writing code, and in that case you're probably right, but other
applications like cataloging various things,
Because you can never have too many @file flavors ;-) I'll point out
there's a plugin that adds a @text node which maybe does closer to what
Kent was expecting. When you double click on something it reads the
file, writes the file on outline save, I think.
On Fri, 20 Jun 2008 09:03:35 -0700
Turns out @menuat is completely unintrusive, if you don't count the new
@settings node type list entries. Here's the diff... shall I merge w.
trunk?
Cheers -Terry
36c36
'popup', # New in Leo 4.4.8.
---
'menuat', 'popup', # New in Leo 4.4.8.
78c78
---
'menuat':
Minor nit - insert-file to load a file into a node, text appears in the
body pane. Without doing anything else to the body pane click on
another node. Inserted text is lost - body for node is empty. As long
as you move the cursor into the body frame and press a key after
inserting the
c.beginUpdate()
try:
add / change icons on some nodes
c.setChanged(True)
finally:
c.endUpdate()
seems not to give a redraw *after* a script button is pressed.
It does give one before the action is taken, so pressing the button
twice shows the change.
Sometime yesterday, forgot to mention it.
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-editor@googlegroups.com
To unsubscribe from this
On Mon, 23 Jun 2008 15:59:06 -0500
Kent Tenney [EMAIL PROTECTED] wrote:
On Mon, Jun 23, 2008 at 1:39 PM, Terry Brown
[EMAIL PROTECTED] wrote:
Sometime yesterday, forgot to mention it.
I have the current leo-editor code, when I open
the file leo/test/menuAtTest.leo I'm not seeing
Load the attached outline and save it, causing test.html to be written.
Seems to be two extra in the .html file? @thin does the same thing.
Cheers -Terry
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
leo-editor
On Tue, 24 Jun 2008 01:56:54 -0700 (PDT)
bobjack [EMAIL PROTECTED] wrote:
# beforeBox beforeIcon beforeHeadline afterHeadline
I hadn't realized these options were available, thank you for pointing
them out.
I'm not sure if they're all implemented, perhaps just beforeIcon and
p.s. when I switched to @nosent for this file I found the probably
seemed to persist, but I got an enigmatic
dubious brackets in Left column
dubious brackets in Right column
report while writing.
Cheers -Terry
On Mon, 23 Jun 2008 17:07:51 -0500
Terry Brown [EMAIL PROTECTED] wrote:
Load
On Tue, 24 Jun 2008 14:49:33 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
With the benefit of complete ignorance of this part of Leo's core,
it sounds not too complicated?
This has nothing to do with programming, and everything to do with
what @thin is supposed to do. The whole point
On Tue, 24 Jun 2008 14:56:14 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
I'm not sure whether the fix is to the docs or to the code. If to
the code, @ignore should be recognized either everywhere, or
nowhere...
I think it's very useful, given the problems with commenting based
solutions
On Tue, 24 Jun 2008 17:15:55 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
On Tue, Jun 24, 2008 at 11:52 AM, Terry Brown
[EMAIL PROTECTED] wrote:
p.s. when I switched to @nosent for this file I found the probably
seemed to persist, but I got an enigmatic
dubious brackets in Left
On Thu, 26 Jun 2008 11:37:32 -0500
Edward K. Ream [EMAIL PROTECTED] wrote:
The simplest thing that could possibly work is to mark nodes
(possibly in a way distinct from standard marks) and then support
commands to operate on such marked nodes. Say commands such as:
clone-marked-nodes,
On Thu, 26 Jun 2008 14:42:30 -0700 (PDT)
TL [EMAIL PROTECTED] wrote:
What limitations would you put on the node's that could be
simultaneously selected?
None... which is already the case with nodes that can be simultaneously
marked, of course.
Would they all have to have a common parent
1 - 100 of 3638 matches
Mail list logo