Re: Apply Leo's main stylesheet to plugin window

2015-08-25 Thread john lunzer
quick-replace @command to a plugin and I looked around in the current plugins but I couldn't find an example of how I apply Leo's main stylesheet to floating QtWidgets. I'm trying to match Leo's look and feel. Any guidance would be greatly appreciated. I'd aim for free_layout

quickMove plugin fails w/ Qt5

2015-07-24 Thread resi147
Hi, was trying the head version of leo under python3/PyQt5 and had some minor issues. While I uncommented some plugins to get rid of those (was it viewrenderer?) one plugin I really wanted to stay is quicMove (as I use it with my own GTD system in leo). I get hook failed: after-create-leo

Re: quickMove plugin fails w/ Qt5

2015-07-24 Thread resi147
is the problem as to work both qt4 and qt5 it should be something else (QWidget.QAction??.. not being a plugin developer I don't know the details) Does it mean I cannot use the plugin under PyQt5? Is there a list somewhere which plugins are Qt4-only, Qt5-only(probably none) and Qt-independant

Re: quickMove plugin fails w/ Qt5

2015-07-24 Thread 'Terry Brown' via leo-editor
On Fri, 24 Jul 2015 08:27:56 -0700 (PDT) resi147 sca...@yebu.de wrote: I think the QtGui.QAction is the problem as to work both qt4 and qt5 it should be something else (QWidget.QAction??.. not being a plugin developer I don't know the details) Does it mean I cannot use the plugin under

Re: plugin expfolder failing to install

2015-07-01 Thread Israel Hands
through the plugins and I though expfolder was what I wanted it turned out that active-path did what I was looking for. Maybe check it out. On Tuesday, June 30, 2015 at 1:37:58 PM UTC-4, Jacob Peck wrote: The file leo/plugins/expfolder.ini no longer appears to be in the repo, so the plugin

Re: plugin expfolder failing to install

2015-06-30 Thread Jacob Peck
The file leo/plugins/expfolder.ini no longer appears to be in the repo, so the plugin is bailing when trying to read it's init file. This is a good sign that the plugin hasn't been workable for ages. I don't see any author info in the plugin's docstring. I suppose someone could patch this up

plugin expfolder failing to install

2015-06-30 Thread Israel Hands
\leoSettings.leo reading settings in C:\emacs-24.3\.leo\myLeoSettings.leo loadOnePlugin: exception loading plugin: leo.plugins.expfolder Traceback (most recent call last): File C:\Python34\lib\configparser.py, line 1116, in _unify_values sectiondict = self._sections[section] KeyError: 'Main' During

Re: plugin expfolder failing to install

2015-06-30 Thread john lunzer
leo/plugins/expfolder.ini no longer appears to be in the repo, so the plugin is bailing when trying to read it's init file. This is a good sign that the plugin hasn't been workable for ages. I don't see any author info in the plugin's docstring. I suppose someone could patch this up to use

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-05-01 Thread Edward K. Ream
On Fri, May 1, 2015 at 5:01 PM, Edward K. Ream edream...@gmail.com wrote: ​ ​ So I think the problem is in PyInterp. ​Rev ca8fd45 fixes the problem. PyInterp​.focusInEvent must call the base focusInEvent method in order for ensureCursorVisible to have effect. I prefer the following over

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-05-01 Thread Jacob Peck
On 5/1/2015 9:29 AM, Edward K. Ream wrote: On Tuesday, April 28, 2015 at 2:06:56 PM UTC-5, Jacob Peck wrote: Rev d30c0993f8 includes a new plugin, python_terminal.py, that adds an interactive python session to your log pane. This is very cool. A few comments: 1. The code is based

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-05-01 Thread Edward K. Ream
On Fri, May 1, 2015 at 8:29 AM, Edward K. Ream edream...@gmail.com wrote: 2. It's off putting not to have a blinking cursor when the pane has focus. ​It took awhile to track down that c.​idle_focus_helper is the code that checks for missing focus. However, the active switch isn't set, which

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-05-01 Thread Edward K. Ream
On Tuesday, April 28, 2015 at 2:06:56 PM UTC-5, Jacob Peck wrote: Rev d30c0993f8 includes a new plugin, python_terminal.py, that adds an interactive python session to your log pane. This is very cool. A few comments: 1. The code is based on Python's code module in the standard library

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-04-30 Thread john lunzer
It doesn't seem like Spyder is doing anything that Leo couldn't do. There may be a good reason that Spyder handles kernels externally, it might be the only reasonable way to get mulitple IPython kernels running. All of that said it's going to take me quite of bit of study of Leo and IPython to

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-04-30 Thread Peter Mills
I've done a bit of looking at Spyder myself with similar ideas. However, Spyder's IPython console uses an external IPython kernel, so it would be impossible(?) to access Leo's innards using this technique. In fact, I haven't been able to find a way to have both the GUI of IPython QtConsole

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-04-30 Thread Edward K. Ream
On Wed, Apr 29, 2015 at 4:53 AM, john lunzer lun...@gmail.com wrote: If ​...​ I get Edward's advice about how to deal with the PyQt4 API V1/V2 issue I was having. Forcing Leo to import V2 doesn't seem to break anything. Since Leo supports PyQt5 which only uses V2 I believe, then maybe it

Re: Minimal Code example for plugin which can add widget to a pane

2015-04-29 Thread Edward K. Ream
On Tue, Apr 28, 2015 at 8:47 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: I've posted examples here: https://github.com/leo-editor/snippets/blob/master/examples/demo_widget.py ​Thanks for this. Leo's home page now has a link to the snippets page in the left sidebar.

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-04-29 Thread john lunzer
functional apart from the g,c,p omissions, or does it need the ILeo bug fixed first? Is the code available yet? On Wednesday, April 29, 2015 at 5:06:56 AM UTC+10, Jacob Peck wrote: Hi all, Rev d30c0993f8 includes a new plugin, python_terminal.py, that adds an interactive python session

Re: Minimal Code example for plugin which can add widget to a pane

2015-04-29 Thread john lunzer
my own plugin which can add a widget to a pane. I'm sure this isn't the best way to go about this and I was wondering if there was a minimal example to show how to achieve a plugin that can be added to a pane. I would be grateful for the help. Regarding adding widgets and ignoring

Re: Minimal Code example for plugin which can add widget to a pane

2015-04-28 Thread 'Terry Brown' via leo-editor
On Tue, 28 Apr 2015 03:56:14 -0700 (PDT) john lunzer lun...@gmail.com wrote: I'm trying to slosh through bookmarks.py and hack it up to give me my own plugin which can add a widget to a pane. I'm sure this isn't the best way to go about this and I was wondering if there was a minimal

Minimal Code example for plugin which can add widget to a pane

2015-04-28 Thread john lunzer
I'm trying to slosh through bookmarks.py and hack it up to give me my own plugin which can add a widget to a pane. I'm sure this isn't the best way to go about this and I was wondering if there was a minimal example to show how to achieve a plugin that can be added to a pane. I would

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-04-28 Thread john lunzer
Oh man, this is great. I've been toying around with a rudimentary plugin to an interactive IPython console most adapted from this http://stackoverflow.com/questions/2583/embedding-ipython-qtconsole-and-passing-objects answer. I haven't done much more than what you see, I haven't included g

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-04-28 Thread john lunzer
:58:35 PM UTC-4, john lunzer wrote: Oh man, this is great. I've been toying around with a rudimentary plugin to an interactive IPython console most adapted from this http://stackoverflow.com/questions/2583/embedding-ipython-qtconsole-and-passing-objects answer. I haven't done much more

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-04-28 Thread Peter Mills
apart from the g,c,p omissions, or does it need the ILeo bug fixed first? Is the code available yet? On Wednesday, April 29, 2015 at 5:06:56 AM UTC+10, Jacob Peck wrote: Hi all, Rev d30c0993f8 includes a new plugin, python_terminal.py, that adds an interactive python session to your log

New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-04-28 Thread Jacob Peck
Hi all, Rev d30c0993f8 includes a new plugin, python_terminal.py, that adds an interactive python session to your log pane. Here's the docstring: Leo.plugins.python_terminal Provides an interactive python terminal in the log pane. By Jacob M. Peck Usage Enabling this plugin will add

Rev e87ad48 fixes the vim.py plugin. Please test

2015-04-08 Thread Edward K. Ream
The vim.py plugin has been broken since Sunday, April 05, 2015 11:35:19 AM. Rev e87ad48, released early this morning, Wednesday, April 08, 2015 12:11:45 AM, seems to fix all of the problems introduced on April 5. However, this is inherently difficult and complex code. There are a bewildering

Rev 438826c retires the watchfile plugin

2015-04-07 Thread Edward K. Ream
This plugin never did anything significant. ExternalFilesController.on_idle now watches external files. Removing this plugin reduces confusion and duplicate code. This a bit of adminstrivia for the b2 release. Edward -- You received this message because you are subscribed to the Google

Re: mod_tempfname plugin will move into Leo's core

2015-04-06 Thread Edward K. Ream
On Monday, April 6, 2015 at 6:14:20 AM UTC-5, Edward K. Ream wrote: As of rev f1b15c8, ExternalFilesController.temp_file_path contains code equivalent to that in the mod_tempfile plugin... The plugin will soon be removed from Leo's repo and from the list of documented plugins. Done at rev

Re: mod_tempfname plugin will move into Leo's core

2015-04-06 Thread Edward K. Ream
On Sunday, March 29, 2015 at 4:10:00 AM UTC-5, Edward K. Ream wrote: This plugin monkey patches c.openWithTempFilePath to provide alternate names and places for the temporary files that the open-with command and c.openWith use. As of rev f1b15c8, ExternalFilesController.temp_file_path

mod_tempfname plugin will move into Leo's core

2015-03-29 Thread Edward K. Ream
This plugin monkey patches c.openWithTempFilePath to provide alternate names and places for the temporary files that the open-with command and c.openWith use. Imo, the plugin is important enough to be supported at all times. Furthermore, retiring the plugin will allow c.openWith

Re: mod_tempfname plugin will move into Leo's core

2015-03-29 Thread Edward K. Ream
On Sunday, March 29, 2015 at 4:10:00 AM UTC-5, Edward K. Ream wrote: I spent several hours revising and simplifying the plugin's code. It now uses g.sanitize_filename, which has also been revised to ensure it is compatible with the plugin. A new unit test covers g.sanitize_filename. I

Re: quickmove plugin will now move all selected nodes...

2015-03-19 Thread Edward K. Ream
it by selecting the plugin from the Plugins menu. I would like to avoid mentioning this kind of thing in the what's new section. 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

quickmove plugin will now move all selected nodes...

2015-03-16 Thread 'Terry Brown' via leo-editor
...instead of just the current node. If the current node is the only selected node, this is no different to its previous behavior. Because the change was mostly moving the move node to target code into a for loop, the git diff seemed large and hard to follow, as the indentation change looked

Re: Active Path Plugin Error

2015-03-02 Thread Edward K. Ream
On Sat, Feb 28, 2015 at 11:26 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Fixed - http://stackoverflow.com/questions/7116889/python-file-attribute-absolute-or-relative apparently __file__ may or may not be absolute - must be almost always absolute, or this would

Re: Active Path Plugin Error

2015-02-28 Thread Beckett Simmons
Yeah, I was wondering why I would be the first one coming across this bug. But thanks for fixing that so quickly! Beckett On Saturday, February 28, 2015 at 1:26:40 PM UTC-4, Terry Brown wrote: On Sat, 28 Feb 2015 10:26:43 -0600 Edward K. Ream edre...@gmail.com javascript: wrote:

Re: Active Path Plugin Error

2015-02-28 Thread 'Terry Brown' via leo-editor
On Sat, 28 Feb 2015 10:26:43 -0600 Edward K. Ream edream...@gmail.com wrote: ​It looks like todo.py needs to compute an absolute path. Clearly, ​ os.path.split(__file__)[0] is not up to the job. Fixed - http://stackoverflow.com/questions/7116889/python-file-attribute-absolute-or-relative

Re: Active Path Plugin Error

2015-02-28 Thread Edward K. Ream
On Sat, Feb 28, 2015 at 8:00 AM, Beckett Simmons beckettsimm...@hotmail.com wrote: Leo Log Window Leo 5.0-final, build 20150225125830, Wed Feb 25 12:58:30 CST 2015 Git repo info: branch = master, commit = 51e89bdbb865 Python 2.7.9, PyQt version 4.8.6 Windows 8 AMD64 (build 6.2.9200)

Re: Bibtex Plugin no action after double clicking

2015-01-10 Thread Juaco
Dear all, I made some additional tests with the bibtex plugin under Python 2.7 and Python 3. There seems to be still a problem when using the snapshot 01c1224 of 28th December. The problem appears in both Python 2 and Python 3: The body text of any of the article, journal, etc. nodes

Re: Bibtex Plugin no action after double clicking

2014-12-22 Thread Juaco
Dear Edward, after some days I came again to test the last modifications of the bibtex.py plugin. I am trying with the build Leo 5.0-final, build 20141214175420, Sun Dec 14 17:54:20 CST 2014, which I downloaded using git (the same I downloaded from the Leo snapshots). I tested it today

stickynotes plugin: added Find: box to windows

2014-12-14 Thread 'Terry Brown' via leo-editor
I just added a Find: box to the bottom of stickynote windows. My workflow often involves opening one with several pages of text in it, then not being able to find the info. I want without scanning through that page by page, hence the Find: box. It would be easy enough to hide it if anyone misses

Re: Bibtex Plugin no action after double clicking

2014-12-11 Thread Edward K. Ream
On Wed, Dec 10, 2014 at 2:07 PM, Juaco joaquinlop...@gmx.de wrote: File /dn/home2/Leo/leoGit/leo-editor5.0_20141210/leo/plugins/bibtex.py, line 221, in writeTreeAsBibTex typestring = h[:h.find(' ')].lower() TypeError: Type str doesn't support the buffer API ​ Fixed at rev 15a1945.

Re: Bibtex Plugin no action after double clicking

2014-12-11 Thread Juaco
I am once more greatly surprised with your support and dedication to Leo. It's incredible, I can only say once more a big Thanks for your dedication. I will test it and send you my report. Greetings, Juaco Am Donnerstag, 11. Dezember 2014 14:13:56 UTC+1 schrieb Edward K. Ream: On Wed, Dec

Re: Bibtex Plugin no action after double clicking

2014-12-10 Thread Juaco
Dear Edward, thanks for your unconditional support. I downloaded the last git version (Leo 5.0-final, build 20141208163902, Mon Dec 8 16:39:02 CST 2014) and it worked better. You mentioned however a modification yesterday Dec. the 09th. One can read an existing bib file. On the contrary,

Re: Bibtex Plugin no action after double clicking

2014-12-09 Thread Juaco
. November 2014 20:55:27 UTC+1 schrieb Terry Brown: On Sat, 29 Nov 2014 06:21:38 -0800 (PST) Juaco joaqui...@gmx.de javascript: wrote: The global name file cannot be found. It is possible that I have simply to activate another plugin...? Hmm, that's a Python 3 incompatibility, easy to fix

Re: Bibtex Plugin no action after double clicking

2014-12-09 Thread Edward K. Ream
On Tue, Dec 9, 2014 at 2:32 PM, Juaco joaquinlop...@gmx.de wrote: I tried today again with Python2.7, indeed it worked! Finally I can see the chaos (!) in my *.bib files. It would be nice to have it also under Python 3. ​Rev 7719f4f fixes several Python 3 compatibility issues: - Changed

Re: Bibtex Plugin no action after double clicking

2014-11-29 Thread Juaco
First of all thanks a lot for your allways valuable help ! After my *-bib files have become longer and longer, I decided to try with Leo and the bibtex.py plugin. Simply because I feel myself very confident with the Leos' possibilities for structuring the information. I had indeed already

Re: Bibtex Plugin no action after double clicking

2014-11-29 Thread 'Terry Brown' via leo-editor
On Sat, 29 Nov 2014 06:21:38 -0800 (PST) Juaco joaquinlop...@gmx.de wrote: The global name file cannot be found. It is possible that I have simply to activate another plugin...? Hmm, that's a Python 3 incompatibility, easy to fix, but unfortunately when fixed it's still not working in Python

Re: Bibtex Plugin no action after double clicking

2014-11-27 Thread 'Terry Brown' via leo-editor
On Thu, 27 Nov 2014 13:17:04 -0800 (PST) Juaco joaquinlop...@gmx.de wrote: I am trying to use the bibtex plugin for the generation of LaTeX documents... successless. Just checking - you've added `bibtext.py` without the `#` in @enabled-plugins under @settings in myLeoSettings.leo

Re: Bibtex Plugin no action after double clicking

2014-11-27 Thread Chris George
javascript: wrote: I am trying to use the bibtex plugin for the generation of LaTeX documents... successless. Just checking - you've added `bibtext.py` without the `#` in @enabled-plugins under @settings in myLeoSettings.leo? Unfortunately, I suspect the bibtext.py plugin is old and in need

Re: quickMove plugin errors

2014-11-22 Thread 'Terry Brown' via leo-editor
On Fri, 21 Nov 2014 22:26:52 -0500 Brian Theado brian.the...@gmail.com wrote: When I use the latest github code to open an outline containing permanent quickMove buttons, then I get this error stack: I think both these issues are fixed in Leo 5.0b2, build 20141122162510, Sat Nov 22 16:25:10

Re: quickMove plugin errors

2014-11-22 Thread Brian Theado
On Sat, Nov 22, 2014 at 5:27 PM, 'Terry Brown' via leo-editorI think both these issues are fixed in Leo 5.0b2, build 20141122162510, Sat Nov 22 16:25:10 CST 2014 Git repo info: branch = master, commit = 9450973e8479 Cheers -Terry I no longer see the errors. Thanks! -- You received this

quickMove plugin errors

2014-11-21 Thread Brian Theado
-editor-a4bbce/leo-editor/leo/plugins/quickMove.py, line 421, in permanentButton {'first':mover.first, 'type': mover.type_}) AttributeError: quickMoveButton instance has no attribute 'first' To duplicate this 2nd issue: 1. enable the quickmove plugin 2. open a new leo file 3. right

Re: quickMove plugin errors

2014-11-21 Thread 'Terry Brown' via leo-editor
, in permanentButton {'first':mover.first, 'type': mover.type_}) AttributeError: quickMoveButton instance has no attribute 'first' To duplicate this 2nd issue: 1. enable the quickmove plugin 2. open a new leo file 3. right click the first node in the outline and pick Move-Jump to button

Re: NEW: wikiview plugin

2014-11-04 Thread Kent Tenney
, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: I've just pushed a new plugin, wikiview, which can be enabled by adding wikiview.py to @enabled-plugins under @settings in myLeoSettings.leo. From the docstring: Hide text in the body editor, each time a new node is selected

Re: NEW: wikiview plugin

2014-11-04 Thread 'Terry Brown' via leo-editor
by file://...Setup according to my attempts, it doesn't. Thanks, Kent On Sat, Nov 1, 2014 at 11:54 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: I've just pushed a new plugin, wikiview, which can be enabled by adding wikiview.py to @enabled-plugins under

Re: NEW: wikiview plugin

2014-11-03 Thread Edward K. Ream
On Sun, Nov 2, 2014 at 10:02 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: what I meant by the above is that when the body editor text cursor enters the hidden text, it should immediately unhide itself. ​Ok, now I see what you mean. As you say, there is a tiny dot to

Re: NEW: wikiview plugin

2014-11-02 Thread Edward K. Ream
On Sat, Nov 1, 2014 at 11:54 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: I've just pushed a new plugin, wikiview, ​Great work, Terry. Many thanks for this. p.s. the hidden text becomes visible whenever the cursor moves into it :) Not sure what you mean

Re: NEW: wikiview plugin

2014-11-02 Thread 'Terry Brown' via leo-editor
On Sun, 2 Nov 2014 05:46:54 -0600 Edward K. Ream edream...@gmail.com wrote: On Sat, Nov 1, 2014 at 11:54 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: I've just pushed a new plugin, wikiview, ​Great work, Terry. Many thanks for this. p.s. the hidden text

NEW: wikiview plugin

2014-11-01 Thread 'Terry Brown' via leo-editor
I've just pushed a new plugin, wikiview, which can be enabled by adding wikiview.py to @enabled-plugins under @settings in myLeoSettings.leo. From the docstring: Hide text in the body editor, each time a new node is selected. Makes: file://#some--headlines--mynode appear as mynode, http

Re: NEW: wikiview plugin

2014-11-01 Thread 'Terry Brown' via leo-editor
p.s. the hidden text becomes visible whenever the cursor moves into it :) On Sat, 1 Nov 2014 11:54:18 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: I've just pushed a new plugin, wikiview, which can be enabled by adding wikiview.py to @enabled-plugins under @settings

viewrendered.py plugin fixed (was docutils not loading)

2014-09-24 Thread Edward K. Ream
rev bcf0f36, Leo build: 20140924100720, fixes the viewrendered plugin, destroyed by a so-called little fix at rev 62984f9. So the culprit was not docutils, but viewrendered. It's possible that the viewrendered2.py plugin needs fixing, but I have no more time today. Here is the checkin log

Rewritten at_produce.py plugin

2014-09-21 Thread Edward K. Ream
This plugin used ancient coding technology, created menu items instead of minibuffer commands, did not report progress and was probably not thread safe. All these defects have now been remedied. It could be quite useful in some situations. For example, suppose node P has this body text

task plugin not connected to do/undo

2014-08-15 Thread Christoph
When assigning status, priority or time (as offered by the task-plugin) that cannot be undone. I suppose this is a bug? Kind regards Christoph -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group and stop receiving

Re: task plugin not connected to undo-mechanism

2014-08-15 Thread Christoph
Sorry, the previous title was completely misleading. BTW I checked it with the the master branch from the git repository. On 08/15/2014 10 :08 AM, Christoph wrote: When assigning status, priority or time (as offered by the task-plugin) that cannot be undone. I suppose this is a bug? Kind

Re: task plugin not connected to undo-mechanism

2014-08-15 Thread Jacob Peck
. On 08/15/2014 10 :08 AM, Christoph wrote: When assigning status, priority or time (as offered by the task-plugin) that cannot be undone. I suppose this is a bug? Kind regards Christoph -- You received this message because you are subscribed to the Google Groups leo-editor group

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-13 Thread dufriz
Wonderful. As far as I am concerned, this is a great step forward in Leo's functionality. Of course the UI badly needs to be developed further, because it is still very unpolished. More advanced functions may also be added later. I think we need to download a few file tagging programs and study

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-13 Thread Chris George
Have a look at this. http://piggydb.net/ When in brainstorming mode, or when writing blog posts, I run this in a vr pane within Leo, simply because it is less distracting than running it in a separate window. Chris On Wednesday, August 13, 2014 7:46:39 AM UTC-7, Dufriz wrote: Wonderful. As

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-13 Thread dufriz
On Wed, Aug 13, 2014 at 5:02 PM, Chris George technat...@gmail.com wrote: http://piggydb.net/ When in brainstorming mode, or when writing blog posts, I run this in a vr pane within Leo, simply because it is less distracting than running it in a separate window. I am intrigued, how can you

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-13 Thread Chris George
It is a java app. It installs local (I run Linux with a full Apache install) and the default port is 8080. Create a node with the following headline: @url http://localhost:8080 Navigate to this node and then create a vr pane via the plugins menu. Click the green refresh icon in the vr pane,

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-13 Thread Chris George
Oh, I also run the vr pane locked to this node. Here is a screenshot. https://lh4.googleusercontent.com/-RgaBjAW2STg/U-ugdV97-TI/Eck/wGzbJQhLIZ4/s1600/leoscreen.png On Wednesday, August 13, 2014 10:23:44 AM UTC-7, Chris George wrote: It is a java app. It installs local (I run Linux

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-12 Thread Edward K. Ream
On Mon, Aug 4, 2014 at 10:53 AM, Jacob Peck gatesph...@gmail.com wrote: Regarding tags, I hacked the nodetags.py plugin together, available at commit b9a764c59de263fbdb47969f1d318759b955c442. Thanks for this. I've filed this in a to-be-documented folder, so it will be mentioned in the next

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-12 Thread dufriz
How is the work on the tags' UI coming along, Jake? -- 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,

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-12 Thread Jacob Peck
On 8/12/2014 11:24 AM, dufriz wrote: How is the work on the tags' UI coming along, Jake? It's functionally complete -- give it a shot! (Should work in PyQt5 now, too, thanks to Terry) Be sure to read the plugin notes (plugin menu - nodetags) --Jake -- You received this message because

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-06 Thread Labas Cert
Jake, you may want to put a check on the rm-tag function, to make sure that there is at least one tag when it is run, because if you try to run it on a tagless node an error message is produced. -- You received this message because you are subscribed to the Google Groups leo-editor group. To

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-06 Thread Jacob Peck
.20140804114044.3756vh@settings/vh v t=peckj.20140804114044.3757vh@plugin nodetags/vh/v /v v t=peckj.20140804114044.3759vh@button add-tag/vh/v v t=peckj.20140804114044.3761vh@button rm-tag/vh/v v t=peckj.20140804114044.3763vh@button list-tags/vh/v v t=peckj.20140804114044.3765vh@button add-tag-test/vh

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-05 Thread Jacob Peck
On 8/4/2014 11:39 PM, 'Terry Brown' via leo-editor wrote: On Mon, 04 Aug 2014 13:59:38 -0400 Jacob Peck gatesph...@gmail.com wrote: I just added a minimal tag browser UI. Very cool. And of course you can move it out of the tabs window with the free-layout options on the pane divider context

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-05 Thread Jacob Peck
On 8/4/2014 11:39 PM, 'Terry Brown' via leo-editor wrote: Very minor - if, for some odd reason, you have two nodes with the same name but different tag sets, it lists both of them, but doesn't show the different tag sets when you click on the different nodes. This was a bigger bug than I

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-05 Thread Jacob Peck
There isn't an easy way for non-programmers at the moment... that's coming soon though! I suppose the easiest way for now would be to type the following into the node you wish to tag: c.theTagController.add_tag(p,'your tag here') Then highlight that line and hit Ctrl+B. You can then remove

A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread Jacob Peck
Regarding tags, I hacked the nodetags.py plugin together, available at commit b9a764c59de263fbdb47969f1d318759b955c442. Attached is a test leo file for playing with it. This is only an API for tags, but I feel like it should simplify the process and allow someone to focus on the important

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread dufriz
On Monday, 4 August 2014 16:53:11 UTC+1, Jacob Peck wrote: Regarding tags, I hacked the nodetags.py plugin together, available at commit b9a764c59de263fbdb47969f1d318759b955c442. Attached is a test leo file for playing with it. This is only an API for tags, but I feel like it should

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread Jacob Peck
Oh, sorry! You either need to add 'nodetags.py' to your @enabled-plugins node in myLeoSettings.leo, or set '@scripting-at-plugin-nodes = True' in myLeoSettings.leo. --Jake On 8/4/2014 1:11 PM, duf...@gmail.com wrote: On Monday, 4 August 2014 16:53:11 UTC+1, Jacob Peck wrote

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread dufriz
Jake, could you please provide the link for downloading nodetags.py? I googled commit b9a764c59de263fbdb47969f1d318759b955c442 but got no luck... -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group and stop receiving

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread 'Terry Brown' via leo-editor
On Mon, 04 Aug 2014 11:53:07 -0400 Jacob Peck gatesph...@gmail.com wrote: Regarding tags, I hacked the nodetags.py plugin together, available at commit b9a764c59de263fbdb47969f1d318759b955c442. Nice. Interface wise, what do people think about short and long names for tags? Even as I ask, I

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread Jacob Peck
the 'nav' tab. --Jake On 8/4/2014 1:29 PM, 'Terry Brown' via leo-editor wrote: On Mon, 04 Aug 2014 11:53:07 -0400 Jacob Peck gatesph...@gmail.com wrote: Regarding tags, I hacked the nodetags.py plugin together, available at commit b9a764c59de263fbdb47969f1d318759b955c442. Nice. Interface wise, what

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread Jacob Peck
You'd need the latest version of Leo, from github: https://github.com/leo-editor/leo-editor/archive/master.zip On 8/4/2014 1:29 PM, duf...@gmail.com wrote: Jake, could you please provide the link for downloading nodetags.py? I googled commit b9a764c59de263fbdb47969f1d318759b955c442 but got no

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread Kent Tenney
with nodetags.py active I get the following on Leo startup: hook failed: after-create-leo-frame, , leo.plugins.nodetags Traceback (most recent call last): File /var/fetching/leo-editor/leo/core/leoPlugins.py, line 357, in callTagHandler result = handler(tag,keywords) File

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread Jacob Peck
Umm... what? All vnodes have an unknownAttributes attribute! I have no clue what's going on here... --Jake On 8/4/2014 3:30 PM, Kent Tenney wrote: AttributeError: 'VNode' object has no attribute 'unknownAttributes' -- You received this message because you are subscribed to the Google

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread Jacob Peck
Correction: All vnodes have a v.u, which creates v.unknownAttributes on demand, if it doesn't exist already. Fixed in the latest commit. Good to know, for future reference... --Jake On 8/4/2014 3:41 PM, Jacob Peck wrote: Umm... what? All vnodes have an unknownAttributes attribute! I have

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread Jacob Peck
There is now a browser UI for this plugin. It supports searching only, at the moment. It allows for fancy complex queries based on set algebra to filter on multiple criteria, for example: foobar|bazhot|cold-water^fire This would filter as follows: - Find nodes with the tag 'foo' - From

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread dufriz
On Mon, Aug 4, 2014 at 8:59 PM, Jacob Peck gatesph...@gmail.com wrote: There is now a browser UI for this plugin. It supports searching only, at the moment. It allows for fancy complex queries based on set algebra to filter on multiple criteria, for example: foobar|bazhot|cold-water^fire

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread Jacob Peck
On 8/4/2014 4:15 PM, dufriz wrote: I can't believe it. What's next? Hopefully, adding and removing tags without writing scripts :p THANKS again, Jake. No problem :) -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread gatesphere
On 8/4/2014 4:15 PM, dufriz wrote: I can't believe it. What's next? Now the UI displays the tags for the currently selected node, and those tags act as selectors for displaying all nodes with that tag. The only things left are: - UI for adding tags to nodes - UI for removing tags from

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread Kent Tenney
Huh, productive day :) Classic understatement [-: On Mon, Aug 4, 2014 at 7:14 PM, gatesphere gatesph...@gmail.com wrote: On 8/4/2014 4:15 PM, dufriz wrote: I can't believe it. What's next? Now the UI displays the tags for the currently selected node, and those tags act as selectors for

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread 'Terry Brown' via leo-editor
On Mon, 04 Aug 2014 13:59:38 -0400 Jacob Peck gatesph...@gmail.com wrote: I just added a minimal tag browser UI. Very cool. And of course you can move it out of the tabs window with the free-layout options on the pane divider context menus. Very minor - if, for some odd reason, you have two

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

2014-05-31 Thread Edward K. Ream
On Tue, May 27, 2014 at 9:00 AM, Kent Tenney kten...@gmail.com wrote: I don't tend to think of gui stuff as revolutionary. My interest in tabbed editor is not as a novelty, but as a facilitator of side-by-side node body versioning. I think I understand you. I've been amazed at what git can

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

2014-05-27 Thread Kent Tenney
I don't tend to think of gui stuff as revolutionary. My interest in tabbed editor is not as a novelty, but as a facilitator of side-by-side node body versioning. Thanks, Kent On Thu, May 22, 2014 at 1:21 PM, Edward K. Ream edream...@gmail.com wrote: On Thu, May 22, 2014 at 9:25 AM, Kent

Tabbed body editing (was Re: Editable WYSIWYG as an evolution of the viewrendered pane plugin?)

2014-05-23 Thread 'Terry Brown' via leo-editor
bunting @bookmarks (pro-tip, with the paste_as_headlines plugin active, you can just copy the above and use `Edit - Paste as headlines`, you'll need to promote them to top level again though). Select the ``@bookmarks`` node and then Alt-X `bookmarks-show`, which should create a new empty

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

2014-05-22 Thread 'Terry Brown' via leo-editor
editors to use by just updating the global dictionary. Or plugins can add new body editors. So if create a plugin that introduces a @pdf node directive and a corresponding pdf viewer, I can just update the global dictionary and leo will know that nodes

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

2014-05-22 Thread Kent Tenney
and select which existing body editors to use by just updating the global dictionary. Or plugins can add new body editors. So if create a plugin that introduces a @pdf node directive and a corresponding pdf viewer, I can just update the global dictionary and leo will know

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

2014-05-22 Thread 'Terry Brown' via leo-editor
dictionary. Or plugins can add new body editors. So if create a plugin that introduces a @pdf node directive and a corresponding pdf viewer, I can just update the global dictionary and leo will know that nodes with headlines starting with the aforementioned directive

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

2014-05-22 Thread Kent Tenney
can add new body editors. So if create a plugin that introduces a @pdf node directive and a corresponding pdf viewer, I can just update the global dictionary and leo will know that nodes with headlines starting with the aforementioned directive will use my

<    1   2   3   4   5   6   7   8   9   10   >