Re: Strategy for #165: vim-open-file

2015-04-30 Thread Steve Zatz
> The combination of vim-open-file and vim-open-node should give you what you want. Unfortunately, I can't figure out how the vim plugin gets enabled to activate those commands. What needs to be placed under the @enabled-plugins node (which is under @settings) in myLeoSettings.Leo? On Thu, Apr 30

Re: wrap as you type...

2015-04-30 Thread Edward K. Ream
On Tue, Apr 28, 2015 at 12:05 PM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: spell-as-you-type-wrap is a bad name for something that has nothing to > do with spelling, but the code implementing the rest of the > spell-as-you-type- functions was the place to implement this.

Re: section references...

2015-04-30 Thread Edward K. Ream
On Wed, Apr 29, 2015 at 8:55 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > Otoh, I am never real happy to add another type of @ node. > > Kind of thinking this is too much trouble for too little reward. > @clean-asis would have to work with @others and maybe @language, n

Re: Strategy for #165: vim-open-file

2015-04-30 Thread Edward K. Ream
On Wed, Apr 29, 2015 at 11:43 AM, Steve Zatz wrote: > > 3 versions exist, Leo buffer, vim buffer and disk version... > > I do think that the other capability you want is to be able to open a > single node body in an external editor and then you would use a temp file > and update in real-time. >

Re: Strategy for #165: vim-open-file

2015-04-30 Thread Edward K. Ream
On Wed, Apr 29, 2015 at 9:56 AM, Steve Zatz wrote: File "c:\users\szatz\leo-editor\leo\core\leoApp.py", line 260, in > create_temp_file > body = d.get('body') if d.has_key('body') else c.p.b > AttributeError: 'dict' object has no attribute 'has_key' > ​Presumably you were using Python 3.​

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 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 isn't an > is

Re: Git talk at Pycon2015

2015-04-30 Thread Edward K. Ream
​​ On Thu, Apr 30, 2015 at 10:23 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: In the general case of handling a merge conflict you should edit the > file manually and select pieces, then use `git add ` to > indicate the working copy is the copy with resolved conflicts. >

Re: Git talk at Pycon2015

2015-04-30 Thread 'Terry Brown' via leo-editor
On Thu, 30 Apr 2015 10:01:04 -0500 "Edward K. Ream" wrote: > On Wed, Apr 29, 2015 at 11:24 AM, Kent Tenney > wrote: > > > Well done. > > 1/2 hour, shows when and how to use some scarier git commands > > https://www.youtube.com/watch?v=4EOZvow1mk4 > > > > ​A great video. I think git reset --ha

Re: Git talk at Pycon2015

2015-04-30 Thread 'Terry Brown' via leo-editor
On Thu, 30 Apr 2015 09:58:10 -0500 "Edward K. Ream" wrote: > Now suppose I hadn't been aware of any problem. Would you have been > able to see your code reverted when you did a git pull? I don't remember git making a fuss, but there has been some noise from git recently, I just don't remember t

Re: Git talk at Pycon2015

2015-04-30 Thread Edward K. Ream
On Wed, Apr 29, 2015 at 11:24 AM, Kent Tenney wrote: > Well done. > 1/2 hour, shows when and how to use some scarier git commands > https://www.youtube.com/watch?v=4EOZvow1mk4 > ​This video is encouraging me to use git from the console. ​ ​Gui-based git clients seem a little limited. Fine for

Re: Git talk at Pycon2015

2015-04-30 Thread Edward K. Ream
On Wed, Apr 29, 2015 at 11:24 AM, Kent Tenney wrote: > Well done. > 1/2 hour, shows when and how to use some scarier git commands > https://www.youtube.com/watch?v=4EOZvow1mk4 > ​A great video. I think git reset --hard would have been a good idea after mistakenly discarding Terry's commit. I c

Re: Git talk at Pycon2015

2015-04-30 Thread Edward K. Ream
On Thu, Apr 30, 2015 at 9:48 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: ​> ​ I guess the​ ​ ​ issue is why didn't ​[the merge, reverting changes] cause enough alarm from git etc. to catch the​ ​ ​ problem. ​> ​ For the diff, well, there's not really any parent child pa

Re: Git talk at Pycon2015

2015-04-30 Thread 'Terry Brown' via leo-editor
On Thu, 30 Apr 2015 07:09:22 -0500 "Edward K. Ream" wrote: > On Wed, Apr 29, 2015 at 11:24 AM, Kent Tenney > wrote: > > > Well done. > > 1/2 hour, shows when and how to use some scarier git commands > > https://www.youtube.com/watch?v=4EOZvow1mk4 > > > > ​Thanks. There are several commands I'

Re: Git talk at Pycon2015

2015-04-30 Thread Edward K. Ream
On Wed, Apr 29, 2015 at 11:24 AM, Kent Tenney wrote: > Well done. > 1/2 hour, shows when and how to use some scarier git commands > https://www.youtube.com/watch?v=4EOZvow1mk4 > ​Thanks. There are several commands I've never used. Just to be clear, the upsetting thing about the recent reversio

Re: Insertion point for abbreviations

2015-04-30 Thread Edward K. Ream
On Thursday, April 30, 2015 at 5:37:29 AM UTC-5, Edward K. Ream wrote: > [rev 77a7e27] undoes all the recent good work as well. I'll be adding that back asap. Done at several recent revs, which also add a new unit test. This will complete the work unless other problems appear. EKR -- You re

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: Insertion point for abbreviations

2015-04-30 Thread Edward K. Ream
On Wednesday, April 29, 2015 at 7:20:11 PM UTC-5, Edward K. Ream wrote: > > > On Wed, Apr 29, 2015 at 12:30 PM, Largo84 wrote: > >> Was there a recent change in how abbreviations handle the insertion >> point? Up until yesterday, my abbreviations worked as expected and allowed >> for me to start

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 an

Re: Insertion point for abbreviations

2015-04-30 Thread Edward K. Ream
On Wednesday, April 29, 2015 at 9:01:16 PM UTC-5, Terry Brown wrote: ​> ​What was the long standing problem you mentioned you were addressing? Feeble commit entry for 24906c4. Sorry about that. My first thought was that the log entry was referring to the fact that abbreviation for e;; would rui