Camelia, the Perl 6 bug

IRC log for #padre, 2009-11-18

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:16 teejay joined #padre
01:31 CromeDome joined #padre
02:09 Alias joined #padre
02:11 Hyppolit #761: Make cutoff size for PPI Experimental lexer user-configurable (new enhancement) [ http://padre.perlide.org/trac/ticket/761 ]
02:11 misterwhipple joined #padre
03:15 awnstudio joined #padre
03:35 ppant joined #padre
06:20 Sewi joined #padre
06:24 Sewi Good morning
06:56 szabgab joined #padre
06:57 marcela joined #padre
06:58 szabgab gm
06:59 kaare joined #padre
07:01 szabgab can someone help me with bash ?   can I write this shorter? :     mv /long/path/to/a_file /long/path/to/b_file     something like     mv /long/path/to/(a_file,b_file)      ?
07:08 Ryan52 szabgab: mv /foo/bar/{a,b}
07:08 Ryan52 only works in bash tho.
07:08 Ryan52 not in POSIX shell.
07:08 Ryan52 it's a "bashism".
07:10 szabgab great, thanks, I saw someone doing it but I did not remember the syntax, so it is using curlies
07:10 szabgab Ryan52, and nice to see you around again
07:23 marcela joined #padre
07:39 SvenDowideit joined #padre
07:54 waxhead joined #padre
08:10 pece joined #padre
08:21 jq Sewi: no, padre 0.50
08:36 waxhead quick question - where is the brace { } handling done in Padre?
08:37 waxhead The current behaviour isn't quite what I'd expect and I was thinking of taking a look at how it's done.. only I get lost in the code...
08:43 Sewi Document/Perl.pm
08:43 Sewi event_on_char (from brain, may be wrong)
08:52 Sewi jq: Try trunk, if possible, please
08:54 jq Sewi: will try
08:57 jq Sewi: same problem
08:57 jq to reproduce:
08:57 jq 1. clean your .padre
08:57 jq 2. launch padre
08:57 jq 3. menu view / show right margin (or line numbers, or folding, etc)
08:58 jq 4. close padre
08:58 jq 5. open padre
08:58 jq 6. display is as was configured in 3, but menu checkboxes are not ticked accordingly
08:58 Sewi jq: Would you create a ticket for this bug, please?
08:59 jq sure
09:01 Hyppolit #762: checkboxes in view menu aren't updated on padre startup (new defect) [ http://padre.perlide.org/trac/ticket/762 ]
09:03 Hyppolit #763: folding doesn't work anymore (new defect) [ http://padre.perlide.org/trac/ticket/763 ]
09:04 Sewi thanks, jq
09:05 jq brb
09:11 jq joined #padre
09:26 sri joined #padre
09:26 pece joined #padre
09:33 waxhead joined #padre
09:41 daxim joined #padre
10:24 [1]awnstudio joined #padre
10:35 pece2 joined #padre
10:55 waxhead Sewi, looks about right...
10:55 Sewi hi waxhead, what looks right?
10:55 waxhead the char event for { }
10:56 waxhead Document/Perl.pm
10:56 Sewi ah, ok, good :-)
10:56 waxhead Now I just have to work out what it's doing...
10:56 Sewi It's controlled by some config options...
10:57 waxhead yeah, but what I want to either change or add is the way { at the end of a sub gets handled...
10:57 Sewi It reads the char which triggered the event (_not_ part of the editor buffer at this place) and looks it up in the "add" table.
10:58 Sewi waxhead: There is another config option for method autocomplete, you may want to try it.
10:58 waxhead Sewi,  so like some editors if yuo put in a } and it can find the matching { above, then it picks up all the text and indents it correctly...
10:59 waxhead it wasn't until a friend noticed it, but the sub my_method {  when you then } it "should" create the } two lines down and return the cursor to the middle nicely indented...
10:59 Sewi waxhead: Padre could do this. Go to a { or } and press Ctrl-1 to find the matching one. (Don't know if Shift-Ctrl-1 would select the block). Select it if it isn't and press Ctrl-Alt-G (with enabled Tidy-Plugin). Done.
11:00 Sewi waxhead: This is nearly what the method autocomplete function does.
11:01 Sewi Preferences -> autocomplete new methods..., then open a blank tab, put in a package Foo::Bar; line and type "sub hello " <-- including the last space.
11:02 waxhead Sewi, that didn't work...
11:03 waxhead nope..
11:03 waxhead Should I save the file so it knows it's perl?
11:05 Sewi Hmm, please try enabling "autocomplete always", too. Padre should treat every new file as Perl unless told otherwise.
11:06 waxhead nope...
11:06 waxhead still not working
11:06 Sewi Does it show "Perl" in the bottom status bar as the file type?
11:07 waxhead yeah, perl5
11:07 Sewi You're right, it doesn't work here too. But it used to...
11:07 Sewi Works in open .pm file.
11:07 waxhead not in a new file?
11:08 Sewi no
11:08 * Sewi switchting to Padre dev mode
11:08 waxhead cool.. you're irght it does...
11:08 waxhead I'm running Padre from trunk...
11:08 Sewi me too
11:08 waxhead what's Padre dev mode then?
11:09 waxhead Sewi, but that's what I'm after though.. that sort of thing.
11:09 Sewi waxhead: the mode where I'm developing Padre. I was in "answer customer questions" mode before :-)
11:09 waxhead but I'm wondering should it be my ($self) = @_  rather that just shift?
11:10 waxhead means less typing if you have to add in more parameters to the list
11:10 waxhead Sewi, oh right!! nice..
11:10 waxhead where is that method done.. with the method complete.. I'd like to see how it's done.
11:10 Sewi waxhead: I saw much more self = shift than self = @_, but it was a first try, I want to have a big list of quick type things like this but they must not be within the Padre source, they must be configurable.
11:11 Sewi Document/Perl.pm event_on_char
11:12 waxhead oh sweet!!! I wasn't reading it right..
11:12 SvenDowideit joined #padre
11:12 waxhead I see it now..
11:12 waxhead did you do that?
11:12 Sewi sure.
11:13 Sewi got it: The method-complete does not work at the last line of a file. A blank line below the one you're editing is enough to make it work.
11:13 waxhead man that crtl-tab not working is annoying...
11:13 Sewi yes, really.
11:13 Sewi should be #750
11:13 Hyppolit #750: tab / ctrl+tab do not work anymore (new defect) [ http://padre.perlide.org/trac/ticket/750#comment:3 ]
11:14 Sewi it is. I don't have any idea how to further debug this.
11:14 waxhead Sewi, I don't get that here..
11:15 waxhead I have a proper package Foo::Bar;\n\n\n1;\n  and it still doesn't work
11:16 Hyppolit #750: tab / ctrl+tab do not work anymore (new defect) [ http://padre.perlide.org/trac/ticket/750#comment:4 ]
11:17 waxhead I guess it's going to be something we need to learn, and that's debugging padre as it's so big now...
11:18 waxhead I really want to see breakpoints and watched variables some day..
11:18 * waxhead just doesn't have the clues to do it
11:19 Sewi waxhead: I'ld also really love a internal debugger, but atm setting $DB::single = 1; to get a breakpoint and running dev.pl with -d also works.
11:20 siegfri3d joined #padre
11:20 Sewi Hi siegfri3d
11:20 Sewi waxhead: just added a comment to #750 explaining why ctrl-k didn't work for you :-)
11:20 Hyppolit #750: tab / ctrl+tab do not work anymore (new defect) [ http://padre.perlide.org/trac/ticket/750#comment:4 ]
11:21 siegfri3d Hi Sewi :)
11:22 waxhead Sewi, the perl debugger has me stumped..
11:22 waxhead Sewi, I watched a friend in awe when he used it within emacs.. but I still can't get it...
11:22 Sewi waxhead: MS VisualBasic debugger is what we need.
11:22 waxhead Sewi, yes, using visual studio has really spoilt me...
11:23 waxhead wow.. that close all dialog is neat too...
11:23 Sewi waxhead: The basics: Start dev.pl using -d, type "c" at the prompt. The next prompt will come as soon as your DB::single - line was reached. Type "s" to run the next line and "c" to continue until end or next breakpoint.
11:24 waxhead someone has been busy with gui stuff
11:24 Sewi Which close all dialog? The Progress bar?
11:24 waxhead Sewi, yep
11:25 Sewi Half on hour or so while 95% were googling for Wx documentation :-)
11:25 Sewi It's Padre::Wx::ProgressBar or so now.
11:45 waxhead yeah, that's the big thing googling for Wx documentation
11:45 waxhead ok.. it's late.. time for bed
11:48 pece joined #padre
11:52 sri_ joined #padre
12:21 Hyppolit #750: tab / ctrl+tab do not work anymore (new defect) [ http://padre.perlide.org/trac/ticket/750#comment:5 ]
12:56 jq is it just me, or the windows menu does not list open files any morE?
13:00 Hyppolit #763: folding doesn't work anymore (new defect) [ http://padre.perlide.org/trac/ticket/763#comment:1 ]
13:09 Sewi jq: fixed on trunk
13:10 Sewi Did folding with PPI work before?
13:12 jq yes
13:31 Getty Sewi: http://www.phpbar.de/w/Padre_PHP-Plugin
13:32 Sewi Getty: What do you think... who wrote this :-)
13:32 Getty Sewi: dont say you did
13:32 Getty Sewi: cause then i should hit you ;)
13:33 Sewi Feel free to edit it :-)
13:33 Getty Sewi: its just about the sentence "leading open source developers"
13:33 Sewi It's just advertising_Padre :-)
13:33 Getty isnt that a bit "overkill"? ;)
13:33 Getty and arrogant? ;)
13:33 Sewi Oh, I'm not talking about myself, so could it be arrogant? :-)
13:34 Sewi Getty: http://padre-ide.de/blog/?p=42
13:35 Sewi And here is the one about you: http://padre-ide.de/blog/?tag=test (the German translation is not good at all and the english text was written while I was sleepy) :-)
13:45 Getty Sewi: you really wanna run an english blog on a german domain? ;)
13:46 jq hmm, i can still crash padre when closing rapidly several tabs one after the other
13:47 Getty Sewi: you should put up more that i reported that it was half of the work i suggested, and that i made 50< tests at first day already (and so secured 50 features of my lib as working)
13:47 Getty Sewi: that "successful" sounds so... poorly ;)
13:48 pece2 joined #padre
13:48 Getty Sewi: know what i mean, man? ;)
13:50 Hyppolit #764: window menu doesn't provide list of opened files (new defect) [ http://padre.perlide.org/trac/ticket/764 ]
13:51 jnap joined #padre
14:37 |CromeDome| joined #padre
14:43 Hyppolit svn: r9229 | dam++ | http://padre.perlide.org/trac/changeset/9229
14:43 Hyppolit WXGTK was moved from Padre::Util to Padre::Constants
14:43 Hyppolit trunk/Padre-Plugin-Vi/lib/Padre/Plugin/
14:47 Hyppolit svn: r9230 | dam++ | http://padre.perlide.org/trac/changeset/9230
14:47 Hyppolit I mean, ::Constant (no trailing s)
14:47 Hyppolit trunk/Padre-Plugin-Vi/lib/Padre/Plugin/
14:50 CromeDome joined #padre
14:56 marcela joined #padre
15:12 Haarg joined #padre
15:38 jq joined #padre
16:43 yoni joined #padre
16:44 kaare joined #padre
16:54 pece joined #padre
17:39 rindolf joined #padre
17:44 rindolf Hi all.
17:45 rindolf szabgab: I wrote the report - http://community.livejournal​.com/shlomif_tech/37451.html
17:49 CSJewell joined #padre
17:52 user_801 joined #padre
18:23 isec joined #padre
19:26 szabgab rindolf, I read your report about the meeting
19:26 rindolf szabgab: OK, thanks.
19:26 szabgab I think mixing too many personal things is a bit distracting
19:26 szabgab (e.g. about the shower )
19:26 rindolf szabgab: it was a bathe.
19:27 rindolf bath sorry.
19:27 rindolf But not a shower.
19:27 szabgab either way
19:27 rindolf Well, I didn't have time to finalise it.
19:27 szabgab the falafel part is already ok and can be a funny part
19:27 rindolf Had too many things to do.
19:27 rindolf I'm not going to change it now.
19:27 rindolf But I can learn from now on.
19:28 szabgab but I think people who might be intrested in the computer part stop reading after the first part
19:28 szabgab as they don't know that it will change to be about matlab and stuff
19:28 rindolf szabgab: ah.
19:29 rindolf szabgab: well, now you are challenged to write a better report.
19:29 szabgab otoh it is short so it isn't that bad
19:29 rindolf I'll keep it in mind for next time.
19:29 szabgab (the personal part I mean
19:29 rindolf Yse.
19:29 rindolf Yes.
19:29 szabgab the rest is really good
19:30 szabgab are you planning to publish an English version as well?
19:31 rindolf szabgab: don't know.
19:31 rindolf szabgab: I'm a little tired now.
19:32 szabgab I don't think I have the energy to write that now
19:32 rindolf Many things don't work properly on Cooker now.
19:32 szabgab and I have tons of other things to write too
19:37 ejb joined #padre
20:00 isec joined #padre
20:25 PacoLinux joined #padre
20:59 code4pay joined #padre
21:30 ejb joined #padre
21:58 kentnl joined #padre
22:00 kentnl_ joined #padre
22:58 pece2 joined #padre
23:09 pece joined #padre
23:14 pece2 joined #padre
23:20 pece joined #padre
23:33 pece2 joined #padre
23:39 pece joined #padre
23:50 pece joined #padre
23:52 pece2 joined #padre
23:55 pece joined #padre
23:58 pece joined #padre

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary