From bolzoni at cs.unipr.it Sat Nov 1 03:14:52 2008 From: bolzoni at cs.unipr.it (Paolo Bolzoni) Date: Sat, 1 Nov 2008 11:14:52 +0100 Subject: [Vimperator] :help keycodes Message-ID: <20081101111452.286a71d9@cs.unipr.it> The subject says all, in vim I can have an easy to read list of the available keycodes with a simple help command. In vimperator I can not find anything similar. I sought with google, but I found nothing, what about adding a well done list of keycodes in the next versions? In particular I'd like to map the spacebar to and backspace to , in the .vimperatorrc I wrote map map but space does not seem to work. For testing I tried `:map ', but it also seems a no effect... How can I bind the spacebar to ? etb From bolzoni at cs.unipr.it Sat Nov 1 03:16:36 2008 From: bolzoni at cs.unipr.it (Paolo Bolzoni) Date: Sat, 1 Nov 2008 11:16:36 +0100 Subject: [Vimperator] :help keycodes Message-ID: <20081101111636.15c36eac@cs.unipr.it> The subject says all, in vim I can have an easy to read list of the available keycodes with a simple help command. In vimperator I can not find anything similar. I sought with google, but I found nothing, what about adding a well done list of keycodes in the next versions? In particular I'd like to map the spacebar to and backspace to , in the .vimperatorrc I wrote map map but space does not seem to work. For testing I tried `:map ', but it also seems a no effect... How can I bind the spacebar to ? etb From maxauthority at vimperator.org Sat Nov 1 04:24:01 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Sat, 01 Nov 2008 12:24:01 +0100 Subject: [Vimperator] :help keycodes In-Reply-To: <20081101111452.286a71d9@cs.unipr.it> References: <20081101111452.286a71d9@cs.unipr.it> Message-ID: <490C3C51.5060308@vimperator.org> On 2008-11-01 11:14, Paolo Bolzoni wrote: > The subject says all, in vim I can have an easy to read list of the available > keycodes with a simple help command. > In vimperator I can not find anything similar. > I sought with google, but I found nothing, what about adding a well done > list of keycodes in the next versions? If you write the help for it, sure :) > In particular I'd like to map the spacebar to and backspace to , > in the .vimperatorrc I wrote > map > map > > but space does not seem to work. > > For testing I tried `:map ', but it also seems a no effect... > > How can I bind the spacebar to ? Well, is currently hard coded (like very few other keys like or ) and can't be overriden. The reason is, that is used in many context like toggling option buttons or following the element with focus. We might do a :map by default in vimperator, then it could also be overriden, but i haven't tested if that would cause problems. -- Martin From jhdl at gmx.net Sat Nov 1 06:59:12 2008 From: jhdl at gmx.net (Juergen Descher) Date: Sat, 1 Nov 2008 14:59:12 +0100 Subject: [Vimperator] [PATCH] Fix: :ls undefined_browser.contendDocument error Message-ID: <20081101135912.GA6254@case.a42.local> Hi, I'll get an error doing a ':ls' since the commit: Author: maglione 2008-10-30 21:51:19 "Clean up the new hints code a bit" This patch will fix that for me, please review and apply it if possible. * commit 8ff4bccd1f093c13b09a4ad572cfc48989a7a99f Author: Juergen Descher Date: Sat Nov 1 14:34:09 2008 +0100 Fix: :ls undefined_browser.contendDocument error Added missing function brackets. Removed inc of 'i' (done by yield). Regards Juergen -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-ls-undefined_browser.contendDocument.patch Type: text/x-diff Size: 509 bytes Desc: not available URL: From ted at tedpavlic.com Sat Nov 1 07:16:26 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sat, 01 Nov 2008 10:16:26 -0400 Subject: [Vimperator] Different behavior of Y and Cmd+C In-Reply-To: <20081031205846.GH11734@jg.home> References: <20081031191612.GE11734@jg.home> <490B5DAD.7060007@tedpavlic.com> <20081031193700.GA19381@jg.home> <490B5F3E.7010800@tedpavlic.com> <20081031194706.GF11734@jg.home> <490B6185.7090907@tedpavlic.com> <490B626C.3070301@tedpavlic.com> <490B6DCB.409@tedpavlic.com> <20081031204556.GG11734@jg.home> <490B7043.3020403@tedpavlic.com> <20081031205846.GH11734@jg.home> Message-ID: <490C64BA.8070405@tedpavlic.com> > No, you don't understand. Without parens, the lhs is > ("foo" + /foo/.test(...)), with parens, it's > /foo/.test(...), so, in the former case, it's always true, and > you always get , never . Yes, I understand that. That's why I said it worked fine on a Mac. It only stopped working on my Windows machine. On a Mac, you don't need . works alone. So always returning (even without ) works great on a Mac. It only breaks on Windows. Either way, now it works very well on both systems, and I appreciate your help --- I think this is a very elegant fix. --Ted -- Ted Pavlic From dougkearns at gmail.com Sat Nov 1 08:46:59 2008 From: dougkearns at gmail.com (Doug Kearns) Date: Sun, 2 Nov 2008 02:46:59 +1100 Subject: [Vimperator] [PATCH] Fix: :ls undefined_browser.contendDocument error In-Reply-To: <20081101135912.GA6254@case.a42.local> References: <20081101135912.GA6254@case.a42.local> Message-ID: <644fc65e0811010846j71abd631s93fcef1bee821584@mail.gmail.com> On Sun, Nov 2, 2008 at 12:59 AM, Juergen Descher wrote: > Hi, > > I'll get an error doing a ':ls' since the commit: > Author: maglione 2008-10-30 21:51:19 > "Clean up the new hints code a bit" > > This patch will fix that for me, please review and apply it if possible. > > * commit 8ff4bccd1f093c13b09a4ad572cfc48989a7a99f > Author: Juergen Descher > Date: Sat Nov 1 14:34:09 2008 +0100 > > Fix: :ls undefined_browser.contendDocument error > > Added missing function brackets. > Removed inc of 'i' (done by yield). Fixed, thanks. The increment is required as it's a 1 based index. Doug From maglione.k at gmail.com Sat Nov 1 09:37:44 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sat, 1 Nov 2008 12:37:44 -0400 Subject: [Vimperator] [PATCH] Fix: :ls undefined_browser.contendDocument error In-Reply-To: <20081101135912.GA6254@case.a42.local> References: <20081101135912.GA6254@case.a42.local> Message-ID: <20081101163744.GA30106@jg.home> On Sat, Nov 01, 2008 at 02:59:12PM +0100, Juergen Descher wrote: >This patch will fix that for me, please review and apply it if possible. > >* commit 8ff4bccd1f093c13b09a4ad572cfc48989a7a99f > Author: Juergen Descher > Date: Sat Nov 1 14:34:09 2008 +0100 > > Fix: :ls undefined_browser.contendDocument error > > Added missing function brackets. > Removed inc of 'i' (done by yield). Thanks, but I'm afraid you have it backwards. tabs.browsers wasn't meant to be a function (it was defined as get browsers() function ()). That's fixed now. As Doug mentioned, the inc if 'i' was required. -- Kris Maglione For every complex problem there is an answer that is clear, simple, and wrong. --H. L. Mencken From jhdl at gmx.net Sat Nov 1 11:56:31 2008 From: jhdl at gmx.net (Juergen Descher) Date: Sat, 1 Nov 2008 19:56:31 +0100 Subject: [Vimperator] [PATCH] Fix: :ls undefined_browser.contendDocument error In-Reply-To: <644fc65e0811010846j71abd631s93fcef1bee821584@mail.gmail.com> References: <20081101135912.GA6254@case.a42.local> <644fc65e0811010846j71abd631s93fcef1bee821584@mail.gmail.com> Message-ID: <20081101185631.GB6254@case.a42.local> Hi Doug and Kris, thanks for your reply. Quoting Doug Kearns (So, 02 Nov 2008, 02:46:59): > The increment is required as it's a 1 based index. If there is an array used with different index-bases, mostly '0' and '1', I'll get into this trap :) To to avoid that, I use comments, _always_. Best regards Juergen From ezzetabi at hotmail.com Sat Nov 1 14:01:13 2008 From: ezzetabi at hotmail.com (ezzetabi) Date: Sat, 1 Nov 2008 22:01:13 +0100 Subject: [Vimperator] :help keycodes In-Reply-To: References: Message-ID: <20081101220113.0eb59d9e@hotmail.com> (I am the original author... I sent with the wrong address...) > If you write the help for it, sure :) Sure thing... But I need to know the list before... ;) > > How can I bind the spacebar to ? > > Well, is currently hard coded (like very few other keys like > or ) and can't be overriden. The reason is, that is > used in many context like toggling option buttons or following the > element with focus. We might do a :map by default > in vimperator, then it could also be overriden, but i haven't tested if > that would cause problems. Well... Pity. Just I found annoying that sometime spacebar does not go down while always does. From jhdl at gmx.net Sat Nov 1 14:21:46 2008 From: jhdl at gmx.net (Juergen Descher) Date: Sat, 1 Nov 2008 22:21:46 +0100 Subject: [Vimperator] [PATCH] feature request for new highlight groups Message-ID: <20081101212146.GC6254@case.a42.local> Hi, to switch (by mappings) form the 'dark on light' default 'theme' to my usually used 'light on dark' one, I have added two new highlight groups: *CompItemSelected* Selected text in the command line and *Indicator* Indicator for current/alternate buffer in the command line (The default values are really ugly on 'a light on dark' theme :) This seems to work - only the ':hi' will show a wrong background as an example for 'CompItemSelected' donno why yet. The default (hardcoded) values for this groups I've taken from the skin/liberator.css. * commit 76783c3577f1fd4d0f4981ebaadd503d8e6fc727 Author: Juergen Descher Date: Sat Nov 1 21:09:45 2008 +0100 add Indicator, CompItemSelected to highlight Could something like this be applied? Regards Juergen -------------- next part -------------- A non-text attachment was scrubbed... Name: ft-hi-indicator-compitem_selected_true.patch Type: text/x-diff Size: 1360 bytes Desc: not available URL: From maglione.k at gmail.com Sat Nov 1 14:27:23 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sat, 1 Nov 2008 17:27:23 -0400 Subject: [Vimperator] [PATCH] feature request for new highlight groups In-Reply-To: <20081101212146.GC6254@case.a42.local> References: <20081101212146.GC6254@case.a42.local> Message-ID: <20081101212723.GA30382@jg.home> On Sat, Nov 01, 2008 at 10:21:46PM +0100, Juergen Descher wrote: > *CompItemSelected* Selected text in the command line >and > *Indicator* Indicator for current/alternate buffer in the > command line Actually, all of the completion item classes need to be renamed to hl-* groups, they haven't been yet because they're still extremely volatile. hl-Indicator isn't used anywhere, inside your patch our without. CompItemSelected should be CompItem[selected]. -- Kris Maglione We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. --Donald Knuth From jhdl at gmx.net Sat Nov 1 14:45:09 2008 From: jhdl at gmx.net (Juergen Descher) Date: Sat, 1 Nov 2008 22:45:09 +0100 Subject: [Vimperator] [PATCH] feature request for new highlight groups In-Reply-To: <20081101212723.GA30382@jg.home> References: <20081101212146.GC6254@case.a42.local> <20081101212723.GA30382@jg.home> Message-ID: <20081101214509.GD6254@case.a42.local> Quoting Kris Maglione (Sa, 01 Nov 2008, 17:27:23): > Actually, all of the completion item classes need to be renamed to hl-* > groups, they haven't been yet because they're still extremely volatile. I see.. > hl-Indicator isn't used anywhere, inside your patch our without. :ls will show something like: 1 % untitled 2 untitled 1 3 # untitled 2 and the patch will definitive change _my_ colors off '%' and '#' :hi ... Indicator XXX color: blue ... :hi Indicator color: RoyalBlue :hi ... Indicator XXX color: RoyalBlue ... and each color will be used/shown - or do I misunderstand you? > CompItemSelected should be CompItem[selected]. Didn't know that it can be named like this - cause of '[', ']'. Regards Juergen From maglione.k at gmail.com Sat Nov 1 14:50:43 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sat, 1 Nov 2008 17:50:43 -0400 Subject: [Vimperator] [PATCH] feature request for new highlight groups In-Reply-To: <20081101214509.GD6254@case.a42.local> References: <20081101212146.GC6254@case.a42.local> <20081101212723.GA30382@jg.home> <20081101214509.GD6254@case.a42.local> Message-ID: <20081101215043.GB30382@jg.home> On Sat, Nov 01, 2008 at 10:45:09PM +0100, Juergen Descher wrote: >> hl-Indicator isn't used anywhere, inside your patch our without. >and each color will be used/shown - or do I misunderstand you? Sorry, I didn't notice the ,.indicator. Mapping the highlight groups to special CSS selectors isn't meant for UI elements, it's meant for special cases only, such as when we need to match on an id or (mostly) for when we need to match things in web pages, like search highlighting or hints, which we can't reasonably give the same classes as we'd give UI elements. >Didn't know that it can be named like this - cause of '[', ']'. Any non-word character is ignored and treated as a CSS selector. -- Kris Maglione I do not believe in the immortality of the individual, and I consider ethics to be an exclusively human concern with no superhuman authority behind it. --Albert Einstein From ezzetabi at hotmail.com Sat Nov 1 15:08:23 2008 From: ezzetabi at hotmail.com (ezzetabi) Date: Sat, 1 Nov 2008 23:08:23 +0100 Subject: [Vimperator] / misfeature? Message-ID: <20081101230823.723bdeb7@hotmail.com> If you visit this address: http://danbooru.donmai.us/post?commit=Search&page=2&tags=rating%3Asafe and press it becomes: http://danbooru.donmai.us/post?commit=Search&page=2&tags=rating%4Asafe as expected. But the 3 of `%3a' isn't actually number it should be incremented as it represents a character. Maybe this feature should be a little more precise to avoid unwanted effects? (Ok, I already guess the answer: `if you code it, sure.' So, just to know, vimperator is programmed in lua, right?) etb From jhdl at gmx.net Sat Nov 1 15:31:50 2008 From: jhdl at gmx.net (Juergen Descher) Date: Sat, 1 Nov 2008 23:31:50 +0100 Subject: [Vimperator] [PATCH] feature request for new highlight groups In-Reply-To: <20081101215043.GB30382@jg.home> References: <20081101212146.GC6254@case.a42.local> <20081101212723.GA30382@jg.home> <20081101214509.GD6254@case.a42.local> <20081101215043.GB30382@jg.home> Message-ID: <20081101223150.GE6254@case.a42.local> Quoting Kris Maglione (Sa, 01 Nov 2008, 17:50:43): > On Sat, Nov 01, 2008 at 10:45:09PM +0100, Juergen Descher wrote: >>> hl-Indicator isn't used anywhere, inside your patch our without. >> and each color will be used/shown - or do I misunderstand you? > > Sorry, I didn't notice the ,.indicator. Mapping the highlight groups to > special CSS selectors isn't meant for UI elements, it's meant for special > cases only, such as when we need to match on an id or (mostly) for when > we need to match things in web pages, like search highlighting or hints, > which we can't reasonably give the same classes as we'd give UI elements. Sorry, does that mean something like 'hl-Indicator' will not be applied, cause it's an 'UI element'? That would be very bad. >> Didn't know that it can be named like this - cause of '[', ']'. > > Any non-word character is ignored and treated as a CSS selector. If I change CompItemSelected into CompItem[selected], then this will work: :hi CompItem[selected] Key Sample CSS CompItem[selected] XXX background-color: yellow; but any of this: :hi CompItem[selected] background-color: #101010 :hi CompItem[selected=true] background-color: #101010 Unknown highlight keyword Any hint? Regards Juergen -------------- next part -------------- A non-text attachment was scrubbed... Name: ft-hi-indicator-compitem_selected_true.patch Type: text/x-diff Size: 1364 bytes Desc: not available URL: From maglione.k at gmail.com Sat Nov 1 15:52:22 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sat, 1 Nov 2008 18:52:22 -0400 Subject: [Vimperator] [PATCH] feature request for new highlight groups In-Reply-To: <20081101223150.GE6254@case.a42.local> References: <20081101212146.GC6254@case.a42.local> <20081101212723.GA30382@jg.home> <20081101214509.GD6254@case.a42.local> <20081101215043.GB30382@jg.home> <20081101223150.GE6254@case.a42.local> Message-ID: <20081101225222.GC30382@jg.home> On Sat, Nov 01, 2008 at 11:31:50PM +0100, Juergen Descher wrote: >Sorry, does that mean something like 'hl-Indicator' will not be >applied, cause it's an 'UI element'? That would be very bad. No, it means that the indicator should have the class hl-Indicator instead of indicator if it's to have a highlight group. >If I change CompItemSelected into CompItem[selected], then this will >work: > > :hi CompItem[selected] > Key Sample CSS > CompItem[selected] XXX background-color: yellow; > >but any of this: > :hi CompItem[selected] background-color: #101010 > :hi CompItem[selected=true] background-color: #101010 > Unknown highlight keyword You misunderstand. The table row needs to have the class hl-CompItem, and the CompItem group needs to be specified by itself as a highlight group. Then, CompItem can be used as a highlight group and followed by any CSS selector. I'll add highlight groups for the completion items later today. -- Kris Maglione i've wondered whether Linux sysfs should be called syphilis --forsyth From jhdl at gmx.net Sat Nov 1 16:19:49 2008 From: jhdl at gmx.net (Juergen Descher) Date: Sun, 2 Nov 2008 00:19:49 +0100 Subject: [Vimperator] [PATCH] feature request for new highlight groups In-Reply-To: <20081101225222.GC30382@jg.home> References: <20081101212146.GC6254@case.a42.local> <20081101212723.GA30382@jg.home> <20081101214509.GD6254@case.a42.local> <20081101215043.GB30382@jg.home> <20081101223150.GE6254@case.a42.local> <20081101225222.GC30382@jg.home> Message-ID: <20081101231949.GF6254@case.a42.local> Hi Kris, thanks for your explanations! Quoting Kris Maglione (Sa, 01 Nov 2008, 18:52:22): > selector. I'll add highlight groups for the completion items later today. This will be the best :-) Have a nice day! Juergen From mail407 at gmail.com Sat Nov 1 21:22:54 2008 From: mail407 at gmail.com (Andrei) Date: Sat, 1 Nov 2008 21:22:54 -0700 Subject: [Vimperator] charhints for desktop navigation Message-ID: <8f6da5150811012122u6236acb0sb41341aaeff701eb@mail.gmail.com> Greetings Vimperator's people! I am not sure if this is a relevant posting to this list, leaving it up to the Moderator. I was inspired by the Vimperator charhints idea, and wrote a little program which uses charhints for navigating the Linux desktop. My program pops up a menu with the colored list of windows, marked by letters a-z. Pressing the key a-z "teleports" to that window: http://sourceforge.net/projects/wmjump/ I just wanted to invite the people from the Vimperator's list to test this program, because it was inspired by Vimperator. I think those interested in Vimperator will be also interested in this, because it further reduces the use of the mouse. Andrei. From jhdl at gmx.net Sun Nov 2 03:39:45 2008 From: jhdl at gmx.net (Juergen Descher) Date: Sun, 2 Nov 2008 12:39:45 +0100 Subject: [Vimperator] [PATCH] feature request for new highlight groups In-Reply-To: <20081101225222.GC30382@jg.home> References: <20081101212146.GC6254@case.a42.local> <20081101212723.GA30382@jg.home> <20081101214509.GD6254@case.a42.local> <20081101215043.GB30382@jg.home> <20081101223150.GE6254@case.a42.local> <20081101225222.GC30382@jg.home> Message-ID: <20081102113944.GA6017@case.a42.local> Hi Kris, Quoting Kris Maglione (Sa, 01 Nov 2008, 18:52:22): > selector. I'll add highlight groups for the completion items later today. Thanks a lot, for doing this! Best Regards Juergen From jacobchappelle at gmail.com Sun Nov 2 10:47:07 2008 From: jacobchappelle at gmail.com (Jacob) Date: Sun, 2 Nov 2008 10:47:07 -0800 Subject: [Vimperator] [PATCH] feature request for new highlight groups In-Reply-To: <20081102113944.GA6017@case.a42.local> References: <20081101212146.GC6254@case.a42.local> <20081101212723.GA30382@jg.home> <20081101214509.GD6254@case.a42.local> <20081101215043.GB30382@jg.home> <20081101223150.GE6254@case.a42.local> <20081101225222.GC30382@jg.home> <20081102113944.GA6017@case.a42.local> Message-ID: <3ec81ae0811021047i12a2e6e3u23e247a1793274cb@mail.gmail.com> Hello Vimperator supporters, I would really like to use Vimperator on my Ubuntu Hardy Heron under Firefox 3 or even Firefox 2, however everytime I try to install this I get an error. For example when I try to install Vimperator on Firefox 2.0.0.17 using Addons under Tools in Firefox 2, this happens... The most recent version compatible with Firefox (2.0.0.17) Version 0.5.3 ? December 21, 2007 ? 118 KB *Add to Firefox * ok so I click on the install button and I get an Error popup window with an Exclamation Mark that says exactly this. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Firefox could not install the file at https://addons.mozilla.org/en-US/firefox/downloads/file/22115/vimperator-0.5.3-fx.xpi because: Unexpected installation error Review the Error Console log for more details -203 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ So, then I look at the error console and I see this message... +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ installLocation has no properties file:///usr/lib/firefox/components/nsExtensionManager.js +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Does anybody have any idea what the problem is with this? or how to overcome this to install Vimperator... I would really like to install Vimperator and use it on Ubuntu with Firefox 2 or 3, but so far I have not been able to overcome this problem. Thanks Jake ______________________________________________ Vimperator mailing list Vimperator at mozdev.orghttps://www.mozdev.org/mailman/listinfo/vimperator -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhdl at gmx.net Sun Nov 2 11:05:01 2008 From: jhdl at gmx.net (Juergen Descher) Date: Sun, 2 Nov 2008 20:05:01 +0100 Subject: [Vimperator] Ubuntu ff2,ff3 and vimperator install In-Reply-To: <3ec81ae0811021047i12a2e6e3u23e247a1793274cb@mail.gmail.com> References: <20081101212146.GC6254@case.a42.local> <20081101212723.GA30382@jg.home> <20081101214509.GD6254@case.a42.local> <20081101215043.GB30382@jg.home> <20081101223150.GE6254@case.a42.local> <20081101225222.GC30382@jg.home> <20081102113944.GA6017@case.a42.local> <3ec81ae0811021047i12a2e6e3u23e247a1793274cb@mail.gmail.com> Message-ID: <20081102190501.GB6017@case.a42.local> Sorry not the answer you like, but: Quoting Jacob (So, 02 Nov 2008, 10:47:07): > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > installLocation has no properties > file:///usr/lib/firefox/components/nsExtensionManager.js > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ debian etch: $> locate nsExtensionManager.js /usr/lib/iceweasel/components/nsExtensionManager.js /usr/lib/xulrunner/components/nsExtensionManager.js keep in mind: on debian 'firefox' is named 'iceweasel' debian lenny: $> locate nsExtensionManager.js /usr/lib/xulrunner-1.9/components/nsExtensionManager.js May be 'xulrunner' will help. HTH Juergen From maglione.k at gmail.com Sun Nov 2 11:05:28 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sun, 2 Nov 2008 14:05:28 -0500 Subject: [Vimperator] charhints for desktop navigation In-Reply-To: <8f6da5150811012122u6236acb0sb41341aaeff701eb@mail.gmail.com> References: <8f6da5150811012122u6236acb0sb41341aaeff701eb@mail.gmail.com> Message-ID: <20081102190528.GG30382@jg.home> On Sat, Nov 01, 2008 at 09:22:54PM -0700, Andrei wrote: >I was inspired by the Vimperator charhints idea, and wrote a little >program which >uses charhints for navigating the Linux desktop. My program pops up a menu >with the colored list of windows, marked by letters a-z. >Pressing the key a-z "teleports" to that window: Neat idea. I don't think it applies so much to users of tiling window managers, like myself. I'm rarely more than 3-4 key strokes away from any window, but it seems a nice alternative to the classic Alt-tab model. I suppose, since you use a-z, you can't narrow down your choices by typing a title, or something? As a side note, what happened to SourceForge? Christ, that's bright. Just when I thought they couldn't get much worse, they discovered the Web 2.0. And non-backwards-compatible Ajax. :( -- Kris Maglione I had a running compiler and nobody would touch it. They told me computers could only do arithmetic. --Rear Admiral Grace Hopper From jacobchappelle at gmail.com Sun Nov 2 11:24:41 2008 From: jacobchappelle at gmail.com (Jacob) Date: Sun, 2 Nov 2008 11:24:41 -0800 Subject: [Vimperator] Vimperator install problem. Message-ID: <3ec81ae0811021124vf376b1ar91566bc279fc3d79@mail.gmail.com> Just posting this to it's own thread here... Hello Vimperator supporters, I would really like to use Vimperator on my Ubuntu Hardy Heron under Firefox 3 or even Firefox 2, however everytime I try to install this I get an error. For example when I try to install Vimperator on Firefox 2.0.0.17 using Addons under Tools in Firefox 2, this happens... The most recent version compatible with Firefox (2.0.0.17) Version 0.5.3 ? December 21, 2007 ? 118 KB Add to Firefox ok so I click on the install button and I get an Error popup window with an Exclamation Mark that says exactly this. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Firefox could not install the file at https://addons.mozilla.org/en-US/firefox/downloads/file/22115/vimperator-0.5.3-fx.xpi because: Unexpected installation error Review the Error Console log for more details -203 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ So, then I look at the error console and I see this message... +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ installLocation has no properties file:///usr/lib/firefox/components/nsExtensionManager.js +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Does anybody have any idea what the problem is with this? or how to overcome this to install Vimperator... I would really like to install Vimperator and use it on Ubuntu with Firefox 2 or 3, but so far I have not been able to overcome this problem. Thanks Jake -------------- next part -------------- An HTML attachment was scrubbed... URL: From maglione.k at gmail.com Sun Nov 2 11:53:42 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sun, 2 Nov 2008 14:53:42 -0500 Subject: [Vimperator] Vimperator install problem. In-Reply-To: <3ec81ae0811021124vf376b1ar91566bc279fc3d79@mail.gmail.com> References: <3ec81ae0811021124vf376b1ar91566bc279fc3d79@mail.gmail.com> Message-ID: <20081102195342.GH30382@jg.home> On Sun, Nov 02, 2008 at 11:24:41AM -0800, Jacob wrote: >I would really like to use Vimperator on my Ubuntu Hardy Heron under Firefox >3 or even Firefox 2, however everytime I try to install this I get an error. >For example when I try to install Vimperator on Firefox 2.0.0.17 using >Addons under Tools in Firefox 2, this happens... > >The most recent version compatible with Firefox (2.0.0.17) >Version 0.5.3 ? December 21, 2007 ? 118 KB I'd suggest that you use at least version 1.2, which requires Firefox 3. Have you tried it, and if so, do you get similar errors? As a rule, any software with a version <1.0 is generally unsupported once a 1.0 version comes out. >So, then I look at the error console and I see this message... > >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >installLocation has no properties >file:///usr/lib/firefox/components/nsExtensionManager.js >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Does it give you a line number? I'm afraid that it won't ne an easy error to track down, and you'll likely get more help from a Firefox mailing list or IRC channel (but probably not much, in my experience). -- Kris Maglione Beware of "the real world". A speaker's apeal to it is always an invitation not to challenge his tacit assumptions. --Edsger W. Dijkstra From jacobchappelle at gmail.com Sun Nov 2 11:55:10 2008 From: jacobchappelle at gmail.com (Jacob) Date: Sun, 2 Nov 2008 11:55:10 -0800 Subject: [Vimperator] Vimperator install problem. In-Reply-To: <20081102195342.GH30382@jg.home> References: <3ec81ae0811021124vf376b1ar91566bc279fc3d79@mail.gmail.com> <20081102195342.GH30382@jg.home> Message-ID: <3ec81ae0811021155w17732102s41cca30d1285699b@mail.gmail.com> Same problem occurs with Vimperator 1.2 and FF3 Jake On Sun, Nov 2, 2008 at 11:53 AM, Kris Maglione wrote: > On Sun, Nov 02, 2008 at 11:24:41AM -0800, Jacob wrote: > >> I would really like to use Vimperator on my Ubuntu Hardy Heron under >> Firefox >> 3 or even Firefox 2, however everytime I try to install this I get an >> error. >> For example when I try to install Vimperator on Firefox 2.0.0.17 using >> Addons under Tools in Firefox 2, this happens... >> >> The most recent version compatible with Firefox (2.0.0.17) >> Version 0.5.3 ? December 21, 2007 ? 118 KB >> > > I'd suggest that you use at least version 1.2, which requires Firefox 3. > Have you tried it, and if so, do you get similar errors? > > As a rule, any software with a version <1.0 is generally unsupported once a > 1.0 version comes out. > > So, then I look at the error console and I see this message... >> >> >> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> installLocation has no properties >> file:///usr/lib/firefox/components/nsExtensionManager.js >> >> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> > > Does it give you a line number? I'm afraid that it won't ne an easy error > to track down, and you'll likely get more help from a Firefox mailing list > or IRC channel (but probably not much, in my experience). > > -- > Kris Maglione > > Beware of "the real world". A speaker's apeal to it is always an > invitation not to challenge his tacit assumptions. > --Edsger W. Dijkstra > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dotancohen at gmail.com Sun Nov 2 11:35:39 2008 From: dotancohen at gmail.com (Dotan Cohen) Date: Sun, 2 Nov 2008 21:35:39 +0200 Subject: [Vimperator] Vimperator install problem. In-Reply-To: <3ec81ae0811021124vf376b1ar91566bc279fc3d79@mail.gmail.com> References: <3ec81ae0811021124vf376b1ar91566bc279fc3d79@mail.gmail.com> Message-ID: <880dece00811021135t605a6760ne410cb990083551e@mail.gmail.com> 2008/11/2 Jacob : > Just posting this to it's own thread here... > > Hello Vimperator supporters, > > I would really like to use Vimperator on my Ubuntu Hardy Heron under Firefox > 3 or even Firefox 2, however everytime I try to install this I get an error. > For example when I try to install Vimperator on Firefox 2.0.0.17 using > Addons under Tools in Firefox 2, this happens... > > The most recent version compatible with Firefox (2.0.0.17) > Version 0.5.3 ? December 21, 2007 ? 118 KB > > Add to Firefox > ok so I click on the install button and I get an Error popup window with an > Exclamation Mark that says exactly this. > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Firefox could not install the file at > > https://addons.mozilla.org/en-US/firefox/downloads/file/22115/vimperator-0.5.3-fx.xpi > > because: Unexpected installation error > Review the Error Console log for more details > -203 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > So, then I look at the error console and I see this message... > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > installLocation has no properties > file:///usr/lib/firefox/components/nsExtensionManager.js > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Does anybody have any idea what the problem is with this? or how to overcome > this to install Vimperator... > > I would really like to install Vimperator and use it on Ubuntu with Firefox > 2 or 3, but so far I have not been > able to overcome this problem. > > > Thanks > > Jake From where are you installing Vimperator? Try here in Firefox 3: http://download.vimperator.org/vimperator/vimperator_1.2.xpi -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-? From jhdl at gmx.net Sun Nov 2 12:30:21 2008 From: jhdl at gmx.net (Juergen Descher) Date: Sun, 2 Nov 2008 21:30:21 +0100 Subject: [Vimperator] feature request to add arg '-replace, -r' to ':hi' Message-ID: <20081102203021.GC6017@case.a42.local> Hi Kris, @all, loving the ':hi' command I stuck in some quirks defining mappings in my .vimprc where I like to replace some colors. For this I have to give a bunch of args to the hi mappings. Doing some mappings for 'Hint' can lead in surprising results if you forget to add 'position: absolute'. All hints will be shown at the bottom of the page ... lucky if you'll see this. First thought: A BUG! ;> So, (as a js newbie) I tried to add an arg '-replace, -r'. With this you can do something like that: :hi Normal Key Sample CSS Normal XXX color: white;background-color: #202020 :hi -r Normal colors: pink; and? Nothing will happen, cause it's an ugly color :) No, cause 'colors' does not exist in the old hl-group -> do nothing. :hi Normal Key Sample CSS Normal XXX color: white;background-color: #202020 Ok we try: :hi -r Normal color: blue; :hi Normal Key Sample CSS Normal XXX color: blue;background-color: #202020 Please don't blame me for the code (attached patch), take it as a suggestion. It would be simple to extend it in the meaning of '-remove' a single style from the hl-group, or ... Regards Juergen -------------- next part -------------- A non-text attachment was scrubbed... Name: ft-hi-arg-replace.patch Type: text/x-diff Size: 2753 bytes Desc: not available URL: From jhdl at gmx.net Sun Nov 2 12:32:01 2008 From: jhdl at gmx.net (Juergen Descher) Date: Sun, 2 Nov 2008 21:32:01 +0100 Subject: [Vimperator] Vimperator install problem. In-Reply-To: <3ec81ae0811021155w17732102s41cca30d1285699b@mail.gmail.com> References: <3ec81ae0811021124vf376b1ar91566bc279fc3d79@mail.gmail.com> <20081102195342.GH30382@jg.home> <3ec81ae0811021155w17732102s41cca30d1285699b@mail.gmail.com> Message-ID: <20081102203201.GD6017@case.a42.local> May be 'xulrunner' will help. From maglione.k at gmail.com Sun Nov 2 12:40:20 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sun, 2 Nov 2008 15:40:20 -0500 Subject: [Vimperator] feature request to add arg '-replace, -r' to ':hi' In-Reply-To: <20081102203021.GC6017@case.a42.local> References: <20081102203021.GC6017@case.a42.local> Message-ID: <20081102204020.GI30382@jg.home> On Sun, Nov 02, 2008 at 09:30:21PM +0100, Juergen Descher wrote: >Hi Kris, @all, > >loving the ':hi' command I stuck in some quirks defining mappings in >my .vimprc where I like to replace some colors. For this I have to >give a bunch of args to the hi mappings. Doing some mappings for >'Hint' can lead in surprising results if you forget to add 'position: >absolute'. All hints will be shown at the bottom of the page ... lucky >if you'll see this. First thought: A BUG! ;> I've actually considered it (as the default behavior, actually), but at least for now you can use -append. I need to talk it over with the Martin, et al. before I do add it, though. I've also just moved those attributes (z-index, position, ...) to liberator.css, since they really don't have anything to do with highlighting. -- Kris Maglione For a sucessful technology, honesty must take precedence over public relations for nature cannot be fooled. --Richard Feynman From jhdl at gmx.net Sun Nov 2 12:51:20 2008 From: jhdl at gmx.net (Juergen Descher) Date: Sun, 2 Nov 2008 21:51:20 +0100 Subject: [Vimperator] feature request to add arg '-replace, -r' to ':hi' In-Reply-To: <20081102204020.GI30382@jg.home> References: <20081102203021.GC6017@case.a42.local> <20081102204020.GI30382@jg.home> Message-ID: <20081102205120.GE6017@case.a42.local> Hi Kris, thanks for your replay. Quoting Kris Maglione (So, 02 Nov 2008, 15:40:20): > On Sun, Nov 02, 2008 at 09:30:21PM +0100, Juergen Descher wrote: > I've actually considered it (as the default behavior, actually), but at > least for now you can use -append. I'll use my '-replace' :)) > I need to talk it over with the > Martin, et al. before I do add it, though. I've also just moved those > attributes (z-index, position, ...) to liberator.css, since they really > don't have anything to do with highlighting. ACK Regards Juergen From jhdl at gmx.net Mon Nov 3 05:54:15 2008 From: jhdl at gmx.net (Juergen Descher) Date: Mon, 3 Nov 2008 14:54:15 +0100 Subject: [Vimperator] feature request to add arg '-replace, -r' to ':hi' In-Reply-To: <20081102203021.GC6017@case.a42.local> References: <20081102203021.GC6017@case.a42.local> Message-ID: <20081103135415.GF6017@case.a42.local> Eventually someone is psychotically enough to think about my code, I'll provide a hopefully 'fixed' version, Yeah, perl and js is quite different :) cu Juergen -------------- next part -------------- A non-text attachment was scrubbed... Name: ft-hi-arg-replace-001.patch Type: text/x-diff Size: 2845 bytes Desc: not available URL: From Daniel.Trstenjak at online.de Mon Nov 3 11:22:34 2008 From: Daniel.Trstenjak at online.de (Daniel Trstenjak) Date: Mon, 3 Nov 2008 20:22:34 +0100 Subject: [Vimperator] charhints for desktop navigation In-Reply-To: <8f6da5150811012122u6236acb0sb41341aaeff701eb@mail.gmail.com> References: <8f6da5150811012122u6236acb0sb41341aaeff701eb@mail.gmail.com> Message-ID: <20081103192234.GA8782@laptop> Hi Andrei, > I was inspired by the Vimperator charhints idea, and wrote a little > program which > uses charhints for navigating the Linux desktop. My program pops up a menu > with the colored list of windows, marked by letters a-z. > Pressing the key a-z "teleports" to that window: I think it's even more convient if you're able to give any window a letter, and jump to the window by pressing this letter (in conjunction with some modifier). I have a modified version of the script 'bookmarks.lua' (attached) from the ion3 window manager (http://modeemi.fi/~tuomov/ion/) homepage. META=Super_L (in my case), n=a...z META+m n Set bookmark n for current window META+g n Go to bookmark n But like Kris already said, in the case of a tiling window manager, it's not so much needed. Greetings, Daniel -------------- next part -------------- -- -- WClientWin bookmark support for Ion3 -- -- META+G n Go to bookmark n (n=a...z) -- META+M n Set bookmark n -- local bms={} bookmarks={} function bookmarks.set(key, clientWin) bms[key]=clientWin end function bookmarks.goto(key) if bms[key] then bms[key]:goto() end end keys="abcdefghijklmnopqrstuvwxyz" for i=1,keys:len() do local key=keys:sub(i, i) defbindings("WScreen", { submap(META.."G", { kpress(key, function() bookmarks.goto(key) end), }) }) defbindings("WClientWin", { submap(META.."M", { kpress(key, function(clientWin) bookmarks.set(key, clientWin) end), }) }) end From ted at tedpavlic.com Tue Nov 4 06:37:52 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Tue, 04 Nov 2008 09:37:52 -0500 Subject: [Vimperator] Different behavior of Y and Cmd+C In-Reply-To: <490A0DB4.2060507@tedpavlic.com> References: <490A0DB4.2060507@tedpavlic.com> Message-ID: <49105E40.1020600@tedpavlic.com> > I feel like this topic has been discussed, but a quick search of the > group returns nothing. If you go down through this thread, you'll see that a resolution to this problem involved making a custom macro that issues Cmd+C automatically. Now that I've been using that custom macro, I notice something else strange when copying BULLETED lists. Before I added the macro, hitting "Y" (i.e., Vimperator "Y") would turn bullets into hashes (#). After I added the macro, hitting "Y" (i.e., Cmd+Y) turns bullets into asterisks (*). I *think* the latter behavior is probably better. Any idea why Vimperator's copy replaces bullets with hashes? --Ted -- Ted Pavlic From ted at tedpavlic.com Tue Nov 4 07:15:40 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Tue, 04 Nov 2008 10:15:40 -0500 Subject: [Vimperator] Turning vimperator off in GMail, GReader, GCal In-Reply-To: <4908715C.8080404@tedpavlic.com> References: <62a60dd90810281026obc6594dub5c0dc0c3f4af03@mail.gmail.com> <20081028234148.GB6963@intoxicatedmind.net> <49085894.6030002@tedpavlic.com> <6eebba490810290621t4050f23ckf13224ffea5d826d@mail.gmail.com> <4908715C.8080404@tedpavlic.com> Message-ID: <4910671C.90701@tedpavlic.com> > Note that: > > :help autocmd-examples > > has some (better) options: > > For all Google sites: ... Is there a way to turn off pass thru when you switch to a different TAB and then turn it back on when you jump back to the gmail tab? At the moment, in GMail passthru, if you click on a new tab, you'll stay in pass-thru mode. Just a thought -- Ted -- Ted Pavlic From teramako at gmail.com Tue Nov 4 07:53:13 2008 From: teramako at gmail.com (M.Terada) Date: Wed, 5 Nov 2008 00:53:13 +0900 Subject: [Vimperator] Turning vimperator off in GMail, GReader, GCal In-Reply-To: <4910671C.90701@tedpavlic.com> References: <62a60dd90810281026obc6594dub5c0dc0c3f4af03@mail.gmail.com> <20081028234148.GB6963@intoxicatedmind.net> <49085894.6030002@tedpavlic.com> <6eebba490810290621t4050f23ckf13224ffea5d826d@mail.gmail.com> <4908715C.8080404@tedpavlic.com> <4910671C.90701@tedpavlic.com> Message-ID: <6eebba490811040753x19bb3fa0s54b2c9e8478c675c@mail.gmail.com> On Wed, Nov 5, 2008 at 12:15 AM, Ted Pavlic wrote: >> Note that: >> >> :help autocmd-examples >> >> has some (better) options: >> >> For all Google sites: > > ... > > Is there a way to turn off pass thru when you switch to a different TAB and > then turn it back on when you jump back to the gmail tab? > > At the moment, in GMail passthru, if you click on a new tab, you'll stay in > pass-thru mode. I think it needs to define :autocmd LocationChange .* :js modes.passAllKeys=false Now, I use a plugin ( http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/feedSomeKeys_2.js ) which can feed only specifed keys to web contents so I little need to set pass-through :) -- teramako http://d.hatena.ne.jp/teramako/ From mail407 at gmail.com Tue Nov 4 09:23:46 2008 From: mail407 at gmail.com (Andrei) Date: Tue, 4 Nov 2008 09:23:46 -0800 Subject: [Vimperator] charhints for desktop navigation In-Reply-To: <20081103192234.GA8782@laptop> References: <8f6da5150811012122u6236acb0sb41341aaeff701eb@mail.gmail.com> <20081103192234.GA8782@laptop> Message-ID: <8f6da5150811040923j7667111bi18871506a6b768c3@mail.gmail.com> Dear Kris and Daniel, it seems that everybody uses Ion3 these days. I love Ion3, but for some reason I now use Xfce. Kris, I cannot narrow the selection by typing the title, that's true. Because all the letter keys are already reserved... I don't know how to implement what you suggested, have to think about it. I am planning to introduce an option: wmjump --current which would only list windows on the current desktop, that would help to reduce the clutter... Daniel, if I understand you correctly, in your approach the user chooses a shortcut letter for each window by pressing META+m n , somewhat similar to setting a mark in Vim. In my approach, the computer assigns a letter automatically to every window based on the historic order. Which way is better? I think it depends on how often you open and close windows. My computer has rather small amount of memory, so I prefer to close those applications which are not currently in use. Also, for some reason I have to reboot every day. In this situation, I prefer to have the shortcut letters auto-generated, as in wmjump. If I remember correctly, in Ion3 you can press Alt-K and this brings up the list of windows, which you can then navigate using P and N. Pressing Enter on the item brings you to that window. This would be fine for me, except for two things. First of all, I feel like a woodpecker pressing P and N many times. Would it be possible to modify the Ion Lua script so that it puts a charhint next to each item, and then I just press that letter? The second thing, I want the list color-coded. Note that in the standard Alt-Tab you have an application icon next to each item. Either that or color coding. In Ion3 menu, there is not much space for an app icon, but would it be hard to use color coding like in my wmjump? Actually, what is the best way to install Ion3 on Xubuntu Hardy Heron? Andrei. On Mon, Nov 3, 2008 at 11:22 AM, Daniel Trstenjak wrote: > > Hi Andrei, > >> I was inspired by the Vimperator charhints idea, and wrote a little >> program which >> uses charhints for navigating the Linux desktop. My program pops up a menu >> with the colored list of windows, marked by letters a-z. >> Pressing the key a-z "teleports" to that window: > > I think it's even more convient if you're able to give any window a > letter, and jump to the window by pressing this letter (in conjunction > with some modifier). > > I have a modified version of the script 'bookmarks.lua' (attached) from > the ion3 window manager (http://modeemi.fi/~tuomov/ion/) homepage. > > > META=Super_L (in my case), n=a...z > > META+m n Set bookmark n for current window > META+g n Go to bookmark n > > > But like Kris already said, in the case of a tiling window manager, it's > not so much needed. > > > Greetings, > Daniel > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > > From Daniel.Trstenjak at online.de Tue Nov 4 11:52:23 2008 From: Daniel.Trstenjak at online.de (Daniel Trstenjak) Date: Tue, 4 Nov 2008 20:52:23 +0100 Subject: [Vimperator] charhints for desktop navigation In-Reply-To: <8f6da5150811040923j7667111bi18871506a6b768c3@mail.gmail.com> References: <8f6da5150811012122u6236acb0sb41341aaeff701eb@mail.gmail.com> <20081103192234.GA8782@laptop> <8f6da5150811040923j7667111bi18871506a6b768c3@mail.gmail.com> Message-ID: <20081104195223.GA12132@laptop> Hi Andrei, > it seems that everybody uses Ion3 these days. I love Ion3, but for > some reason I now use Xfce. Some guys on this list are using awesome (http://awesome.naquadah.org/). I'm for ion3, perhaps only because the main developer Tuomo is so much funnier. > which would only list windows on the current desktop, that would help > to reduce the clutter... If you mean by desktop a workspace, it's also nice to jump directly to a window in an other workspace. > Daniel, if I understand you correctly, in your approach the user > chooses a shortcut letter for > each window by pressing META+m n , somewhat similar to setting a mark in Vim. Yes. > In my approach, the computer assigns a letter automatically to every > window based on the historic order. Which way is better? As always, it depends. > I think it depends on how often you open and close windows. My > computer has rather small amount of memory, so I prefer to close those > applications which are not currently in use. Also, for some reason I > have to reboot every day. In this situation, I prefer to have the > shortcut letters auto-generated, as in wmjump. That's ok. > If I remember correctly, in Ion3 you can press Alt-K and this brings > up the list of windows, which you can then navigate using P and N. It's holding ALT-K und pressing K to open the list and to go through the items of the list. Releasing the pressed keys will open the selected window. Actually I'm never using this. I'm just jumping between my workspaces and from tab to tab. Works very well for me. > Pressing Enter on the item brings you to that window. This would be > fine for me, except for two things. First of all, I feel like a > woodpecker pressing P and N many times. Would it be possible to modify > the Ion Lua script so that it puts a charhint next to each item, and > then I just press that letter? The second thing, I want the list > color-coded. Note that in the standard Alt-Tab you have an application > icon next to each item. Either that or color coding. In Ion3 menu, > there is not much space for an app icon, but would it be hard to use > color coding like in my wmjump? I have no idea how much work such changes would involve. > Actually, what is the best way to install Ion3 on Xubuntu Hardy Heron? I have Ubuntu Hardy Heron and just installed the ion3 package from the default repository. With Ubuntu you can then choose from the login screen to start an ion3 session. Greetings, Daniel From nemolivier at gmail.com Wed Nov 5 01:01:26 2008 From: nemolivier at gmail.com (=?UTF-8?Q?Olivier_Gu=C3=A9ry?=) Date: Wed, 5 Nov 2008 10:01:26 +0100 Subject: [Vimperator] Turning vimperator off in GMail, GReader, GCal In-Reply-To: <6eebba490811040753x19bb3fa0s54b2c9e8478c675c@mail.gmail.com> References: <62a60dd90810281026obc6594dub5c0dc0c3f4af03@mail.gmail.com> <20081028234148.GB6963@intoxicatedmind.net> <49085894.6030002@tedpavlic.com> <6eebba490810290621t4050f23ckf13224ffea5d826d@mail.gmail.com> <4908715C.8080404@tedpavlic.com> <4910671C.90701@tedpavlic.com> <6eebba490811040753x19bb3fa0s54b2c9e8478c675c@mail.gmail.com> Message-ID: <5c2c86e70811050101x525d85e8pe3f7be707f6f0dc@mail.gmail.com> > Now, I use a plugin ( > http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/feedSomeKeys_2.js > ) which can feed only specifed keys to web contents > so I little need to set pass-through :) This one look's great. Maybee it cool be _the_ solution for g{mail,reader}. Is there some hope to use it in other languages ? Cheers, Olivier. -- [Message tap? sur un clavier B?po : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com From teramako at gmail.com Wed Nov 5 05:58:00 2008 From: teramako at gmail.com (M.Terada) Date: Wed, 5 Nov 2008 22:58:00 +0900 Subject: [Vimperator] Turning vimperator off in GMail, GReader, GCal In-Reply-To: <6eebba490811040753x19bb3fa0s54b2c9e8478c675c@mail.gmail.com> References: <62a60dd90810281026obc6594dub5c0dc0c3f4af03@mail.gmail.com> <20081028234148.GB6963@intoxicatedmind.net> <49085894.6030002@tedpavlic.com> <6eebba490810290621t4050f23ckf13224ffea5d826d@mail.gmail.com> <4908715C.8080404@tedpavlic.com> <4910671C.90701@tedpavlic.com> <6eebba490811040753x19bb3fa0s54b2c9e8478c675c@mail.gmail.com> Message-ID: <6eebba490811050558o6f2c2b53od999038f8e104c58@mail.gmail.com> On Wed, Nov 5, 2008 at 12:53 AM, M. Terada wrote: > On Wed, Nov 5, 2008 at 12:15 AM, Ted Pavlic wrote: >>> Note that: >>> >>> :help autocmd-examples >>> >>> has some (better) options: >>> >>> For all Google sites: >> >> ... >> >> Is there a way to turn off pass thru when you switch to a different TAB and >> then turn it back on when you jump back to the gmail tab? >> >> At the moment, in GMail passthru, if you click on a new tab, you'll stay in >> pass-thru mode. > > I think it needs to define > :autocmd LocationChange .* :js modes.passAllKeys=false > I'm sorry. The following url is a better example. http://vimperator.org/trac/wiki/Vimperator/Wiki#Usefulautocommands Best regards -- teramako From teramako at gmail.com Wed Nov 5 06:20:58 2008 From: teramako at gmail.com (M.Terada) Date: Wed, 5 Nov 2008 23:20:58 +0900 Subject: [Vimperator] Turning vimperator off in GMail, GReader, GCal In-Reply-To: <5c2c86e70811050101x525d85e8pe3f7be707f6f0dc@mail.gmail.com> References: <62a60dd90810281026obc6594dub5c0dc0c3f4af03@mail.gmail.com> <20081028234148.GB6963@intoxicatedmind.net> <49085894.6030002@tedpavlic.com> <6eebba490810290621t4050f23ckf13224ffea5d826d@mail.gmail.com> <4908715C.8080404@tedpavlic.com> <4910671C.90701@tedpavlic.com> <6eebba490811040753x19bb3fa0s54b2c9e8478c675c@mail.gmail.com> <5c2c86e70811050101x525d85e8pe3f7be707f6f0dc@mail.gmail.com> Message-ID: <6eebba490811050620k456605b1pd666f3ca56353001@mail.gmail.com> On Wed, Nov 5, 2008 at 6:01 PM, Olivier Gu?ry wrote: >> Now, I use a plugin ( >> http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/feedSomeKeys_2.js >> ) which can feed only specifed keys to web contents >> so I little need to set pass-through :) > > This one look's great. Maybee it cool be _the_ solution for > g{mail,reader}. Is there some hope to use it in other languages ? > OK. I challenged the translation. but I'm not good at English :( I'm grad you understand my English ... Best regards -- teramako -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: feedSomeKeys_2.txt URL: From ted at tedpavlic.com Wed Nov 5 07:02:00 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Wed, 05 Nov 2008 10:02:00 -0500 Subject: [Vimperator] Hashes, Asterisks, and copying Message-ID: <4911B568.4000209@tedpavlic.com> I posted a message about this earlier, but I made a mistake in how I described the problem. Instead, I'll give an example... Try this page: http://www.npr.org/templates/story/story.php?storyId=96541075 If I highlight the four lines in the "Tuesday's Pick" box and then hit "Y" and paste here, I get: # Song: "On the Water" # Artist: The Walkmen # CD: You & Me # Genre: Rock However, if I remap "Y" to issue a Cmd+C and invoke the "Copy" from Firefox's "Edit" menu, I get: * Song: "On the Water" * Artist: The Walkmen * CD: You & Me * Genre: Rock See? Asterisks here... Hashes there... Why the difference? Is it a bug? --Ted -- Ted Pavlic From maglione.k at gmail.com Wed Nov 5 07:43:07 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Wed, 5 Nov 2008 10:43:07 -0500 Subject: [Vimperator] Hashes, Asterisks, and copying In-Reply-To: <4911B568.4000209@tedpavlic.com> References: <4911B568.4000209@tedpavlic.com> Message-ID: <20081105154307.GA2328@jg.home> On Wed, Nov 05, 2008 at 10:02:00AM -0500, Ted Pavlic wrote: > See? Asterisks here... Hashes there... > > Why the difference? Is it a bug? It's a bug, but it's not ours. You'd think that FF would use the same code for copying the selection to the clipboard as it does for copying the selection's text, but, apparantly not. I'm starting to think we should just send / events rather than trying to copy the selection ourselves. -- Kris Maglione There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies. --C.A.R. Hoare From nemolivier at gmail.com Thu Nov 6 00:17:04 2008 From: nemolivier at gmail.com (=?UTF-8?Q?Olivier_Gu=C3=A9ry?=) Date: Thu, 6 Nov 2008 09:17:04 +0100 Subject: [Vimperator] Turning vimperator off in GMail, GReader, GCal In-Reply-To: <6eebba490811050620k456605b1pd666f3ca56353001@mail.gmail.com> References: <62a60dd90810281026obc6594dub5c0dc0c3f4af03@mail.gmail.com> <20081028234148.GB6963@intoxicatedmind.net> <49085894.6030002@tedpavlic.com> <6eebba490810290621t4050f23ckf13224ffea5d826d@mail.gmail.com> <4908715C.8080404@tedpavlic.com> <4910671C.90701@tedpavlic.com> <6eebba490811040753x19bb3fa0s54b2c9e8478c675c@mail.gmail.com> <5c2c86e70811050101x525d85e8pe3f7be707f6f0dc@mail.gmail.com> <6eebba490811050620k456605b1pd666f3ca56353001@mail.gmail.com> Message-ID: <5c2c86e70811060017s4142a803n6f2a569cb3e3f9d1@mail.gmail.com> Thank's for the translation. It seem's to not work with gmail but well with google reader. Strange thing : I can't use gb / gw to change tab but they are not defined in the settings. But I must repeat : this is the best solution I read. Olivier. From dotancohen at gmail.com Thu Nov 6 03:41:30 2008 From: dotancohen at gmail.com (Dotan Cohen) Date: Thu, 6 Nov 2008 13:41:30 +0200 Subject: [Vimperator] Firefox 3.1 support? Message-ID: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> Firefox 3.1 is right around the corner, and after testing a beta today I am very happy with the application. I will not be able to move to 3.1 until VImperator is updated, so might I ask if there are plans to do so? In fact, with all the bugfixes in the past few months, is a new release not imminent anyway? Thanks Martin and to all else who contribute to Vimperator! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-? From dpb at driftaway.org Thu Nov 6 04:15:14 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Thu, 6 Nov 2008 14:15:14 +0200 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> Message-ID: 2008/11/6 Dotan Cohen : > Firefox 3.1 is right around the corner, and after testing a beta today > I am very happy with the application. I will not be able to move to > 3.1 until VImperator is updated, so might I ask if there are plans to > do so? In fact, with all the bugfixes in the past few months, is a new > release not imminent anyway? > > Thanks Martin and to all else who contribute to Vimperator! The CVS version does work with 3.1, but it's currently pretty broken. We should stop adding all the cool new features for a while and squash the bugs so we could actually release it someday... *looks at Kris* -- Daniel From nemolivier at gmail.com Thu Nov 6 04:37:04 2008 From: nemolivier at gmail.com (=?UTF-8?Q?Olivier_Gu=C3=A9ry?=) Date: Thu, 6 Nov 2008 13:37:04 +0100 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> Message-ID: <5c2c86e70811060437s3067927bq9f46e20ddc7819dd@mail.gmail.com> 2008/11/6 Daniel Bainton : > 2008/11/6 Dotan Cohen : >> Firefox 3.1 is right around the corner, and after testing a beta today >> I am very happy with the application. I will not be able to move to >> 3.1 until VImperator is updated, so might I ask if there are plans to >> do so? In fact, with all the bugfixes in the past few months, is a new >> release not imminent anyway? >> >> Thanks Martin and to all else who contribute to Vimperator! > > The CVS version does work with 3.1, but it's currently pretty broken. > We should stop adding all the cool new features for a while and squash > the bugs so we could actually release it someday... *looks at Kris* Good idear. But before, can you please add the rss tip as an option ? :D http://vimperator.org/trac/ticket/17 It's an old request and a realy missing part in current vimperator. Cheers, Olivier. -- [Message tap? sur un clavier B?po : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com From teramako at gmail.com Thu Nov 6 04:40:51 2008 From: teramako at gmail.com (M.Terada) Date: Thu, 6 Nov 2008 21:40:51 +0900 Subject: [Vimperator] Turning vimperator off in GMail, GReader, GCal In-Reply-To: <5c2c86e70811060017s4142a803n6f2a569cb3e3f9d1@mail.gmail.com> References: <62a60dd90810281026obc6594dub5c0dc0c3f4af03@mail.gmail.com> <20081028234148.GB6963@intoxicatedmind.net> <49085894.6030002@tedpavlic.com> <6eebba490810290621t4050f23ckf13224ffea5d826d@mail.gmail.com> <4908715C.8080404@tedpavlic.com> <4910671C.90701@tedpavlic.com> <6eebba490811040753x19bb3fa0s54b2c9e8478c675c@mail.gmail.com> <5c2c86e70811050101x525d85e8pe3f7be707f6f0dc@mail.gmail.com> <6eebba490811050620k456605b1pd666f3ca56353001@mail.gmail.com> <5c2c86e70811060017s4142a803n6f2a569cb3e3f9d1@mail.gmail.com> Message-ID: <6eebba490811060440sc674bf2g68315b3b348b6cc7@mail.gmail.com> On Thu, Nov 6, 2008 at 5:17 PM, Olivier Gu?ry wrote: > Thank's for the translation. > It seem's to not work with gmail but well with google reader. > > Strange thing : I can't use gb / gw to change tab but they are not > defined in the settings. > I could not find gw map in vimperator. Is it defined ? And gb works good . I don't know why it doesn't work ... -- teramako http://d.hatena.ne.jp/teramako/ From nemolivier at gmail.com Thu Nov 6 04:53:34 2008 From: nemolivier at gmail.com (=?UTF-8?Q?Olivier_Gu=C3=A9ry?=) Date: Thu, 6 Nov 2008 13:53:34 +0100 Subject: [Vimperator] Turning vimperator off in GMail, GReader, GCal In-Reply-To: <6eebba490811060440sc674bf2g68315b3b348b6cc7@mail.gmail.com> References: <62a60dd90810281026obc6594dub5c0dc0c3f4af03@mail.gmail.com> <49085894.6030002@tedpavlic.com> <6eebba490810290621t4050f23ckf13224ffea5d826d@mail.gmail.com> <4908715C.8080404@tedpavlic.com> <4910671C.90701@tedpavlic.com> <6eebba490811040753x19bb3fa0s54b2c9e8478c675c@mail.gmail.com> <5c2c86e70811050101x525d85e8pe3f7be707f6f0dc@mail.gmail.com> <6eebba490811050620k456605b1pd666f3ca56353001@mail.gmail.com> <5c2c86e70811060017s4142a803n6f2a569cb3e3f9d1@mail.gmail.com> <6eebba490811060440sc674bf2g68315b3b348b6cc7@mail.gmail.com> Message-ID: <5c2c86e70811060453h7eaf0950q9d31b1f6433731de@mail.gmail.com> 2008/11/6 M. Terada : > On Thu, Nov 6, 2008 at 5:17 PM, Olivier Gu?ry wrote: >> Thank's for the translation. >> It seem's to not work with gmail but well with google reader. >> >> Strange thing : I can't use gb / gw to change tab but they are not >> defined in the settings. >> > > I could not find gw map in vimperator. Is it defined ? > And gb works good . > I don't know why it doesn't work ... Maybe a problem with the current cvs? look's quite broken. Olivier. -- [Message tap? sur un clavier B?po : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com From maxauthority at vimperator.org Thu Nov 6 06:10:47 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Thu, 6 Nov 2008 15:10:47 +0100 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> Message-ID: > The CVS version does work with 3.1, but it's currently pretty broken. > We should stop adding all the cool new features for a while and squash > the bugs so we could actually release it someday... *looks at Kris* I fully agree. In future commiters really should either: a) Test a new feature *seriously* some days before commiting or: b) Work inside a branch, and only commit to HEAD when being sure that basic things like completions do work, and thinking about other code which might be affected by the changes, or: c) Be in #vimperator, so that the one adding/changing things can quickly fix the most annoying bugs which one introduces. It's not that a) b) c) are rated by any means, ANY of the 3 options is really ok, but adding a new feature and leaving HEAD broken seriously (which completions still are) is not something that I want to happen again. This shouldn't sound too harsh, I am really happy about any contributors - especially Kris did some wonderful things - but I don't want Vimperator to become a project which HEAD is broken constantly and things don't get fixed quickly. From ted at tedpavlic.com Thu Nov 6 06:53:28 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 06 Nov 2008 09:53:28 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> Message-ID: <491304E8.6010900@tedpavlic.com> These comments come squarely from the peanut gallery, and so they may be taking much for granted or overlooking something important... but... >> The CVS version does work with 3.1, but it's currently pretty broken. >> We should stop adding all the cool new features for a while and squash >> the bugs so we could actually release it someday... *looks at Kris* > I fully agree. > In future commiters really should either: > > a) Test a new feature *seriously* some days before commiting or: > b) Work inside a branch, and only commit to HEAD when being sure that > c) Be in #vimperator, so that the one adding/changing things can Wouldn't (a) and (b) be much easier if Vimperator switched from CVS to git or Mercurial? vimperator.org has a "Git" link, but it appears like that git repo is still a *mirror* of the CVS repo. It would take as much time as it takes to do a CVS commit as it would to convert the existing CVS repo to a git or hg repo. Then branching and merging would be manageable. Plus, I think others would be less hesitant to contribute, and their contributions could be pushed onto an experimental branch. I know at least some of the present Vimperator developers have an aversion for CVS, and I think recent developments have shown that CVS is really on the wrong side of history. Why wait? Switch now and stop the chaos. --Ted -- Ted Pavlic From maglione.k at gmail.com Thu Nov 6 08:08:51 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 6 Nov 2008 11:08:51 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> Message-ID: <20081106160851.GB2328@jg.home> On Thu, Nov 06, 2008 at 02:15:14PM +0200, Daniel Bainton wrote: >The CVS version does work with 3.1, but it's currently pretty broken. >We should stop adding all the cool new features for a while and squash >the bugs so we could actually release it someday... *looks at Kris* True. Someone should kick me every time I add a new feature. But, for the record, most of what I've done lately is fix bugs. Er, what's broken about the CVS version? I'll fix it. -- Kris Maglione I'm confident that tomorrow's Unix will look like today's Unix, only cruftier. --Russ Cox From maglione.k at gmail.com Thu Nov 6 08:12:37 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 6 Nov 2008 11:12:37 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> Message-ID: <20081106161237.GC2328@jg.home> On Thu, Nov 06, 2008 at 03:10:47PM +0100, Martin Stubenschrott wrote: >a) Test a new feature *seriously* some days before commiting or: >b) Work inside a branch, and only commit to HEAD when being sure that >basic things like completions do work, and thinking about other code >which might be affected by the changes, or: >c) Be in #vimperator, so that the one adding/changing things can >quickly fix the most annoying bugs which one introduces. a and b I can do. Well, I can do b once we switch to a decent RCS. c, not so much. I can be there when I make a major commit, certainly. We really need to use the issue tracker (or a BUGS file) more, I think. -- Kris Maglione The world is a tragedy to those who feel, but a comedy to those who think. --Horace Walpole From dpb at driftaway.org Thu Nov 6 08:18:25 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Thu, 6 Nov 2008 18:18:25 +0200 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <20081106161237.GC2328@jg.home> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106161237.GC2328@jg.home> Message-ID: 2008/11/6 Kris Maglione : > a and b I can do. Well, I can do b once we switch to a decent RCS. c, not so > much. I can be there when I make a major commit, certainly. We really need > to use the issue tracker (or a BUGS file) more, I think. I agree, we need to use the issue tracker more. I don't like the idea of a BUGS file though. -- Daniel From dpb at driftaway.org Thu Nov 6 08:19:20 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Thu, 6 Nov 2008 18:19:20 +0200 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <491304E8.6010900@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <491304E8.6010900@tedpavlic.com> Message-ID: 2008/11/6 Ted Pavlic : > Wouldn't (a) and (b) be much easier if Vimperator switched from CVS to git > or Mercurial? vimperator.org has a "Git" link, but it appears like that git > repo is still a *mirror* of the CVS repo. We *are* going to switch to git. I just need to find the time to make the switch. -- Daniel From maglione.k at gmail.com Thu Nov 6 08:20:50 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 6 Nov 2008 11:20:50 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106161237.GC2328@jg.home> Message-ID: <20081106162050.GD2328@jg.home> On Thu, Nov 06, 2008 at 06:18:25PM +0200, Daniel Bainton wrote: >I agree, we need to use the issue tracker more. I don't like the idea >of a BUGS file though. I think it's a good idea for small, short-lived bugs. It's a lot easier to add a line to a BUGS file than to file a formal issue, assign/accept it, close it... -- Kris Maglione For the time being, programming is a consumer job, assembly line coding is the norm, and what little exciting stuff is being performed is not going to make it compared to the mass-marketed crap sold by those who think they can surf on the previous half-century's worth of inventions forever. --Eric Naggum From ted at tedpavlic.com Thu Nov 6 08:25:02 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 06 Nov 2008 11:25:02 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <20081106160851.GB2328@jg.home> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106160851.GB2328@jg.home> Message-ID: <49131A5E.2000908@tedpavlic.com> > > Er, what's broken about the CVS version? I'll fix it. > The last time I checked, the error console pops up with Vimperator profile messages (as well as several errors from Vimperator code, which is probably the more important thing). --Ted -- Ted Pavlic From dpb at driftaway.org Thu Nov 6 08:27:27 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Thu, 6 Nov 2008 18:27:27 +0200 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <49131A5E.2000908@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106160851.GB2328@jg.home> <49131A5E.2000908@tedpavlic.com> Message-ID: 2008/11/6 Ted Pavlic : >> >> Er, what's broken about the CVS version? I'll fix it. >> > > The last time I checked, the error console pops up with Vimperator profile > messages (as well as several errors from Vimperator code, which is probably > the more important thing). Tab completions were broken, but I fixed it (well, Martin told me what to fix, but anyway..) -- Daniel From ted at tedpavlic.com Thu Nov 6 09:21:07 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 06 Nov 2008 12:21:07 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106160851.GB2328@jg.home> <49131A5E.2000908@tedpavlic.com> Message-ID: <49132783.9030206@tedpavlic.com> Still an ugly startup (i.e., Error Console with lots of liberator/ errors). Going back to revision "fix :set completion when there's no filter" restores normal smooth operation. Daniel Bainton wrote: > 2008/11/6 Ted Pavlic : >>> Er, what's broken about the CVS version? I'll fix it. >>> >> The last time I checked, the error console pops up with Vimperator profile >> messages (as well as several errors from Vimperator code, which is probably >> the more important thing). > > Tab completions were broken, but I fixed it (well, Martin told me what > to fix, but anyway..) > > -- > Daniel > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -- Ted Pavlic From maxauthority at vimperator.org Thu Nov 6 09:50:32 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Thu, 6 Nov 2008 18:50:32 +0100 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <20081106162050.GD2328@jg.home> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106161237.GC2328@jg.home> <20081106162050.GD2328@jg.home> Message-ID: >> I agree, we need to use the issue tracker more. I don't like the idea >> of a BUGS file though. > > I think it's a good idea for small, short-lived bugs. It's a lot easier to > add a line to a BUGS file than to file a formal issue, assign/accept it, > close it... I agree (TODO file, not BUGS file for vimp btw.). About regressions: * tab completion again (well, fixed temporarily with getByClass... but probably not what you want) * Hints not showing numbers anymore, i think you forgot to commit the files in skin/ and only did for content/ * tabnumbers breaking muttator constantly * The nightly from yesterday did not work correctly, (:hi not working at all, meaning: unknown command :hi, i guess the style module has/had some issues starting up), had to revert to nov 3rd snapshot, no idea if it is fixed currently, will check tomorrow) Anyway, I think using the TODO more thoroughly for such short-living bugs is a good compromise, since you can't be on IRC all the time. From maglione.k at gmail.com Thu Nov 6 10:04:43 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 6 Nov 2008 13:04:43 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106161237.GC2328@jg.home> <20081106162050.GD2328@jg.home> Message-ID: <20081106180443.GE2328@jg.home> On Thu, Nov 06, 2008 at 06:50:32PM +0100, Martin Stubenschrott wrote: >About regressions: >* tab completion again (well, fixed temporarily with getByClass... but >probably not what you want) I haven't had any problems with it *except* when getElementsByClassName is used, because that's not automatically kept updated. >* Hints not showing numbers anymore, i think you forgot to commit the >files in skin/ and only did for content/ Argh. I can't get used to CVS's per-directory commits. >* tabnumbers breaking muttator constantly Hmm... Tab numbers shouldn't even be turned on in muttator (wrapped in an if (config.name == "Vimperator") block) >* The nightly from yesterday did not work correctly, (:hi not working >at all, meaning: unknown command :hi, i guess the style module has/had >some issues starting up), had to revert to nov 3rd snapshot, no idea >if it is fixed currently, will check tomorrow) Ok. It works for me. >Anyway, I think using the TODO more thoroughly for such short-living >bugs is a good compromise, since you can't be on IRC all the time. Ok, I'll watch its commit log and keep it updated. -- Kris Maglione You do not really understand something unless you can explain it to your grandmother. --Albert Einstein From ted at tedpavlic.com Thu Nov 6 13:20:45 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 06 Nov 2008 16:20:45 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <49132783.9030206@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106160851.GB2328@jg.home> <49131A5E.2000908@tedpavlic.com> <49132783.9030206@tedpavlic.com> Message-ID: <49135FAD.3090304@tedpavlic.com> **ALMOST** all fixed... As of latest CVS, get Error console pop up and tell me: ==== Error: filter is undefined Source file: chrome://liberator/content/style.js ==== --Ted Ted Pavlic wrote: > Still an ugly startup (i.e., Error Console with lots of liberator/ > errors). Going back to revision "fix :set completion when there's no > filter" restores normal smooth operation. > > Daniel Bainton wrote: >> 2008/11/6 Ted Pavlic : >>>> Er, what's broken about the CVS version? I'll fix it. >>>> >>> The last time I checked, the error console pops up with Vimperator profile >>> messages (as well as several errors from Vimperator code, which is probably >>> the more important thing). >> Tab completions were broken, but I fixed it (well, Martin told me what >> to fix, but anyway..) >> >> -- >> Daniel >> _______________________________________________ >> Vimperator mailing list >> Vimperator at mozdev.org >> https://www.mozdev.org/mailman/listinfo/vimperator >> > -- Ted Pavlic From ted at tedpavlic.com Thu Nov 6 13:23:35 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 06 Nov 2008 16:23:35 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <49135FAD.3090304@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106160851.GB2328@jg.home> <49131A5E.2000908@tedpavlic.com> <49132783.9030206@tedpavlic.com> <49135FAD.3090304@tedpavlic.com> Message-ID: <49136057.2070507@tedpavlic.com> > **ALMOST** all fixed... > > As of latest CVS, get Error console pop up and tell me: > > ==== > Error: filter is undefined > Source file: chrome://liberator/content/style.js > ==== I should add that that error is on "Line: 188". Also, I get another error that I thought was not related to Vimperator, but it only pops up the error console with the latest CVS version, and so it must be... ==== Error: document.getElementById("urlbar") is null Source file: chrome://ad/content/adOverlay.js (Line: 21) ==== --Ted -- Ted Pavlic From maglione.k at gmail.com Thu Nov 6 13:24:47 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 6 Nov 2008 16:24:47 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <49135FAD.3090304@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106160851.GB2328@jg.home> <49131A5E.2000908@tedpavlic.com> <49132783.9030206@tedpavlic.com> <49135FAD.3090304@tedpavlic.com> Message-ID: <20081106212447.GF2328@jg.home> On Thu, Nov 06, 2008 at 04:20:45PM -0500, Ted Pavlic wrote: > **ALMOST** all fixed... > > As of latest CVS, get Error console pop up and tell me: > > ==== > Error: filter is undefined > Source file: chrome://liberator/content/style.js > ==== I'll need a line number. Actually, I'll need a stack trace. :se! browser.dom.window.dump.enabled=true and you'll get one on your console. -- Kris Maglione We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. --Donald Knuth From ted at tedpavlic.com Thu Nov 6 13:53:02 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 06 Nov 2008 16:53:02 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <20081106212447.GF2328@jg.home> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106160851.GB2328@jg.home> <49131A5E.2000908@tedpavlic.com> <49132783.9030206@tedpavlic.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> Message-ID: <4913673E.1000900@tedpavlic.com> >> ==== >> Error: filter is undefined >> Source file: chrome://liberator/content/style.js >> ==== > > I'll need a line number. Actually, I'll need a stack trace. Line 188. > :se! browser.dom.window.dump.enabled=true > > and you'll get one on your console. I did that, then restarted Firefox, and my error console didn't change. I didn't see anything different under any of the tabs (All/Errors/Warnings/Messages). While browsing around, I did get another liberator error: ==== Error: [Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIWebNavigation.loadURI]" nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: loadURIWithFlags :: line 186" data: no] Source File: chrome://liberator/content/events.js Line: 561 ==== How do I view the stack trace? -- Ted Pavlic From maglione.k at gmail.com Thu Nov 6 14:03:07 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 6 Nov 2008 17:03:07 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <4913673E.1000900@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106160851.GB2328@jg.home> <49131A5E.2000908@tedpavlic.com> <49132783.9030206@tedpavlic.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> <4913673E.1000900@tedpavlic.com> Message-ID: <20081106220307.GG2328@jg.home> On Thu, Nov 06, 2008 at 04:53:02PM -0500, Ted Pavlic wrote: > How do I view the stack trace? As I said, on the console... Er, you're on a Mac. I'm not sure where console output goes for FF, there, but try starting it from the console (I think perhaps closing it and running `open http://something/or/other` will do it). -- Kris Maglione If the designers of X Windows built cars, there would be no fewer than five steering wheels hidden about the cockpit, none of which followed the same principles ? but you?d be able to shift gears with your car stereo. Useful feature that. --Marcus J. Ranum, DEC From iveqy at iveqy.com Thu Nov 6 23:48:18 2008 From: iveqy at iveqy.com (Fredrik Gustafsson) Date: Fri, 7 Nov 2008 08:48:18 +0100 Subject: [Vimperator] The number vs. letters issue Message-ID: <20081107074818.GB29560@paksenarrion.gulon> Hi, I really don't understand the thing about switching from letters to numbers with the hint system. I just looks very stupid to me. Letters are closer to my fingers and is a lot more (with two keys hints you can cover 26*26=676 links, but with numbers only 10*10=100). I don't know about you but I often visit pages with more that 100 links. This makes me type three-key hints, that's just stupid. I know there is a plugin for vimperator that converts the numbers to letters instead. What I know it does only fix half this problem. The plugin just replace a given number with a letter (for example 1=a). This means that there still be three-key hints. A good solution (like the old 0.5.2 way of doing this) is that first use the middle row keys (kdlsafjhg) and after that fill upp with the upper and lower row keys. If needed the numbers can be used but that will only happen on a page with more than 676 hints. -- Med v?nliga h?lsningar Fredrik Gustafsson From amolj.1306 at gmail.com Fri Nov 7 00:45:55 2008 From: amolj.1306 at gmail.com (Amol Jadhav) Date: Fri, 7 Nov 2008 14:15:55 +0530 Subject: [Vimperator] The number vs. letters issue In-Reply-To: <20081107074818.GB29560@paksenarrion.gulon> References: <20081107074818.GB29560@paksenarrion.gulon> Message-ID: <76eccaa60811070045i19175350padc96ec2eb43edb3@mail.gmail.com> I completely agree with you Fredrik. Nice suggestion. On Fri, Nov 7, 2008 at 1:18 PM, Fredrik Gustafsson wrote: > Hi, > I really don't understand the thing about switching from letters to > numbers with the hint system. I just looks very stupid to me. Letters > are closer to my fingers and is a lot more (with two keys hints you > can cover 26*26=676 links, but with numbers only 10*10=100). > > I don't know about you but I often visit pages with more that 100 links. > This makes me type three-key hints, that's just stupid. > > I know there is a plugin for vimperator that converts the numbers to > letters instead. What I know it does only fix half this problem. The > plugin just replace a given number with a letter (for example 1=a). This > means that there still be three-key hints. > > A good solution (like the old 0.5.2 way of doing this) is that first use > the middle row keys (kdlsafjhg) and after that fill upp with the upper > and lower row keys. If needed the numbers can be used but that will only > happen on a page with more than 676 hints. > -- > Med v?nliga h?lsningar > Fredrik Gustafsson > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dpb at driftaway.org Fri Nov 7 00:51:39 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Fri, 7 Nov 2008 10:51:39 +0200 Subject: [Vimperator] The number vs. letters issue In-Reply-To: <20081107074818.GB29560@paksenarrion.gulon> References: <20081107074818.GB29560@paksenarrion.gulon> Message-ID: 2008/11/7 Fredrik Gustafsson : > Hi, > I really don't understand the thing about switching from letters to > numbers with the hint system. I just looks very stupid to me. Letters > are closer to my fingers and is a lot more (with two keys hints you > can cover 26*26=676 links, but with numbers only 10*10=100). > > I don't know about you but I often visit pages with more that 100 links. > This makes me type three-key hints, that's just stupid. > > I know there is a plugin for vimperator that converts the numbers to > letters instead. What I know it does only fix half this problem. The > plugin just replace a given number with a letter (for example 1=a). This > means that there still be three-key hints. > > A good solution (like the old 0.5.2 way of doing this) is that first use > the middle row keys (kdlsafjhg) and after that fill upp with the upper > and lower row keys. If needed the numbers can be used but that will only > happen on a page with more than 676 hints. > -- > Med v?nliga h?lsningar > Fredrik Gustafsson > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > Please read the FAQ. http://vimperator.org/trac/wiki/Vimperator/FAQ#Whathappenedtotheletterhintsinpre-1.xVimperator -- Daniel From maxauthority at vimperator.org Fri Nov 7 01:17:42 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 7 Nov 2008 10:17:42 +0100 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <20081106180443.GE2328@jg.home> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106161237.GC2328@jg.home> <20081106162050.GD2328@jg.home> <20081106180443.GE2328@jg.home> Message-ID: >> About regressions: >> * tab completion again (well, fixed temporarily with getByClass... but >> probably not what you want) > > I haven't had any problems with it *except* when getElementsByClassName is > used, because that's not automatically kept updated. Maybe that's the problem, that "children" is updated, and therefore not consistent with the completions[] array? For the record, with "children" it did not work never, but just sometimes it was broken. When I am at home, I'll try to find some examples. >> * Hints not showing numbers anymore, i think you forgot to commit the >> files in skin/ and only did for content/ > > Argh. I can't get used to CVS's per-directory commits. Hopefully not long anymore, git is near! >> * tabnumbers breaking muttator constantly > > Hmm... Tab numbers shouldn't even be turned on in muttator (wrapped in an if > (config.name == "Vimperator") block) I saw that code, and given the fact you don't have muttator installed, you couldn't see the problem, but even though that code was not "activated", muttator still complained about it being in the global bindings.xml file. I changed that to have a liberator bindings.xml, and vimperator has it's additional content/vimperator/bindings.xml, but as i wrote in the commit message, tabnumbers didn't work before either (with go-=nN in the vimperatorrc, and only turning it on afterwards). >> * The nightly from yesterday did not work correctly, (:hi not working >> at all, meaning: unknown command :hi, i guess the style module has/had >> some issues starting up), had to revert to nov 3rd snapshot, no idea >> if it is fixed currently, will check tomorrow) > > Ok. It works for me. Maybe it's only for people who install it by the xpi, or did some others notice the same problem? >> Anyway, I think using the TODO more thoroughly for such short-living >> bugs is a good compromise, since you can't be on IRC all the time. > > Ok, I'll watch its commit log and keep it updated. That sounds like a good way for a more "direct" communication, since you are not always on IRC. -- Martin PS: Off-topic: Is there a *recent* wmii snapshot somewhere? git/hg etc. doesn't work from my company, but i'd like to try it again, as KDE's window managment really sucks, and awesome's dependency hell is not awesome, if you don't have an Ubuntu package for awesome3 yet. From iveqy at iveqy.com Fri Nov 7 01:19:37 2008 From: iveqy at iveqy.com (Fredrik Gustafsson) Date: Fri, 7 Nov 2008 10:19:37 +0100 Subject: [Vimperator] The number vs. letters issue In-Reply-To: References: <20081107074818.GB29560@paksenarrion.gulon> Message-ID: <20081107091937.GC29560@paksenarrion.gulon> On Fri, Nov 07, 2008 at 10:51:39AM +0200, Daniel Bainton wrote: > 2008/11/7 Fredrik Gustafsson : > > Hi, > > I really don't understand the thing about switching from letters to > > numbers with the hint system. I just looks very stupid to me. Letters > > are closer to my fingers and is a lot more (with two keys hints you > > can cover 26*26=676 links, but with numbers only 10*10=100). > > > > I don't know about you but I often visit pages with more that 100 links. > > This makes me type three-key hints, that's just stupid. > > > > I know there is a plugin for vimperator that converts the numbers to > > letters instead. What I know it does only fix half this problem. The > > plugin just replace a given number with a letter (for example 1=a). This > > means that there still be three-key hints. > > > > A good solution (like the old 0.5.2 way of doing this) is that first use > > the middle row keys (kdlsafjhg) and after that fill upp with the upper > > and lower row keys. If needed the numbers can be used but that will only > > happen on a page with more than 676 hints. > > -- > > Med v?nliga h?lsningar > > Fredrik Gustafsson > > _______________________________________________ > > Vimperator mailing list > > Vimperator at mozdev.org > > https://www.mozdev.org/mailman/listinfo/vimperator > > > > > Please read the FAQ. > > http://vimperator.org/trac/wiki/Vimperator/FAQ#Whathappenedtotheletterhintsinpre-1.xVimperator > > -- > Daniel > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator I'm sorry for missing that. Now at leat I understand why the switch was done. Isn't there any way to still get the old system back "for real"?. Or maybe use the two system in parallell with f and an other key? The new hint system does not work very well on sites with image-links and on sites with the same text is used for many different links (like a forum were every linktext is the thread topic and you got one link to each post). Please do se my critism/suggestion as a way of saying "I love vimperator". Vimperator has truly made my everyday life a lot easier. -- Med v?nliga h?lsningar Fredrik Gustafsson From dougkearns at gmail.com Fri Nov 7 01:49:01 2008 From: dougkearns at gmail.com (Doug Kearns) Date: Fri, 7 Nov 2008 09:49:01 +0000 Subject: [Vimperator] The number vs. letters issue In-Reply-To: <20081107074818.GB29560@paksenarrion.gulon> References: <20081107074818.GB29560@paksenarrion.gulon> Message-ID: <644fc65e0811070149ja3d0771o80115145b5ffee7c@mail.gmail.com> G'day Fredrik, On Fri, Nov 7, 2008 at 7:48 AM, Fredrik Gustafsson wrote: > Hi, > I don't know about you but I often visit pages with more that 100 links. > This makes me type three-key hints, that's just stupid. Fortunately none of us are sensitive souls so no one is likely to take offense but to complain about a feature using the language you have strikes me as, err, pretty stupid. Particularly if you're looking for help. Before pursuing this further I'd like to ask if you're sure you understand the new system? You may well do so but you wouldn't be the first to complain without taking the time to understand it fully. Doug From maxauthority at vimperator.org Fri Nov 7 01:59:28 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 7 Nov 2008 10:59:28 +0100 Subject: [Vimperator] The number vs. letters issue In-Reply-To: <20081107091937.GC29560@paksenarrion.gulon> References: <20081107074818.GB29560@paksenarrion.gulon> <20081107091937.GC29560@paksenarrion.gulon> Message-ID: > I'm sorry for missing that. Now at leat I understand why the switch was > done. Isn't there any way to still get the old system back "for real"?. > Or maybe use the two system in parallell with f and an other key? The > new hint system does not work very well on sites with image-links and on > sites with the same text is used for many different links (like a forum > were every linktext is the thread topic and you got one link to each > post). The framework is here, so anybody can improve char-hints.js so much, that it could restore the old functionality totally. It's unlikely to happen though, until somebody brave stands up, as most devs either: a) Like the new hint system or: b) Don't use hints since there are just too many pages which could never handled as fast as with the mouse or not at all like youtube's flash videos. That said, the current hint system is not totally finished, the plan was to add a heuristics (maybe even self-learning like the awesome bar) which would not number the elements in order, but by popularity/usefulness. So the perfect hint system would: a) prefer short links b) prefer links where the hinttext is found at the beginning of the link c) remember hints you prefer. E.g. if you often follow the "send" link then fs would select "send" as the first hint (in green instead of yellow, so pressing enter is enough), actually it might even find the most used hint after just pressing f, so f could follow the link of that page which you visit most often. Anyway, these are just thoughts that i took into consideration when designing the new hint system, not likely to be implemented too soon by me at least. Ah, and another big point for the new system was, that Firefox2 was very slow to generate hints on big pages, and you had to wait a second or more sometimes. With the new system, you can type fsend, to follow "send" without waiting after f to generate the correct char hint for send. From iveqy at iveqy.com Fri Nov 7 01:46:54 2008 From: iveqy at iveqy.com (Fredrik Gustafsson) Date: Fri, 7 Nov 2008 10:46:54 +0100 Subject: [Vimperator] The number vs. letters issue In-Reply-To: <644fc65e0811070149ja3d0771o80115145b5ffee7c@mail.gmail.com> References: <20081107074818.GB29560@paksenarrion.gulon> <644fc65e0811070149ja3d0771o80115145b5ffee7c@mail.gmail.com> Message-ID: <20081107094654.GD29560@paksenarrion.gulon> On Fri, Nov 07, 2008 at 09:49:01AM +0000, Doug Kearns wrote: > G'day Fredrik, > > On Fri, Nov 7, 2008 at 7:48 AM, Fredrik Gustafsson wrote: > > Hi, > > > > > I don't know about you but I often visit pages with more that 100 links. > > This makes me type three-key hints, that's just stupid. > > Fortunately none of us are sensitive souls so no one is likely to take > offense but to complain about a feature using the language you have > strikes me as, err, pretty stupid. Particularly if you're looking for help. Well, I guess I'm lucky then. I'm not asking for help, I more wondered if you did a stupid feature or if I'm too stupid to see why the feature isn't stupid. It seams that none of this where true. Since there is a good explanation and since that the new feature still is (in my opinion) not as good as the old one. > > Before pursuing this further I'd like to ask if you're sure you > understand the new system? You may well do so but you wouldn't be > the first to complain without taking the time to understand it fully. No I did not understand the new feature, now I do after I got it explained to me. And it seams like a feature suitable for many but lacking some huge things according to the websites I visit daily. Like I said in a previous mail the new system does not handle image links or links starting with the same letteres very well. I'm pretty curious about you people that visit "normal" sites without a lot of imagelinks etc. How many letters need you type with the new system before a link is selected. Any number above two is a failure according to the old system. > > Doug > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator And for what my language is concerned, I do believe that you all understand that writing and discuss/complain/suggest a feature is a way of saying "I think this thing is really good, so good that I take my own valuable time to see if we can make it even better". Even if my time is not that valuable as some elses you get the idea (I hope). -- Med v?nliga h?lsningar Fredrik Gustafsson From maxauthority at vimperator.org Fri Nov 7 02:21:08 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 7 Nov 2008 11:21:08 +0100 Subject: [Vimperator] The number vs. letters issue In-Reply-To: <20081107094654.GD29560@paksenarrion.gulon> References: <20081107074818.GB29560@paksenarrion.gulon> <644fc65e0811070149ja3d0771o80115145b5ffee7c@mail.gmail.com> <20081107094654.GD29560@paksenarrion.gulon> Message-ID: > I'm pretty curious about you people that visit "normal" sites without a > lot of imagelinks etc. How many letters need you type with the new > system before a link is selected. Any number above two is a failure > according to the old system. Don't ask about the number of letters, ask about the milliseconds for the whole operation AND about the amount of thinking they need. IF the new system works, i'd much rather want to write "fsend" without thinking than pressing "f", then wait a few ms, then think which random hint you got, then maybe type "jl". Of course for images you have to go back to numbers, which isn't perfect, but so is neither system. From eyolf at oestrem.com Fri Nov 7 03:34:59 2008 From: eyolf at oestrem.com (Eyolf =?iso-8859-1?Q?=D8strem?=) Date: Fri, 7 Nov 2008 12:34:59 +0100 Subject: [Vimperator] The number vs. letters issue In-Reply-To: References: <20081107074818.GB29560@paksenarrion.gulon> <644fc65e0811070149ja3d0771o80115145b5ffee7c@mail.gmail.com> <20081107094654.GD29560@paksenarrion.gulon> Message-ID: <20081107113459.GA23908@eyo> On 07.11.2008 (11:21), Martin Stubenschrott wrote: > > I'm pretty curious about you people that visit "normal" sites without a > > lot of imagelinks etc. How many letters need you type with the new > > system before a link is selected. Any number above two is a failure > > according to the old system. > > Don't ask about the number of letters, ask about the milliseconds for > the whole operation AND about the amount of thinking they need. The main problem with the new system (apart from the use of the number keys) is the unpredictability in it. Sure, if you KNOW that the "send" link is the one that will be activated on that particular page, I agree, it will be faster, but that certainty only applies to a small number of pages. In all other cases it's a more involved thinking process: def browsing(some_site): press_f() while link_not_found_yet: if site_with_many_links_with_similar_names: find_unique_word_in_link() elseif site_with_long_link_names_and_hs=wordstartswith: scan_for_good_combination_of_initials() elseif all_fails: #e.g. with images, google searches, etc. give_up_and_type_numbers_instead() else: type "fsend" In the while-loop there are also constant checks to decide the right strategy. The intelligent hint matching you discussed in an earlier post, sounds very fine, but in fact, it would also add to the uncertainty, making it unpredictable how much I will have to type before I've found my link. > IF the new system works, i'd much rather want to write "fsend" without > thinking than pressing "f", then wait a few ms, then think which > random hint you got, then maybe type "jl". It's not THAT random: eg by default the keys from the home row, which should be second nature to any vimperator-ist. Besides, as long as the layout of a site hasn't changed, I always get the same combo for my frequently used links. But most importantly: there is no thinking/checking/evaluating involved -- it's a reflex action: press_f(): visual_input_of two-letter_icon automatically_type corresponding-letters done That's for me the main difference, and the reason why I prefer the old system to the new. I hope calmar will have time to update char-hints soon... :) Eyolf -- When I say the magic word to all these people, they will vanish forever. I will then say the magic words to you, and you, too, will vanish -- never to be seen again. -- Kurt Vonnegut Jr., "Between Time and Timbuktu" From ted at tedpavlic.com Fri Nov 7 05:28:56 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Fri, 07 Nov 2008 08:28:56 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <20081106220307.GG2328@jg.home> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106160851.GB2328@jg.home> <49131A5E.2000908@tedpavlic.com> <49132783.9030206@tedpavlic.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> <4913673E.1000900@tedpavlic.com> <20081106220307.GG2328@jg.home> Message-ID: <49144298.8080508@tedpavlic.com> >> How do I view the stack trace? > As I said, on the console... Er, you're on a Mac. I'm not sure > where console output goes for FF, there, but try starting it > from the console (I think perhaps closing it and running > `open http://something/or/other` will do it). OK. I just assumed you meant the JavaScript "Error Console" that pops up when Firefox loads. On OS X, there is an application called "Console" that views everything that is written to the UNIX console. Here's what gets dumped onto the UNIX console no starting Firefox with the latest CVS (I believe you're interested in the line starting with "stack:"): ===== vimperator: Loading module commands... vimperator: TypeError: filter is undefined:: fileName:"chrome://liberator/content/style.js" lineNumber:188 message:"filter is undefined" name:"TypeError" stack:"(\".hl-Boolean\",(void 0),\".hl-Boolean { color: red!important; }\",true,true)@chrome://liberator/content/style.js:188\n(\"Boolean\")@chrome://liberator/content/style.js:130\n([object Object],0,[object Array])@chrome://liberator/content/style.js:142\nHighlights(\"highlight\",false,(void 0))@chrome://liberator/content/style.js:139\nnewObject(\"highlight\",Highlights,false)@file:///Users/tpavlic/vimperator-cvs/src/modules/storage.jsm:183\n(\"commands\")@chrome://liberator/content/style.js:374\n(\"load_commands\",\"commands\")@chrome://liberator/content/liberator.js:621\nloadModule(\"commands\",Commands)@chrome://liberator/content/liberator.js:53\n([object Event])@chrome://liberator/content/liberator.js:1161\n" vimperator: Loading module options... vimperator: Loading module mappings... vimperator: Loading module buffer... vimperator: Loading module events... vimperator: Loading module commandline... vimperator: Loading module statusline... vimperator: Loading module editor... vimperator: Loading module autocommands... vimperator: Loading module io... vimperator: Loading module completion... vimperator: Loading module search... vimperator: Loading module bookmarks... vimperator: Loading module history... vimperator: Loading module tabs... vimperator: Loading module marks... vimperator: Loading module quickmarks... vimperator: Loading module hints... vimperator: loaded in 3196 ms ===== The attached textfile includes the same (just in case those lines get wrapped). -- Ted Pavlic -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: stack_trace.txt URL: From nemolivier at gmail.com Fri Nov 7 08:31:23 2008 From: nemolivier at gmail.com (=?UTF-8?Q?Olivier_Gu=C3=A9ry?=) Date: Fri, 7 Nov 2008 17:31:23 +0100 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106161237.GC2328@jg.home> <20081106162050.GD2328@jg.home> <20081106180443.GE2328@jg.home> Message-ID: <5c2c86e70811070831y7da03dbehdac3fe1cd8794546@mail.gmail.com> > Maybe it's only for people who install it by the xpi, or did some > others notice the same problem? Still the error. I use the git repository, with the link to my $HOME/.mozilla/? as indicate in the kiwi. I tried compiling the xpi too. The ? console error window ? pop out when launching firefox with : filter is undefiend chrome://liberator/content/style.js line 188 (there's an other error too, but linked to ubufox, the automaticly addon from ubuntu). I'm using ffx 3.0.3 from ubuntu intrepid ibex. Olivier. -- [Message tap? sur un clavier B?po : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com From ted at tedpavlic.com Fri Nov 7 08:45:25 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Fri, 07 Nov 2008 11:45:25 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <5c2c86e70811070831y7da03dbehdac3fe1cd8794546@mail.gmail.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106161237.GC2328@jg.home> <20081106162050.GD2328@jg.home> <20081106180443.GE2328@jg.home> <5c2c86e70811070831y7da03dbehdac3fe1cd8794546@mail.gmail.com> Message-ID: <491470A5.3060302@tedpavlic.com> As discussed in another head of this thread, I get the same error, and I get this stack trace: stack:"(\".hl-Boolean\",(void 0),\".hl-Boolean { color: red!important; }\",true,true)@chrome://liberator/content/style.js:188\n(\"Boolean\")@chrome://liberator/content/style.js:130\n([object Object],0,[object Array])@chrome://liberator/content/style.js:142\nHighlights(\"highlight\",false,(void 0))@chrome://liberator/content/style.js:139\nnewObject(\"highlight\",Highlights,false)@file:///Users/tpavlic/vimperator-cvs/src/modules/storage.jsm:183\n(\"commands\")@chrome://liberator/content/style.js:374\n(\"load_commands\",\"commands\")@chrome://liberator/content/liberator.js:621\nloadModule(\"commands\",Commands)@chrome://liberator/content/liberator.js:53\n([object Event])@chrome://liberator/content/liberator.js:1161\n" --Ted > The ? console error window ? pop out when launching firefox with : > > filter is undefiend > chrome://liberator/content/style.js line 188 -- Ted Pavlic From r.grosmann at gmail.com Fri Nov 7 12:10:30 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Fri, 7 Nov 2008 21:10:30 +0100 Subject: [Vimperator] using bookmarks Message-ID: hi list, I must admit that I have discovered the existance of vimperator only this week. I wish I did that much earlier! Today I have printed most of the help pages an I have tried the commands that seems good to start with. I have a question about :bmarks. Possibly a faq; I hope you forgive me then. :bmarks shows a list of the firefox bookmark, but it seems not possible to select a bookmark from the list (except for using the mouse of course). Is that correct? If so, is there a way to access the bookmarks with help of the keyboard. I am using vimperator for only a few hours now, but I know I love it and I am going to use it for the rest of the life time of Iceweasel. A must have! regards, Ruud From icebraining at gmail.com Fri Nov 7 12:22:37 2008 From: icebraining at gmail.com (icebrain) Date: Fri, 07 Nov 2008 20:22:37 +0000 Subject: [Vimperator] The number vs. letters issue In-Reply-To: References: Message-ID: <4914A38D.8070007@gmail.com> > Message: 1 > Date: Fri, 7 Nov 2008 12:34:59 +0100 > From: Eyolf ?strem > Subject: Re: [Vimperator] The number vs. letters issue > To: vimperator at mozdev.org > Message-ID: <20081107113459.GA23908 at eyo> > Content-Type: text/plain; charset=us-ascii > > On 07.11.2008 (11:21), Martin Stubenschrott wrote: > >>> I'm pretty curious about you people that visit "normal" sites without a >>> lot of imagelinks etc. How many letters need you type with the new >>> system before a link is selected. Any number above two is a failure >>> according to the old system. >>> >> Don't ask about the number of letters, ask about the milliseconds for >> the whole operation AND about the amount of thinking they need. >> > > The main problem with the new system (apart from the use of the number > keys) is the unpredictability in it. Sure, if you KNOW that the "send" link > is the one that will be activated on that particular page, I agree, it will > be faster, but that certainty only applies to a small number of pages. In > all other cases it's a more involved thinking process: > > > def browsing(some_site): > press_f() > while link_not_found_yet: > if site_with_many_links_with_similar_names: > find_unique_word_in_link() > elseif site_with_long_link_names_and_hs=wordstartswith: > scan_for_good_combination_of_initials() > elseif all_fails: > #e.g. with images, google searches, etc. > give_up_and_type_numbers_instead() > else: type "fsend" > > In the while-loop there are also constant checks to decide the right > strategy. The intelligent hint matching you discussed in an earlier post, > sounds very fine, but in fact, it would also add to the uncertainty, making > it unpredictable how much I will have to type before I've found my link. > > >> IF the new system works, i'd much rather want to write "fsend" without >> thinking than pressing "f", then wait a few ms, then think which >> random hint you got, then maybe type "jl". >> > > It's not THAT random: eg by default the keys from the home row, which > should be second nature to any vimperator-ist. Besides, as long as the > layout of a site hasn't changed, I always get the same combo for my > frequently used links. > But most importantly: there is no thinking/checking/evaluating involved -- > it's a reflex action: > > press_f(): > visual_input_of two-letter_icon > automatically_type corresponding-letters > done > > That's for me the main difference, and the reason why I prefer the old > system to the new. > > > I hope calmar will have time to update char-hints soon... :) > > Eyolf > > In my opinion the current system is better than that: It allows the both actions (the and the ) at the cost of having to press 3 keys on in pages which have more than 99 links visible (not on the whole page, mind you). I find writing the beginning of the link text much faster than the tag system and even though it has some drawbacks, the advantages are well justified, imho. But picking the old file and "merging" with the new. Is the old in the CVS? I wouldn't mind merging the two. From maxauthority at vimperator.org Fri Nov 7 12:38:38 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 07 Nov 2008 21:38:38 +0100 Subject: [Vimperator] using bookmarks In-Reply-To: References: Message-ID: <4914A74E.6000700@vimperator.org> On 2008-11-07 21:10, ruud grosmann wrote: > :bmarks shows a list of the firefox bookmark, but it seems not > possible to select a bookmark from the list (except for using the > mouse of course). Is that correct? If so, is there a way to access the > bookmarks with help of the keyboard. http://vimperator.org/trac/wiki/Vimperator/FAQ#HowcanIopenbookmarksinthe:bmarkswindow From r.grosmann at gmail.com Fri Nov 7 13:55:42 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Fri, 7 Nov 2008 22:55:42 +0100 Subject: [Vimperator] using bookmarks In-Reply-To: <4914A74E.6000700@vimperator.org> References: <4914A74E.6000700@vimperator.org> Message-ID: On 07/11/2008, Martin Stubenschrott wrote: > On 2008-11-07 21:10, ruud grosmann wrote: > >> :bmarks shows a list of the firefox bookmark, but it seems not >> possible to select a bookmark from the list (except for using the >> mouse of course). Is that correct? If so, is there a way to access the >> bookmarks with help of the keyboard. > > > http://vimperator.org/trac/wiki/Vimperator/FAQ#HowcanIopenbookmarksinthe:bmarkswindow this is too embarassing: the second of the faq's and even more embarassing: I did have had a look at them. WIthout realising it was an answer to my question. Thanks for answering. regards, Ruud From maxauthority at vimperator.org Fri Nov 7 13:57:50 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 07 Nov 2008 22:57:50 +0100 Subject: [Vimperator] using bookmarks In-Reply-To: References: <4914A74E.6000700@vimperator.org> Message-ID: <4914B9DE.7030409@vimperator.org> On 2008-11-07 22:55, ruud grosmann wrote: > On 07/11/2008, Martin Stubenschrott wrote: >> On 2008-11-07 21:10, ruud grosmann wrote: >> >>> :bmarks shows a list of the firefox bookmark, but it seems not >>> possible to select a bookmark from the list (except for using the >>> mouse of course). Is that correct? If so, is there a way to access the >>> bookmarks with help of the keyboard. >> >> >> http://vimperator.org/trac/wiki/Vimperator/FAQ#HowcanIopenbookmarksinthe:bmarkswindow > > > this is too embarassing: the second of the faq's and even more > embarassing: I did have had a look at them. WIthout realising it was > an answer to my question. Thanks for answering. No need to be embarassed, I added that after your question ;) But your question was already asked so often, i had to answer it there :). From maxauthority at vimperator.org Fri Nov 7 16:35:45 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Sat, 08 Nov 2008 01:35:45 +0100 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <49144298.8080508@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106160851.GB2328@jg.home> <49131A5E.2000908@tedpavlic.com> <49132783.9030206@tedpavlic.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> <4913673E.1000900@tedpavlic.com> <20081106220307.GG2328@jg.home> <49144298.8080508@tedpavlic.com> Message-ID: <4914DEE1.4090008@vimperator.org> As it always worked for me at home, but not at work, I think this problem might be due to incorrect XPI generation. I *think* I fixed that, please report back, when trying a new XPI which was generated after this time. -- Martin PS: @Kris: Was there a real reason to strip \n in dumpStack? I think it's barely readable that way, but MUCH easier otherwise. From ted at tedpavlic.com Sun Nov 9 17:55:01 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sun, 09 Nov 2008 20:55:01 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <4914DEE1.4090008@vimperator.org> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106160851.GB2328@jg.home> <49131A5E.2000908@tedpavlic.com> <49132783.9030206@tedpavlic.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> <4913673E.1000900@tedpavlic.com> <20081106220307.GG2328@jg.home> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> Message-ID: <49179475.7040300@tedpavlic.com> Martin -- I am quite sure that this issue has nothing to do with XPI generation because I am not installing from XPI. I replaced my "vimperator at mozdev.org" directory with a file pointing to my source directly. As you can see, using the current CVS Vimperator linked to my source directory, :version gives me: Vimperator ###VERSION### (created: ###DATE###) running on: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3 With the current CVS Vimperator, I receive even more errors: ===== Error: document.getElementById("urlbar") is null Source File: chrome://ad/content/adOverlay.js Line: 21 Error: filter is undefined Source File: chrome://liberator/content/style.js Line: 188 Error: tabs is not defined Source File: chrome://liberator/content/events.js Line: 471 Error: tabs is not defined Source File: chrome://liberator/content/events.js Line: 471 ===== I just restarted (with stack traces turned on), and on my console, I see: ===== vimperator: Loading module commands... vimperator: TypeError: filter is undefined:: fileName:"chrome://liberator/content/style.js" lineNumber:188 message:"filter is undefined" name:"TypeError" stack:"(\".hl-Boolean\",(void 0),\".hl-Boolean { color: red!important; }\",true,true)@chrome://liberator/content/style.js:188\n(\"Boolean\")@chrome://liberator/content/style.js:130\n([object Object],0,[object Array])@chrome://liberator/content/style.js:142\nHighlights(\"highlight\",false,(void 0))@chrome://liberator/content/style.js:139\nnewObject(\"highlight\",Highlights,false)@file:///Users/tpavlic/vimperator-cvs/src/modules/storage.jsm:183\n(\"commands\")@chrome://liberator/content/style.js:374\n(\"load_commands\",\"commands\")@chrome://liberator/content/liberator.js:621\nloadModule(\"commands\",Commands)@chrome://liberator/content/liberator.js:53\n([object Event])@chrome://liberator/content/liberator.js:1161\n" ===== Any thoughts? --Ted Martin Stubenschrott wrote: > As it always worked for me at home, but not at work, I think this > problem might be due to incorrect XPI generation. > > I *think* I fixed that, please report back, when trying a new XPI > which was generated after this time. > > -- Martin > > PS: @Kris: Was there a real reason to strip \n in dumpStack? I think > it's barely readable that way, but MUCH easier otherwise. > _______________________________________________ Vimperator mailing > list Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -- Ted Pavlic From dougkearns at gmail.com Sun Nov 9 18:08:48 2008 From: dougkearns at gmail.com (Doug Kearns) Date: Mon, 10 Nov 2008 02:08:48 +0000 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <49179475.7040300@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49132783.9030206@tedpavlic.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> <4913673E.1000900@tedpavlic.com> <20081106220307.GG2328@jg.home> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> Message-ID: <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> On Mon, Nov 10, 2008 at 1:55 AM, Ted Pavlic wrote: > Martin -- > > I am quite sure that this issue has nothing to do with XPI generation > because I am not installing from XPI. I replaced my "vimperator at mozdev.org" > directory with a file pointing to my source directly. The problem is specific to FF 3.0, I haven't had a chance to investigate further. Doug From ted at tedpavlic.com Mon Nov 10 05:02:16 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 10 Nov 2008 08:02:16 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49132783.9030206@tedpavlic.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> <4913673E.1000900@tedpavlic.com> <20081106220307.GG2328@jg.home> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> Message-ID: <491830D8.1030707@tedpavlic.com> > > The problem is specific to FF 3.0, I haven't had a chance to > investigate further. > NOTE: I cannot verify that Vimperator works with FF3.1 on my system because FF3.1 on my system (an OS/X 10.4 Mac) won't finish its startup routines. Some of the session store stuff dies complaining (on the console) that regex.test doesn't exist. So for at least a little while, I'm stuck with FF3.0. -- Ted Pavlic From dpb at driftaway.org Mon Nov 10 05:07:44 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Mon, 10 Nov 2008 15:07:44 +0200 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <491830D8.1030707@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> <4913673E.1000900@tedpavlic.com> <20081106220307.GG2328@jg.home> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491830D8.1030707@tedpavlic.com> Message-ID: 2008/11/10 Ted Pavlic : >> >> The problem is specific to FF 3.0, I haven't had a chance to >> investigate further. >> > > NOTE: I cannot verify that Vimperator works with FF3.1 on my system because > FF3.1 on my system (an OS/X 10.4 Mac) won't finish its startup routines. > Some of the session store stuff dies complaining (on the console) that > regex.test doesn't exist. So for at least a little while, I'm stuck with > FF3.0. Atleast earlier FF3.1 nightlies worked on my OS X 10.5 quite alright, I haven't used OS X for a while, so can't verify your problem... -- Daniel From amolj.1306 at gmail.com Mon Nov 10 07:23:43 2008 From: amolj.1306 at gmail.com (Amol Jadhav) Date: Mon, 10 Nov 2008 20:53:43 +0530 Subject: [Vimperator] Where is RC File? Message-ID: <76eccaa60811100723j32ea29c7yb5d46b75157ba1c0@mail.gmail.com> Hi, Few questions: 1. I'm using Firefox 3.x and Vimperator 1.2. (OS Win Server 2008) i have searched every corner of my disk for the RC file [used both Google desktop and windows desktop search [reliable, seriously!], and finally manual search. :-(. ].I haven't found it, can anyone please tell me where can I find it? 2. I need a way to navigate to other controls like input box is there any shortcut for this? 3. I'm not able to find the trick to auto pass Gmail and Google Reader. 4. In Gmail few links can't be highlighted by the hints like select: All, None, etc. - Amol -------------- next part -------------- An HTML attachment was scrubbed... URL: From ted at tedpavlic.com Mon Nov 10 07:31:16 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 10 Nov 2008 10:31:16 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49132783.9030206@tedpavlic.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> <4913673E.1000900@tedpavlic.com> <20081106220307.GG2328@jg.home> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> Message-ID: <491853C4.6050203@tedpavlic.com> The recent "'fix' FF 3.0 style sheet" changeset seems to get rid of one problem (the errors) but generate a new problem. The script: chrome://liberator/content/util.js:500 is unresponsive for a LONG time. Firefox is not usable during this time. Eventually it finishes. There are no messages on the console aside from liberator profile ("Starting ...") messages. When restarting FF, it *appears* to be responsive at first, but very soon after bringing FF back in focus, util.js starts spinning. It didn't seem to spin as long after the restart, and it didn't give me the "Unresponsive script" error, but I definitely had to wait. Every time I restart FF, it lags when FIRST trying to focus on a tab. --Ted > The problem is specific to FF 3.0, I haven't had a chance to > investigate further. > > Doug -- Ted Pavlic From maxauthority at vimperator.org Mon Nov 10 09:14:00 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Mon, 10 Nov 2008 18:14:00 +0100 Subject: [Vimperator] Where is RC File? In-Reply-To: <76eccaa60811100723j32ea29c7yb5d46b75157ba1c0@mail.gmail.com> References: <76eccaa60811100723j32ea29c7yb5d46b75157ba1c0@mail.gmail.com> Message-ID: You must create it yourself, read :help initialization On Mon, Nov 10, 2008 at 4:23 PM, Amol Jadhav wrote: > Hi, > > Few questions: > > I'm using Firefox 3.x and Vimperator 1.2. (OS Win Server 2008) i have > searched every corner of my disk for the RC file [used both Google desktop > and windows desktop search [reliable, seriously!], and finally manual > search. :-(. ].I haven't found it, can anyone please tell me where can I > find it? > I need a way to navigate to other controls like input box is there any > shortcut for this? > I'm not able to find the trick to auto pass Gmail and Google Reader. > In Gmail few links can't be highlighted by the hints like select: All, None, > etc. > > - > Amol > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > > From maxauthority at vimperator.org Mon Nov 10 09:15:21 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Mon, 10 Nov 2008 18:15:21 +0100 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <491853C4.6050203@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> <4913673E.1000900@tedpavlic.com> <20081106220307.GG2328@jg.home> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491853C4.6050203@tedpavlic.com> Message-ID: Oh, very good catch! I noticed slow firefox startup myself, but thought it was due to bad caching of favicons, but that explains it. Very good catch, hope to find the fix soon. Thanks for the investigation! On Mon, Nov 10, 2008 at 4:31 PM, Ted Pavlic wrote: > The recent "'fix' FF 3.0 style sheet" changeset seems to get rid of one > problem (the errors) but generate a new problem. The script: > > chrome://liberator/content/util.js:500 > > is unresponsive for a LONG time. Firefox is not usable during this time. > Eventually it finishes. There are no messages on the console aside from > liberator profile ("Starting ...") messages. > > When restarting FF, it *appears* to be responsive at first, but very soon > after bringing FF back in focus, util.js starts spinning. It didn't seem to > spin as long after the restart, and it didn't give me the "Unresponsive > script" error, but I definitely had to wait. > > Every time I restart FF, it lags when FIRST trying to focus on a tab. > > --Ted > >> The problem is specific to FF 3.0, I haven't had a chance to >> investigate further. >> >> Doug > > -- > Ted Pavlic > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From xiaqqaix at gmail.com Mon Nov 10 22:03:08 2008 From: xiaqqaix at gmail.com (xiaq) Date: Tue, 11 Nov 2008 14:03:08 +0800 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> Message-ID: <1affc7910811102203g59e8d7a2n737f6d471da602d6@mail.gmail.com> On Thu, Nov 6, 2008 at 7:41 PM, Dotan Cohen wrote: > Firefox 3.1 is right around the corner, and after testing a beta today > I am very happy with the application. I will not be able to move to > 3.1 until VImperator is updated, so might I ask if there are plans to > do so? In fact, with all the bugfixes in the past few months, is a new > release not imminent anyway? > > Thanks Martin and to all else who contribute to Vimperator! > You may try the addon NightlyTesterTools to force installing vimpertor on FF 3.1. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dotancohen at gmail.com Mon Nov 10 22:43:17 2008 From: dotancohen at gmail.com (Dotan Cohen) Date: Tue, 11 Nov 2008 08:43:17 +0200 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <1affc7910811102203g59e8d7a2n737f6d471da602d6@mail.gmail.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <1affc7910811102203g59e8d7a2n737f6d471da602d6@mail.gmail.com> Message-ID: <880dece00811102243u783a7ba9sc9117c20a1e0c2f0@mail.gmail.com> 2008/11/11 xiaq : > You may try the addon NightlyTesterTools to force installing vimpertor on FF > 3.1. > I think that it would be preferable to addresss the issues facing Vimperator and certify it for Fx 31.1 rather than force it. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-? From benisty.e at gmail.com Mon Nov 10 23:19:02 2008 From: benisty.e at gmail.com (Emmanuel Benisty) Date: Tue, 11 Nov 2008 14:19:02 +0700 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <1affc7910811102203g59e8d7a2n737f6d471da602d6@mail.gmail.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <1affc7910811102203g59e8d7a2n737f6d471da602d6@mail.gmail.com> Message-ID: On Tue, Nov 11, 2008 at 1:03 PM, xiaq wrote: > On Thu, Nov 6, 2008 at 7:41 PM, Dotan Cohen wrote: >> >> Firefox 3.1 is right around the corner, and after testing a beta today >> I am very happy with the application. I will not be able to move to >> 3.1 until VImperator is updated, so might I ask if there are plans to >> do so? In fact, with all the bugfixes in the past few months, is a new >> release not imminent anyway? >> >> Thanks Martin and to all else who contribute to Vimperator! > > You may try the addon NightlyTesterTools to force installing vimpertor on FF > 3.1. you don't even need that: http://vimperator.org/trac/gitweb/?p=vimperator.git;a=blob_plain;f=install.rdf;hb=HEAD 3.1b2pre From r.grosmann at gmail.com Tue Nov 11 04:46:15 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Tue, 11 Nov 2008 13:46:15 +0100 Subject: [Vimperator] vimperator breaks with iceweasel Message-ID: hello group, I have a nasty issue with vimperator and iceweasel a cannot solve. I hope the following rings a bell for one of you, because I'm stuck. Because I do not know the source of my problem I just give a description of what happened: - I install the vimperator plugin and get really enthousiastic - I create .vimperatorrc and .vimperator/plugin with two files in it - everything works ok - I discover there is a debian package iceweasel-vimperator or so and install it (iceweasel 3.0.2) - I use vimperator, it works OK, I install it on my work too - at home, another user who shares ~/.mozilla/firefox with me starts the browser and is confronted with vimperator. I disable vimperator and restart - after that I try to make vimperator only working for me by changing the rights of the extensions/vimperator.org directory - vimperator does not seem to work - I remove the plugin, I remove the debian package - after restarting the browser the back and forward buttons are greyed out even after following links - I reinstall vimperator plugin - vimperator still doesn't seem to work: there is no lastline, no command line command has effect, the command line contains -- INSERT -- after some time or at startup - back and forward buttons and menu entry in iceweasel are greyed out; H doesn't work, but with mousegestures I am able to follow the history back and forth - bookmarks are disappeared, Iceweasel is not able to import anything or to use the backup it has made - disabling or uninstalling the plugin doesn't improve the iceweasel behaviour, installing the plugin again leads to the same vimperator behavior DOes anyone have a clue what is happening? What started this trouble? What can I do now to get vimperator working? Can I disable vimperator for one user by settings in the .vimperatorrc? any hints welcome! regards, Ruud From dpb at driftaway.org Tue Nov 11 05:25:43 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Tue, 11 Nov 2008 15:25:43 +0200 Subject: [Vimperator] vimperator breaks with iceweasel In-Reply-To: References: Message-ID: 2008/11/11 ruud grosmann : > hello group, > > I have a nasty issue with vimperator and iceweasel a cannot solve. I > hope the following rings a bell for one of you, because I'm stuck. > > Because I do not know the source of my problem I just give a > description of what happened: > > - I install the vimperator plugin and get really enthousiastic > - I create .vimperatorrc and .vimperator/plugin with two files in it > - everything works ok > - I discover there is a debian package iceweasel-vimperator or so and > install it (iceweasel 3.0.2) > - I use vimperator, it works OK, I install it on my work too > > - at home, another user who shares ~/.mozilla/firefox with me starts > the browser and is confronted with vimperator. I disable vimperator > and restart > - after that I try to make vimperator only working for me by changing > the rights of the extensions/vimperator.org directory > - vimperator does not seem to work > - I remove the plugin, I remove the debian package > - after restarting the browser the back and forward buttons are greyed > out even after following links > - I reinstall vimperator plugin > - vimperator still doesn't seem to work: there is no lastline, no > command line command has effect, the command line contains -- INSERT > -- after some time or at startup > - back and forward buttons and menu entry in iceweasel are greyed out; > H doesn't work, but with mousegestures I am able to follow the history > back and forth > - bookmarks are disappeared, Iceweasel is not able to import anything > or to use the backup it has made > - disabling or uninstalling the plugin doesn't improve the iceweasel > behaviour, installing the plugin again leads to the same vimperator > behavior > > > DOes anyone have a clue what is happening? What started this trouble? > What can I do now to get vimperator working? > Can I disable vimperator for one user by settings in the .vimperatorrc? 1. Why is another user sharing your ~/.mozilla/firefox? Users should have their OWN accounts, with their OWN home directories. 2. Why did you install the extension two times? That's not how you're meant to do it. - extensions provided by the distro package management are GLOBAL, it installs it to everyone. So if you only want it for one user, do NOT install the distro package Try with a clean profile, something apparently got messed up in your firefox profile. And no, you can't disable vimperator from .vimperatorrc. If you would disable vimperator, it wouldn't READ .vimperatorrc. The Firefox addons dialog is for disabling extensions. -- Daniel From r.grosmann at gmail.com Tue Nov 11 05:53:09 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Tue, 11 Nov 2008 14:53:09 +0100 Subject: [Vimperator] vimperator breaks with iceweasel In-Reply-To: References: Message-ID: > 1. Why is another user sharing your ~/.mozilla/firefox? Users should > have their OWN accounts, with their OWN home directories. yes, you're right. And exactly now I feel the pain. I did it to share some data (bookmarks, scrapbook), but I should have made a symlink on that level instead. > > 2. Why did you install the extension two times? That's not how you're > meant to do it. > - extensions provided by the distro package management are GLOBAL, it > installs it to everyone. So if you only want it for one user, do NOT > install the distro package > OK, clear. > Try with a clean profile, something apparently got messed up in your > firefox profile. > I will try that. I hope it is sufficient to reanimate iceweasel. And I will certainly have the bad symlink fixed.... ONly: how do I clean the profile? > And no, you can't disable vimperator from .vimperatorrc. If you would > disable vimperator, it wouldn't READ .vimperatorrc. The Firefox addons > dialog is for disabling extensions. The source of the problem is the unthoughtful symlink. I was hoping to do a per-user decision for enabling vimperator via the resourcefile which is silly. And not necessary if they can all manage the addons themselves. Thanks for pointing out. Ruud From amolj.1306 at gmail.com Tue Nov 11 06:23:14 2008 From: amolj.1306 at gmail.com (Amol Jadhav) Date: Tue, 11 Nov 2008 19:53:14 +0530 Subject: [Vimperator] Where is RC File? In-Reply-To: References: <76eccaa60811100723j32ea29c7yb5d46b75157ba1c0@mail.gmail.com> Message-ID: <76eccaa60811110623m3281f9bbk19a7bf5b6ea41c4e@mail.gmail.com> I created file named _vimperatorrc in %HOMEDRIVE%%HOMEPATH% added few stuffs from the 'Tips and Tricks'. The stuffs are not working. I even tried restarting Firefox after that. On Mon, Nov 10, 2008 at 10:44 PM, Martin Stubenschrott < maxauthority at vimperator.org> wrote: > You must create it yourself, read :help initialization > > On Mon, Nov 10, 2008 at 4:23 PM, Amol Jadhav wrote: > > Hi, > > > > Few questions: > > > > I'm using Firefox 3.x and Vimperator 1.2. (OS Win Server 2008) i have > > searched every corner of my disk for the RC file [used both Google > desktop > > and windows desktop search [reliable, seriously!], and finally manual > > search. :-(. ].I haven't found it, can anyone please tell me where can I > > find it? > > I need a way to navigate to other controls like input box is there any > > shortcut for this? > > I'm not able to find the trick to auto pass Gmail and Google Reader. > > In Gmail few links can't be highlighted by the hints like select: All, > None, > > etc. > > > > - > > Amol > > > > _______________________________________________ > > Vimperator mailing list > > Vimperator at mozdev.org > > https://www.mozdev.org/mailman/listinfo/vimperator > > > > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -------------- next part -------------- An HTML attachment was scrubbed... URL: From casey.manion at gmail.com Tue Nov 11 10:22:35 2008 From: casey.manion at gmail.com (Casey Manion) Date: Tue, 11 Nov 2008 10:22:35 -0800 Subject: [Vimperator] Where is RC File? In-Reply-To: <76eccaa60811110623m3281f9bbk19a7bf5b6ea41c4e@mail.gmail.com> References: <76eccaa60811100723j32ea29c7yb5d46b75157ba1c0@mail.gmail.com> <76eccaa60811110623m3281f9bbk19a7bf5b6ea41c4e@mail.gmail.com> Message-ID: <66dd0ce40811111022k613e9932va0ffdb2b5aca9a17@mail.gmail.com> I find this to be weird on my windows machines. The way I do it, is use vimperator to save a file for you using the ":mkvimperatorrc! " command. Then go find it using all the tools you already mentioned. Finally, make a small modification (like the title "set titlestring=Mozilla Firefox Test" - no quotes) and restart ":res". Once FF and _vimperatorrc are connected, I add all the other options. Note: You do have to restart for changes to take effect. -Casey On Tue, Nov 11, 2008 at 6:23 AM, Amol Jadhav wrote: > I created file named _vimperatorrc in %HOMEDRIVE%%HOMEPATH% added few stuffs > from the 'Tips and Tricks'. The stuffs are not working. I even tried > restarting Firefox after that. > > On Mon, Nov 10, 2008 at 10:44 PM, Martin Stubenschrott > wrote: >> >> You must create it yourself, read :help initialization >> >> On Mon, Nov 10, 2008 at 4:23 PM, Amol Jadhav wrote: >> > Hi, >> > >> > Few questions: >> > >> > I'm using Firefox 3.x and Vimperator 1.2. (OS Win Server 2008) i have >> > searched every corner of my disk for the RC file [used both Google >> > desktop >> > and windows desktop search [reliable, seriously!], and finally manual >> > search. :-(. ].I haven't found it, can anyone please tell me where can I >> > find it? >> > I need a way to navigate to other controls like input box is there any >> > shortcut for this? >> > I'm not able to find the trick to auto pass Gmail and Google Reader. >> > In Gmail few links can't be highlighted by the hints like select: All, >> > None, >> > etc. >> > >> > - >> > Amol >> > >> > _______________________________________________ >> > Vimperator mailing list >> > Vimperator at mozdev.org >> > https://www.mozdev.org/mailman/listinfo/vimperator >> > >> > >> _______________________________________________ >> Vimperator mailing list >> Vimperator at mozdev.org >> https://www.mozdev.org/mailman/listinfo/vimperator > > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > > From robert.e.hickman at googlemail.com Tue Nov 11 15:05:33 2008 From: robert.e.hickman at googlemail.com (robert hickman) Date: Tue, 11 Nov 2008 23:05:33 +0000 Subject: [Vimperator] Display bookmark folders in vimperator and scrapbook integration script? Message-ID: <63a039270811111505va473a4cg2006717952229d59@mail.gmail.com> 2 questions: 1) Is it possible to display the :bookmarks listing in a way that is actually usable, i.e. folderised like the useural menu. 2) Is there a script to integrate ScrapBook into vimperator. Thanks. From dotancohen at gmail.com Tue Nov 11 23:35:12 2008 From: dotancohen at gmail.com (Dotan Cohen) Date: Wed, 12 Nov 2008 09:35:12 +0200 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <1affc7910811102203g59e8d7a2n737f6d471da602d6@mail.gmail.com> Message-ID: <880dece00811112335r17508bdcr4068109776c2fa02@mail.gmail.com> 2008/11/11 Emmanuel Benisty : >> You may try the addon NightlyTesterTools to force installing vimpertor on FF >> 3.1. > > you don't even need that: > http://vimperator.org/trac/gitweb/?p=vimperator.git;a=blob_plain;f=install.rdf;hb=HEAD > > 3.1b2pre As Firefox / Vimperator is critical to my workflow, I will wait until there is a stable 3.1-ready version. I am anxious to upgrade to 3.1, but not at the cost of unreasonable instability at this point. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-? From dpb at driftaway.org Tue Nov 11 23:36:51 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Wed, 12 Nov 2008 09:36:51 +0200 Subject: [Vimperator] Display bookmark folders in vimperator and scrapbook integration script? In-Reply-To: <63a039270811111505va473a4cg2006717952229d59@mail.gmail.com> References: <63a039270811111505va473a4cg2006717952229d59@mail.gmail.com> Message-ID: 2008/11/12 robert hickman : > 2 questions: > 1) Is it possible to display the :bookmarks listing in a way that is > actually usable, i.e. folderised like the useural menu. No, it isn't. You can use the bookmarks dialog or the sidebar though. :dialog bookmarks or :sidebar Bookmarks > 2) Is there a script to integrate ScrapBook into vimperator. Haven't heard of one. But you can always make one. ;) -- Daniel From dpb at driftaway.org Tue Nov 11 23:38:31 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Wed, 12 Nov 2008 09:38:31 +0200 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <880dece00811112335r17508bdcr4068109776c2fa02@mail.gmail.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <1affc7910811102203g59e8d7a2n737f6d471da602d6@mail.gmail.com> <880dece00811112335r17508bdcr4068109776c2fa02@mail.gmail.com> Message-ID: 2008/11/12 Dotan Cohen : > 2008/11/11 Emmanuel Benisty : >>> You may try the addon NightlyTesterTools to force installing vimpertor on FF >>> 3.1. >> >> you don't even need that: >> http://vimperator.org/trac/gitweb/?p=vimperator.git;a=blob_plain;f=install.rdf;hb=HEAD >> >> 3.1b2pre > > As Firefox / Vimperator is critical to my workflow, I will wait until > there is a stable 3.1-ready version. I am anxious to upgrade to 3.1, > but not at the cost of unreasonable instability at this point. If you want a stable version, you should wait for *Firefox* to release a stable 3.1 too. ;) -- Daniel From dotancohen at gmail.com Tue Nov 11 23:42:19 2008 From: dotancohen at gmail.com (Dotan Cohen) Date: Wed, 12 Nov 2008 09:42:19 +0200 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <1affc7910811102203g59e8d7a2n737f6d471da602d6@mail.gmail.com> <880dece00811112335r17508bdcr4068109776c2fa02@mail.gmail.com> Message-ID: <880dece00811112342y6a2a17b2p123df44a4cb6732f@mail.gmail.com> 2008/11/12 Daniel Bainton : > If you want a stable version, you should wait for *Firefox* to release > a stable 3.1 too. ;) > I am! I tested 3.1 to see what it was like, but I'm not using it as my daily driver. For that matter I have not upgraded Kubuntu to 8.10 and I don't expect to do that, either. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-? From r.grosmann at gmail.com Wed Nov 12 02:37:41 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Wed, 12 Nov 2008 11:37:41 +0100 Subject: [Vimperator] Display bookmark folders in vimperator and scrapbook integration script? In-Reply-To: References: <63a039270811111505va473a4cg2006717952229d59@mail.gmail.com> Message-ID: idebar Bookmarks > >> 2) Is there a script to integrate ScrapBook into vimperator. > > Haven't heard of one. But you can always make one. ;) > > -- > Daniel > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > I have made a simple one. Maybe you can use it as a starting point. commands.addUserCommand(['sbcap'],"capture with scrapbook", function(){ sbBrowserOverlay.execCapture(0, null, false, 'urn:scrapbook:root'); }, { } ); commands.addUserCommand(['sbbmark'],"bookmark with scrapbook", function(){ sbBrowserOverlay.bookmark(); }, { } ); regards, Ruud From benisty.e at gmail.com Wed Nov 12 02:54:15 2008 From: benisty.e at gmail.com (Emmanuel Benisty) Date: Wed, 12 Nov 2008 17:54:15 +0700 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <880dece00811112342y6a2a17b2p123df44a4cb6732f@mail.gmail.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <1affc7910811102203g59e8d7a2n737f6d471da602d6@mail.gmail.com> <880dece00811112335r17508bdcr4068109776c2fa02@mail.gmail.com> <880dece00811112342y6a2a17b2p123df44a4cb6732f@mail.gmail.com> Message-ID: 2008/11/12 Dotan Cohen : > 2008/11/12 Daniel Bainton : >> If you want a stable version, you should wait for *Firefox* to release >> a stable 3.1 too. ;) >> > > I am! I tested 3.1 to see what it was like, but I'm not using it as my > daily driver. For that matter I have not upgraded Kubuntu to 8.10 and > I don't expect to do that, either. FTR, FWIW + YMMV, I'm building Firefox almost daily from mozilla-central hg repo and it's extremely stable. I'm using Vimp from Daniel's repo (Oct 20 Build) and everything works great+fast (that TraceMonkey stuff is really impressive) From r.grosmann at gmail.com Wed Nov 12 03:21:59 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Wed, 12 Nov 2008 12:21:59 +0100 Subject: [Vimperator] follow quick hints Message-ID: hello group, I like the quick hints feature very much, however I have a little problem with it. When I want to follow a link I look at the text, type 'f' and a portion of the link. Sometimes this portion contains too many characters; a smaller part of it makes it unique already. The result is that the rest of the input is used in the next screen. For example: I want to follow the link 'discard' and type fdiscard. It appears that dis was enough. The link is followed and the letters card are used as commands in the next window (add bookmark, reload, delete tab?). Question: is it possible to add a setting that requires a return to be entered to follow a link? Or a setting that cleares the input buffer when a link is followed using a hint? regards, Ruud From fb at intoxicatedmind.net Wed Nov 12 03:59:45 2008 From: fb at intoxicatedmind.net (Frank Blendinger) Date: Wed, 12 Nov 2008 12:59:45 +0100 Subject: [Vimperator] Where is RC File? In-Reply-To: <66dd0ce40811111022k613e9932va0ffdb2b5aca9a17@mail.gmail.com> References: <76eccaa60811100723j32ea29c7yb5d46b75157ba1c0@mail.gmail.com> <76eccaa60811110623m3281f9bbk19a7bf5b6ea41c4e@mail.gmail.com> <66dd0ce40811111022k613e9932va0ffdb2b5aca9a17@mail.gmail.com> Message-ID: <20081112115945.GH6963@intoxicatedmind.net> Hi. Casey Manion enlightened the world by writing these words of wisdom: > I find this to be weird on my windows machines. The way I do it [...] > Note: You do have to restart for changes to take effect. You can also use ``:source ~/.vimperatorrc'' instead of restarting. The `~' might not work correctly under Windows, though, I don't remember, but you can always use an absolut path to the rc file. Greetings, Frank -- Frank Blendinger | fb(at)intoxicatedmind.net | GPG: 0x0BF2FE7A Fingerprint: BB64 F2B8 DFD8 BF90 0F2E 892B 72CF 7A41 0BF2 FE7A "Just because I don't care doesn't mean I don't understand." (Homer Simpson) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From dougkearns at gmail.com Wed Nov 12 04:06:49 2008 From: dougkearns at gmail.com (Doug Kearns) Date: Wed, 12 Nov 2008 12:06:49 +0000 Subject: [Vimperator] Where is RC File? In-Reply-To: <76eccaa60811110623m3281f9bbk19a7bf5b6ea41c4e@mail.gmail.com> References: <76eccaa60811100723j32ea29c7yb5d46b75157ba1c0@mail.gmail.com> <76eccaa60811110623m3281f9bbk19a7bf5b6ea41c4e@mail.gmail.com> Message-ID: <644fc65e0811120406r73aa6da0q43b76810047c2e7b@mail.gmail.com> On 11/11/08, Amol Jadhav wrote: > I created file named _vimperatorrc in %HOMEDRIVE%%HOMEPATH% added few stuffs > from the 'Tips and Tricks'. The stuffs are not working. I even tried > restarting Firefox after that. :echo io.expandPath("~") will return Vimperator's idea of 'HOME'. Doug From mftian at gmail.com Wed Nov 12 04:58:17 2008 From: mftian at gmail.com (Xie&Tian) Date: Wed, 12 Nov 2008 20:58:17 +0800 Subject: [Vimperator] follow quick hints In-Reply-To: References: Message-ID: Yes, it's a little annoying that sometimes you type "too fast" in hint mode that leads to some unpredictable action. But as following a link is a heavily performed action, adding a return to confirm open a link may add a lot more key strokes to the user in surfing the web. In fact, once you get used to the Vimperator's hint, things will not look that bad. 2008/11/12 ruud grosmann > hello group, > > I like the quick hints feature very much, however I have a little > problem with it. When I want to follow a link I look at the text, type > 'f' and a portion of the link. Sometimes this portion contains too > many characters; a smaller part of it makes it unique already. > The result is that the rest of the input is used in the next screen. > > For example: I want to follow the link 'discard' and type fdiscard. > It appears that dis was enough. The link is followed and the letters > card are used as commands in the next window (add bookmark, reload, > delete tab?). > > Question: is it possible to add a setting that requires a return to be > entered to follow a link? Or a setting that cleares the input buffer > when a link is followed using a hint? > > regards, Ruud > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -------------- next part -------------- An HTML attachment was scrubbed... URL: From r.grosmann at gmail.com Wed Nov 12 05:21:48 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Wed, 12 Nov 2008 14:21:48 +0100 Subject: [Vimperator] follow quick hints In-Reply-To: References: Message-ID: On 12/11/2008, Xie&Tian wrote: > Yes, it's a little annoying that sometimes you type "too fast" in hint mode > that leads to some unpredictable action. But as following a link is a > heavily performed action, adding a return to confirm open a link may add a > lot more key strokes to the user in surfing the web. In fact, once you get > used to the Vimperator's hint, things will not look that bad. It is true that not everyone will be pleased with that feature. That's why I asked for a option like hinttimeout to controll the behaviour. I am convinced that it saves time when you can type in the term and a return without waiting for the response (is it unique?). The return would have no effect if the term is not unique and follows the link if it is. As for now, I carefully have to look what the response of vimperator is after each letter. And that in a heavily performed action.... Am I the only one who would like this feature? regards, Ruud From dpb at driftaway.org Wed Nov 12 05:53:15 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Wed, 12 Nov 2008 15:53:15 +0200 Subject: [Vimperator] follow quick hints In-Reply-To: References: Message-ID: 2008/11/12 ruud grosmann : > On 12/11/2008, Xie&Tian wrote: >> Yes, it's a little annoying that sometimes you type "too fast" in hint mode >> that leads to some unpredictable action. But as following a link is a >> heavily performed action, adding a return to confirm open a link may add a >> lot more key strokes to the user in surfing the web. In fact, once you get >> used to the Vimperator's hint, things will not look that bad. > > It is true that not everyone will be pleased with that feature. That's > why I asked for a option like hinttimeout to controll the behaviour. > I am convinced that it saves time when you can type in the term and a > return without waiting for the response (is it unique?). The return > would have no effect if the term is not unique and follows the link if > it is. > As for now, I carefully have to look what the response of vimperator > is after each letter. And that in a heavily performed action.... > > Am I the only one who would like this feature? No, you're not the only one. Sounds like a nice feature to me. It's often bugged me that I've typed the hints too fast and then something goes wrong like deleting the tab or something.. It's pretty annoying. Patches are always welcome, if you want to add the feature. (Or someone else.) ;) -- Daniel From andrew at pimlott.net Wed Nov 12 11:57:46 2008 From: andrew at pimlott.net (Andrew Pimlott) Date: Wed, 12 Nov 2008 11:57:46 -0800 Subject: [Vimperator] why can't I follow the link under the cursor? In-Reply-To: References: Message-ID: <20081112195746.GK11701@pimlott.net> I just started using Vimperator, and I quickly found that my biggest issue would be with following links. This seems to be common, in view of all the discussion about hints on the mailing list. To me, this whole hint approach overlooks the obvious way to follow links when you have the navigation powers of Vim at hand: simply navigate to the link (however you like), and hit some key to follow it. This is, for example, my usual idiom in the (terminal-mode) browser w3m. It works great, and sidesteps the awkwardness, visual noise, and usability quantries of hints. The first argument against this is that Vimperator in fact does not (yet!) have the navigation powers of Vim. Vimperator doesn't even have a visible cursor most of the time, which I consider essential for Vim-like navigation. But this is probably a side-point, because we already have incremental search, which subsumes most of hint functionality. (Of course, hints save a few keystrokes, but that's not essential for me.) So what do others think about this? I would nominate the Enter key to follow the link under the cursor, by the way. Andrew From maxauthority at vimperator.org Wed Nov 12 12:19:50 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Wed, 12 Nov 2008 21:19:50 +0100 Subject: [Vimperator] follow quick hints In-Reply-To: References: Message-ID: <491B3A66.3070302@vimperator.org> On 2008-11-12 12:21, ruud grosmann wrote: > hello group, > > I like the quick hints feature very much, however I have a little > problem with it. When I want to follow a link I look at the text, type > 'f' and a portion of the link. Sometimes this portion contains too > many characters; a smaller part of it makes it unique already. > The result is that the rest of the input is used in the next screen. > > For example: I want to follow the link 'discard' and type fdiscard. > It appears that dis was enough. The link is followed and the letters > card are used as commands in the next window (add bookmark, reload, > delete tab?). > > Question: is it possible to add a setting that requires a return to be > entered to follow a link? Or a setting that cleares the input buffer > when a link is followed using a hint? Right now, vimperator DOES wait 500ms after a unique link was found. I know, this should be configurable, but we already have 'hinttimeout', which does something different, and too many hint*timeouts might be confusing. The thing which I wanted to change, but didn't have time for, is that it shouldn't wait 500ms after a unique link has been found, but on each keystroke it should reset that timeout, so if you type very fast without more than 500ms for each keystroke you won't do somethin which you did not expect. We might also raise the default timeout to 1 sec, but that would mean waiting 1 sec. longer for each hint to follow. BTW: @Anrew: Pressing Enter is supported, it will follow the first hint (green instead of yellow). From ted at tedpavlic.com Wed Nov 12 12:24:58 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Wed, 12 Nov 2008 15:24:58 -0500 Subject: [Vimperator] why can't I follow the link under the cursor? In-Reply-To: <20081112195746.GK11701@pimlott.net> References: <20081112195746.GK11701@pimlott.net> Message-ID: <491B3B9A.5050206@tedpavlic.com> > So what do others think about this? I would nominate the Enter key to > follow the link under the cursor, by the way. Are you familiar with Caret mode, which is a standard feature of FF3? (and IE8, I believe) Try hitting F7. You can then use arrow keys (or hjkl) to navigate. IIRC, hitting "tab" navigates to the link on the cursor. --Ted -- Ted Pavlic From ted at tedpavlic.com Wed Nov 12 12:26:51 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Wed, 12 Nov 2008 15:26:51 -0500 Subject: [Vimperator] why can't I follow the link under the cursor? In-Reply-To: <491B3B9A.5050206@tedpavlic.com> References: <20081112195746.GK11701@pimlott.net> <491B3B9A.5050206@tedpavlic.com> Message-ID: <491B3C0B.3060807@tedpavlic.com> >> So what do others think about this? I would nominate the Enter key to >> follow the link under the cursor, by the way. > > Are you familiar with Caret mode, which is a standard feature of FF3? > (and IE8, I believe) > > Try hitting F7. You can then use arrow keys (or hjkl) to navigate. IIRC, > hitting "tab" navigates to the link on the cursor. (note: if you haven't abandoned vimperator, you can get into caret mode by hitting "i" -- like "insert" mode in Vim... but otherwise F7 gets you there even without Vimperator) -- Ted Pavlic From andrew at pimlott.net Wed Nov 12 12:41:51 2008 From: andrew at pimlott.net (Andrew Pimlott) Date: Wed, 12 Nov 2008 12:41:51 -0800 Subject: [Vimperator] why can't I follow the link under the cursor? In-Reply-To: <491B3C0B.3060807@tedpavlic.com> References: <20081112195746.GK11701@pimlott.net> <491B3B9A.5050206@tedpavlic.com> <491B3C0B.3060807@tedpavlic.com> Message-ID: <20081112204151.GN11701@pimlott.net> On Wed, Nov 12, 2008 at 03:26:51PM -0500, Ted Pavlic wrote: > (note: if you haven't abandoned vimperator... First, I haven't abandoned Vimperator, and I doubt I will! I already find it more comfortable than Firefox, and I am only wishing for features that will make it as comfortable as Vim--which is indeed a very high standard! > >Are you familiar with Caret mode, which is a standard feature of FF3? I'm familiar with it (I should have said), but I find it currently useless. (And I am only going to talk about how caret mode within Vimperator, because that's all I'm using.) For starters, as soon as you do just about anything (eg, search), you leave caret mode. Second, I can't find any way to follow links from within caret mode. Third, a lot of Vim keybindings are missing in caret mode (eg, ctrl-e to stroll, which is available in normal mode). Maybe all I need is to have Caret mode fixed/fleshed out. If I get into coding mode, I'll look at this. Andrew From christian.glindkamp at gmail.com Wed Nov 12 13:36:36 2008 From: christian.glindkamp at gmail.com (Christian Glindkamp) Date: Wed, 12 Nov 2008 22:36:36 +0100 Subject: [Vimperator] follow quick hints In-Reply-To: <491B3A66.3070302@vimperator.org> References: <491B3A66.3070302@vimperator.org> Message-ID: <20081112223636.2afe962f@gmail.com> On Wed, 12 Nov 2008 21:19:50 +0100 Martin Stubenschrott wrote: > BTW: @Anrew: Pressing Enter is supported, it will follow the first hint (green instead of yellow). Apropos: The current stable version of vimperator directly sets these as style options and not using class-attributes and CSS. This is a problem for me as I have disabled custom colors for websites. Everything uses my system colors so these hint boxes are invisible for me. Using classes would enable me to set my preferred colors via userContent.css. Would it be possible to at least add classes for these hint boxes. The boxes containing the numbers already use a class (which I use to style them). P.S.: Sorry for hijacking the thread. From ted at tedpavlic.com Wed Nov 12 13:40:06 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Wed, 12 Nov 2008 16:40:06 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> <4913673E.1000900@tedpavlic.com> <20081106220307.GG2328@jg.home> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491853C4.6050203@tedpavlic.com> Message-ID: <491B4D36.2050104@tedpavlic.com> Has there been any progress on this? At the moment, it makes the latest CVS version of Vimperator unusable to me. Maybe the point will be moot when FF3.1 goes live. Martin Stubenschrott wrote: > Oh, very good catch! > > I noticed slow firefox startup myself, but thought it was due to bad > caching of favicons, but that explains it. > Very good catch, hope to find the fix soon. > > Thanks for the investigation! > > On Mon, Nov 10, 2008 at 4:31 PM, Ted Pavlic wrote: >> The recent "'fix' FF 3.0 style sheet" changeset seems to get rid of one >> problem (the errors) but generate a new problem. The script: >> >> chrome://liberator/content/util.js:500 >> >> is unresponsive for a LONG time. Firefox is not usable during this time. >> Eventually it finishes. There are no messages on the console aside from >> liberator profile ("Starting ...") messages. -- Ted Pavlic From robert.e.hickman at googlemail.com Thu Nov 13 02:15:10 2008 From: robert.e.hickman at googlemail.com (robert hickman) Date: Thu, 13 Nov 2008 10:15:10 +0000 Subject: [Vimperator] Display bookmark folders in vimperator and scrapbook integration script? In-Reply-To: References: <63a039270811111505va473a4cg2006717952229d59@mail.gmail.com> Message-ID: <63a039270811130215r3d8aab40na66b7774d2cc6287@mail.gmail.com> Thanks. 2008/11/12 ruud grosmann : > idebar Bookmarks >> >>> 2) Is there a script to integrate ScrapBook into vimperator. >> >> Haven't heard of one. But you can always make one. ;) >> >> -- >> Daniel >> _______________________________________________ >> Vimperator mailing list >> Vimperator at mozdev.org >> https://www.mozdev.org/mailman/listinfo/vimperator >> > > I have made a simple one. Maybe you can use it as a starting point. > > commands.addUserCommand(['sbcap'],"capture with scrapbook", > function(){ > sbBrowserOverlay.execCapture(0, null, false, 'urn:scrapbook:root'); > }, > { > } > ); > > commands.addUserCommand(['sbbmark'],"bookmark with scrapbook", > function(){ > sbBrowserOverlay.bookmark(); > }, > { > } > ); > > > regards, Ruud > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From chr+vimperator at tx0.org Thu Nov 13 03:04:43 2008 From: chr+vimperator at tx0.org (Christian Mongeau) Date: Thu, 13 Nov 2008 12:04:43 +0100 Subject: [Vimperator] follow quick hints In-Reply-To: <20081112223636.2afe962f@gmail.com> References: <491B3A66.3070302@vimperator.org> <20081112223636.2afe962f@gmail.com> Message-ID: <20081113110443.GA5416@SDF.LONESTAR.ORG> On 2008-11-12, Christian Glindkamp wrote: > On Wed, 12 Nov 2008 21:19:50 +0100 Martin Stubenschrott wrote: > > BTW: @Anrew: Pressing Enter is supported, it will follow the > > first hint (green instead of yellow). > > Apropos: The current stable version of vimperator directly sets > these as style options and not using class-attributes and CSS. > This is a problem for me as I have disabled custom colors for > websites. Everything uses my system colors so these hint boxes > are invisible for me. Using classes would enable me to set my > preferred colors via userContent.css. Would it be possible to > at least add classes for these hint boxes. [...] I used to have a CSS file like [1]: * { color: #ddd !important; background: #000 !important; } a[href] { color: #fff !important; background: #333 !important; } Those definitions hide the [active]linkbgcolor and [active]linkfgcolor, as you have noticed. I solved it modifying my CSS file: *:not(a) { color: #ddd !important; background: #000 !important; } a[href]:not([style*="color"]) { color: #fff !important; background: #333 !important; } The reason is that when there are no hints, the (relevant) generated source for a link is: a style="" href="http://example.com" whilst when you are in hint mode the generated link is (depending on your color definition): a style="background-color: rgb(255, 255, 102); color: rgb(0, 0, 0);" href="http://example.com" In this way, a[href]:not([style*="color"]) defines my default colors only when there's no "color" in the "style" attribute, i.e., when not using hints. Well, it works for me. Regards, Christian. [1] It's a simplification: There are exceptions for textareas, forms, etc. -- SDF Public Access UNIX System - http://sdf.lonestar.org From eyolf at oestrem.com Thu Nov 13 11:43:50 2008 From: eyolf at oestrem.com (Eyolf =?iso-8859-1?Q?=D8strem?=) Date: Thu, 13 Nov 2008 20:43:50 +0100 Subject: [Vimperator] Question about quickmarks and mkv Message-ID: <20081113194350.GA22781@eyo> I've been wondering about quickmarks: where are they stored? A while ago, when I upgraded vimperator, I lost my quickmarks except those that are defined in .vimperatorrc. I found them, grepping through the firefox profile folder, in prefs.js. Is there a way to retrieve them from there? They are not included in the output file with :mkvimperatorrc either. Neither are my hard-coded marks, which leads me to my second question: are there other things that get left out from :mkv? I have been thinking about it as a convenient way to play around with settings and then :mkv'ing them when I'm satisfied, but if my qm's are lost, I'd rather do it manually... Eyolf -- Debian is the Jedi operating system: "Always two there are, a master and an apprentice". -- Simon Richter on debian-devel From christian.glindkamp at gmail.com Thu Nov 13 11:49:02 2008 From: christian.glindkamp at gmail.com (Christian Glindkamp) Date: Thu, 13 Nov 2008 20:49:02 +0100 Subject: [Vimperator] follow quick hints In-Reply-To: <20081113200718.7a8cf1a9@gmail.com> References: <491B3A66.3070302@vimperator.org> <20081112223636.2afe962f@gmail.com> <20081113110443.GA5416@SDF.LONESTAR.ORG> <20081113200718.7a8cf1a9@gmail.com> Message-ID: <20081113204902.16226a60@gmail.com> On Thu, 13 Nov 2008 20:07:18 +0100 Christian Glindkamp wrote: > On Thu, 13 Nov 2008 12:04:43 +0100 Christian Mongeau wrote: > > On 2008-11-12, Christian Glindkamp wrote: > > > On Wed, 12 Nov 2008 21:19:50 +0100 Martin Stubenschrott wrote: > > > > BTW: @Anrew: Pressing Enter is supported, it will follow the > > > > first hint (green instead of yellow). > > > > > > Apropos: The current stable version of vimperator directly sets > > > these as style options and not using class-attributes and CSS. > > > This is a problem for me as I have disabled custom colors for > > > websites. Everything uses my system colors so these hint boxes > > > are invisible for me. Using classes would enable me to set my > > > preferred colors via userContent.css. Would it be possible to > > > at least add classes for these hint boxes. > > [...] > > > > I used to have a CSS file like [1]: > > > > * { > > color: #ddd !important; > > background: #000 !important; > > } > > > > a[href] { > > color: #fff !important; > > background: #333 !important; > > } > > > > Those definitions hide the [active]linkbgcolor and > > [active]linkfgcolor, as you have noticed. I solved it modifying > > my CSS file: > > > > *:not(a) { > > color: #ddd !important; > > background: #000 !important; > > } > > > > a[href]:not([style*="color"]) { > > color: #fff !important; > > background: #333 !important; > > } > > > > The reason is that when there are no hints, the (relevant) > > generated source for a link is: > > > > a style="" href="http://example.com" > > > > whilst when you are in hint mode the generated link is (depending > > on your color definition): > > > > a style="background-color: rgb(255, 255, 102); color: rgb(0, 0, 0);" href="http://example.com" > > > > In this way, a[href]:not([style*="color"]) defines my default > > colors only when there's no "color" in the "style" attribute, > > i.e., when not using hints. > > > > Well, it works for me. > > Well, it works for me, too. Thank you. > > I had already fiddled with userContent.css to get the same behaviour as with > disabled colors. I only missed the removal of background images and working > hint colors. With your css + an additional "background-image: none !important;" > I got my "perfect" setup. > Well, there is still one little problem. CSS cannot differentiate, who set the colors (the website or vimperator), but I can live with that at the moment, although there might be situations where custom colors in links could make them hard to read. So it might still make sense to add classes to hints, but it isn't that important anymore. From christian.glindkamp at gmail.com Thu Nov 13 11:07:18 2008 From: christian.glindkamp at gmail.com (Christian Glindkamp) Date: Thu, 13 Nov 2008 20:07:18 +0100 Subject: [Vimperator] follow quick hints In-Reply-To: <20081113110443.GA5416@SDF.LONESTAR.ORG> References: <491B3A66.3070302@vimperator.org> <20081112223636.2afe962f@gmail.com> <20081113110443.GA5416@SDF.LONESTAR.ORG> Message-ID: <20081113200718.7a8cf1a9@gmail.com> On Thu, 13 Nov 2008 12:04:43 +0100 Christian Mongeau wrote: > On 2008-11-12, Christian Glindkamp wrote: > > On Wed, 12 Nov 2008 21:19:50 +0100 Martin Stubenschrott wrote: > > > BTW: @Anrew: Pressing Enter is supported, it will follow the > > > first hint (green instead of yellow). > > > > Apropos: The current stable version of vimperator directly sets > > these as style options and not using class-attributes and CSS. > > This is a problem for me as I have disabled custom colors for > > websites. Everything uses my system colors so these hint boxes > > are invisible for me. Using classes would enable me to set my > > preferred colors via userContent.css. Would it be possible to > > at least add classes for these hint boxes. > [...] > > I used to have a CSS file like [1]: > > * { > color: #ddd !important; > background: #000 !important; > } > > a[href] { > color: #fff !important; > background: #333 !important; > } > > Those definitions hide the [active]linkbgcolor and > [active]linkfgcolor, as you have noticed. I solved it modifying > my CSS file: > > *:not(a) { > color: #ddd !important; > background: #000 !important; > } > > a[href]:not([style*="color"]) { > color: #fff !important; > background: #333 !important; > } > > The reason is that when there are no hints, the (relevant) > generated source for a link is: > > a style="" href="http://example.com" > > whilst when you are in hint mode the generated link is (depending > on your color definition): > > a style="background-color: rgb(255, 255, 102); color: rgb(0, 0, 0);" href="http://example.com" > > In this way, a[href]:not([style*="color"]) defines my default > colors only when there's no "color" in the "style" attribute, > i.e., when not using hints. > > Well, it works for me. Well, it works for me, too. Thank you. I had already fiddled with userContent.css to get the same behaviour as with disabled colors. I only missed the removal of background images and working hint colors. With your css + an additional "background-image: none !important;" I got my "perfect" setup. > > Regards, > > Christian. Regards, Christian. ;) From ted at tedpavlic.com Thu Nov 13 13:30:24 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 13 Nov 2008 16:30:24 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <491B4D36.2050104@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49135FAD.3090304@tedpavlic.com> <20081106212447.GF2328@jg.home> <4913673E.1000900@tedpavlic.com> <20081106220307.GG2328@jg.home> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491853C4.6050203@tedpavlic.com> <491B4D36.2050104@tedpavlic.com> Message-ID: <491C9C70.3090908@tedpavlic.com> By the way, I was able to install the latest nightly FF3.1 on my OSX10.4 system and try the latest Vimperator CVS again. I still get lots of beachballs (that's the Mac version of a spinning hourglass when the program becomes unresponsive). Eventually, I received an "Unresponsive script" warning from: Script: chrome://liberator/content/bookmarks.js:575 Before the problem was in util.js, not bookmarks.js. I haven't been able to reproduce this error (where I was able to reproduce the util.js error frequently in FF3.0 with CVS Vimp). --Ted Ted Pavlic wrote: > Has there been any progress on this? At the moment, it makes the latest > CVS version of Vimperator unusable to me. > > Maybe the point will be moot when FF3.1 goes live. > > Martin Stubenschrott wrote: >> Oh, very good catch! >> >> I noticed slow firefox startup myself, but thought it was due to bad >> caching of favicons, but that explains it. >> Very good catch, hope to find the fix soon. >> >> Thanks for the investigation! >> >> On Mon, Nov 10, 2008 at 4:31 PM, Ted Pavlic wrote: >>> The recent "'fix' FF 3.0 style sheet" changeset seems to get rid of one >>> problem (the errors) but generate a new problem. The script: >>> >>> chrome://liberator/content/util.js:500 >>> >>> is unresponsive for a LONG time. Firefox is not usable during this time. >>> Eventually it finishes. There are no messages on the console aside from >>> liberator profile ("Starting ...") messages. > -- Ted Pavlic From maxauthority at vimperator.org Thu Nov 13 14:27:02 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Thu, 13 Nov 2008 23:27:02 +0100 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <491C9C70.3090908@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <20081106220307.GG2328@jg.home> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491853C4.6050203@tedpavlic.com> <491B4D36.2050104@tedpavlic.com> <491C9C70.3090908@tedpavlic.com> Message-ID: Actually i found the problem, that our Struct "class" is very slow, about 10-50x slower than using simple [a, b] or {a: "...", b: "..."} objects. I am investigating the problem currently, but if i don't find a solution, i'll change using of Struct back to using named objects for items which are created often. Thanks for the updated info. On Thu, Nov 13, 2008 at 10:30 PM, Ted Pavlic wrote: > By the way, I was able to install the latest nightly FF3.1 on my OSX10.4 > system and try the latest Vimperator CVS again. > > I still get lots of beachballs (that's the Mac version of a spinning > hourglass when the program becomes unresponsive). Eventually, I received an > "Unresponsive script" warning from: > > Script: chrome://liberator/content/bookmarks.js:575 > > Before the problem was in util.js, not bookmarks.js. I haven't been able to > reproduce this error (where I was able to reproduce the util.js error > frequently in FF3.0 with CVS Vimp). > > --Ted > > > Ted Pavlic wrote: >> >> Has there been any progress on this? At the moment, it makes the latest >> CVS version of Vimperator unusable to me. >> >> Maybe the point will be moot when FF3.1 goes live. >> >> Martin Stubenschrott wrote: >>> >>> Oh, very good catch! >>> >>> I noticed slow firefox startup myself, but thought it was due to bad >>> caching of favicons, but that explains it. >>> Very good catch, hope to find the fix soon. >>> >>> Thanks for the investigation! >>> >>> On Mon, Nov 10, 2008 at 4:31 PM, Ted Pavlic wrote: >>>> >>>> The recent "'fix' FF 3.0 style sheet" changeset seems to get rid of one >>>> problem (the errors) but generate a new problem. The script: >>>> >>>> chrome://liberator/content/util.js:500 >>>> >>>> is unresponsive for a LONG time. Firefox is not usable during this time. >>>> Eventually it finishes. There are no messages on the console aside from >>>> liberator profile ("Starting ...") messages. >> > > -- > Ted Pavlic > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From maglione.k at gmail.com Thu Nov 13 14:49:19 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 13 Nov 2008 17:49:19 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491853C4.6050203@tedpavlic.com> <491B4D36.2050104@tedpavlic.com> <491C9C70.3090908@tedpavlic.com> Message-ID: On Thu, Nov 13, 2008 at 5:27 PM, Martin Stubenschrott wrote: > Actually i found the problem, that our Struct "class" is very slow, > about 10-50x slower than using simple [a, b] or {a: "...", b: "..."} > objects. That's strange. It must vary from FF version to FF version. I'd expect it to be slow in certain situations, but in cases where it's used as an array, it shouldn't make any difference whatsoever. Where is the speed problem? In creation or access? From maxauthority at vimperator.org Thu Nov 13 15:10:32 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 14 Nov 2008 00:10:32 +0100 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491853C4.6050203@tedpavlic.com> <491B4D36.2050104@tedpavlic.com> <491C9C70.3090908@tedpavlic.com> Message-ID: <491CB3E8.6070002@vimperator.org> On 2008-11-13 23:49, Kris Maglione wrote: > On Thu, Nov 13, 2008 at 5:27 PM, Martin Stubenschrott > wrote: >> Actually i found the problem, that our Struct "class" is very slow, >> about 10-50x slower than using simple [a, b] or {a: "...", b: "..."} >> objects. > > That's strange. It must vary from FF version to FF version. I'd expect > it to be slow in certain situations, but in cases where it's used as > an array, it shouldn't make any difference whatsoever. Where is the > speed problem? In creation or access? Creation, actually i just commited a small change which also included comments about the problem. You can test it with: :time var s = new Struct("url", "title"); var res = []; for(let i=0; i < 10000; i++) { res.push(new s("a", "b")); }; vs. :time var s = new Struct("url", "title"); var res = []; for(let i=0; i < 10000; i++) { res.push(["a", "b"]); }; Right now on my machine it is about: 0.17s for the first vs. 24ms for the second (8 times faster). Before my last commit which changed: --------------------- function ConStructor() { let self = this instanceof arguments.callee ? this : new arguments.callee(); - for (let [k, v] in Iterator(Array.slice(arguments))) + //for (let [k, v] in Iterator(Array.slice(arguments))) // That is makes using struct twice as slow as the following code: + for (let i = 0; i < arguments.length; i++) { - if (v != undefined) - self[k] = v; + if (arguments[i] != undefined) + self[i] = arguments[i]; } + return self; } --------------------- it was even twice as slow. If i change that code to create arbitrary two variables inside "self", it's as fast as using a {} object. So I think the problem is accessing arguments[...] is VERY slow. :ver Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b2pre) Gecko/20081112 Minefield/3.1b2pre But it was the case with (slightly) older mozillas as well, no idea about FF3.0. -- Martin PS: Jit turned on, not difference at all with turned off for me. From maxauthority at vimperator.org Thu Nov 13 15:15:06 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 14 Nov 2008 00:15:06 +0100 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <491CB3E8.6070002@vimperator.org> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491853C4.6050203@tedpavlic.com> <491B4D36.2050104@tedpavlic.com> <491C9C70.3090908@tedpavlic.com> <491CB3E8.6070002@vimperator.org> Message-ID: <491CB4FA.6090406@vimperator.org> Oh, as a follow-up: Vimperator startup time (well, hard to measure exactly, but what we dump()) decreased from about 550ms to about 750ms without any major new features. I guess the problem might also be the slow Struct() being heavily used in things like styles. Actually a large history just showed the Struct problem, as there are thousands of items generated. Once, i'll move to cpt=l by default, we also shouldn't cache history (and bookmarks) anymore by default, unless maybe the user does :hs or :bmarks manually. -- Martin From maglione.k at gmail.com Thu Nov 13 15:57:49 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 13 Nov 2008 18:57:49 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <491CB4FA.6090406@vimperator.org> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491853C4.6050203@tedpavlic.com> <491B4D36.2050104@tedpavlic.com> <491C9C70.3090908@tedpavlic.com> <491CB3E8.6070002@vimperator.org> <491CB4FA.6090406@vimperator.org> Message-ID: On Thu, Nov 13, 2008 at 6:15 PM, Martin Stubenschrott wrote: > Oh, as a follow-up: Vimperator startup time (well, hard to measure exactly, but what we dump()) > decreased from about 550ms to about 750ms without any major new features. > > I guess the problem might also be the slow Struct() being heavily used in things like styles. > > Actually a large history just showed the Struct problem, as there are thousands of items generated. > Once, i'll move to cpt=l by default, we also shouldn't cache history (and bookmarks) anymore by default, > unless maybe the user does :hs or :bmarks manually. Yeah, I'd really rather not cache anything we don't have to. It may be necessary for :bmarks, because they're hierarchical, and we don't treat them as such. For history, I don't think it's as much of a problem. From maglione.k at gmail.com Thu Nov 13 16:00:29 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 13 Nov 2008 19:00:29 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <491CB3E8.6070002@vimperator.org> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491853C4.6050203@tedpavlic.com> <491B4D36.2050104@tedpavlic.com> <491C9C70.3090908@tedpavlic.com> <491CB3E8.6070002@vimperator.org> Message-ID: > PS: Jit turned on, not difference at all with turned off for me. I'll have to explore it more. JIT doesn't make a difference for me. I can't seem to find a difference with simple tests: 10000time (function () { let x={}; for (let [k,v] in Iterator(arguments)) x[k]=v })(1,2,3,4,5) 10000time (function () { let x={}; for (let [k,v] in Iterator(Array.slice(arguments))) x[k]=v })(1,2,3,4,5) 10000time (function () { let x={}; for (let i=0; i References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491853C4.6050203@tedpavlic.com> <491B4D36.2050104@tedpavlic.com> <491C9C70.3090908@tedpavlic.com> <491CB3E8.6070002@vimperator.org> <491CB4FA.6090406@vimperator.org> Message-ID: <491CD52B.8070005@tedpavlic.com> > Oh, as a follow-up: Vimperator startup time (well, hard to measure > exactly, but what we dump()) decreased from about 550ms to about > 750ms without any major new features. FYI, I've been using the latest Vimperator CVS, and I haven't had any unresponsive script warnings. It seems to be working well. It's nice to be using the "cutting edge" Vimp again. There have been about 45 changesets since the revision I've had to use. :) --Ted -- Ted Pavlic From ted at tedpavlic.com Fri Nov 14 06:04:56 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Fri, 14 Nov 2008 09:04:56 -0500 Subject: [Vimperator] INSERT (menu) -- Vimp navigation? Message-ID: <491D8588.8080105@tedpavlic.com> When Vimperator goes into "INSERT (menu)" mode (e.g., when typing in a text box and Firefox drops a list of possible completions), is there any way to navigate the menu using Vimp commands? That is, right now I have to go over and use my cursor keys. I can't use hjkl because I'm in insert mode. Hitting escape doesn't help either. Is there a solution? How do I Vimmy-navigate the insert menu? Thanks -- Ted -- Ted Pavlic From chris at mretc.net Thu Nov 13 11:41:41 2008 From: chris at mretc.net (Chris Burkhardt) Date: Thu, 13 Nov 2008 12:41:41 -0700 Subject: [Vimperator] vimperator breaks with iceweasel In-Reply-To: References: Message-ID: Daniel Bainton wrote: > 2008/11/11 ruud grosmann : >> hello group, >> >> I have a nasty issue with vimperator and iceweasel a cannot solve. I >> hope the following rings a bell for one of you, because I'm stuck. >> >> Because I do not know the source of my problem I just give a >> description of what happened: >> >> - I install the vimperator plugin and get really enthousiastic >> - I create .vimperatorrc and .vimperator/plugin with two files in it >> - everything works ok >> - I discover there is a debian package iceweasel-vimperator or so and >> install it (iceweasel 3.0.2) >> - I use vimperator, it works OK, I install it on my work too >> >> - at home, another user who shares ~/.mozilla/firefox with me starts >> the browser and is confronted with vimperator. I disable vimperator >> and restart >> - after that I try to make vimperator only working for me by changing >> the rights of the extensions/vimperator.org directory >> - vimperator does not seem to work >> - I remove the plugin, I remove the debian package >> - after restarting the browser the back and forward buttons are greyed >> out even after following links >> - I reinstall vimperator plugin >> - vimperator still doesn't seem to work: there is no lastline, no >> command line command has effect, the command line contains -- INSERT >> -- after some time or at startup >> - back and forward buttons and menu entry in iceweasel are greyed out; >> H doesn't work, but with mousegestures I am able to follow the history >> back and forth >> - bookmarks are disappeared, Iceweasel is not able to import anything >> or to use the backup it has made >> - disabling or uninstalling the plugin doesn't improve the iceweasel >> behaviour, installing the plugin again leads to the same vimperator >> behavior >> >> >> DOes anyone have a clue what is happening? What started this trouble? >> What can I do now to get vimperator working? >> Can I disable vimperator for one user by settings in the .vimperatorrc? > > 1. Why is another user sharing your ~/.mozilla/firefox? Users should > have their OWN accounts, with their OWN home directories. Even with a shared $HOME, each user may have their own Firefox profile: iceweasel -P ProfileManager Then just install the vimperator plugin for one (don't use the Debian package). - Chris Burkhardt From nemolivier at gmail.com Fri Nov 14 09:02:22 2008 From: nemolivier at gmail.com (=?UTF-8?Q?Olivier_Gu=C3=A9ry?=) Date: Fri, 14 Nov 2008 18:02:22 +0100 Subject: [Vimperator] INSERT (menu) -- Vimp navigation? In-Reply-To: <491D8588.8080105@tedpavlic.com> References: <491D8588.8080105@tedpavlic.com> Message-ID: <5c2c86e70811140902t6e182f48n1abab91f9604dee8@mail.gmail.com> 2008/11/14 Ted Pavlic : > When Vimperator goes into "INSERT (menu)" mode (e.g., when typing in a text > box and Firefox drops a list of possible completions), is there any way to > navigate the menu using Vimp commands? > > That is, right now I have to go over and use my cursor keys. I can't use > hjkl because I'm in insert mode. Hitting escape doesn't help either. > > Is there a solution? How do I Vimmy-navigate the insert menu? would be great. Olivier. -- [Message tap? sur un clavier B?po : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com From r.grosmann at gmail.com Sat Nov 15 10:34:30 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Sat, 15 Nov 2008 19:34:30 +0100 Subject: [Vimperator] test code change Message-ID: hello list, this is the first time I have changed a plugin. I have made a small code change in hints.js. Now I want to test the result. I thought that 'make jar' and symlinking the new built jar in the firefox/extension/vimperator.org/chrome directory and restarting the browser would be enough. Most likely I am wrong and is the procedure to test code different. Vimperator does nothing whatsoever. Could someone point me out to an explanation for novices like me? regards, Ruud From mftian at gmail.com Sat Nov 15 10:47:33 2008 From: mftian at gmail.com (Xie&Tian) Date: Sun, 16 Nov 2008 02:47:33 +0800 Subject: [Vimperator] test code change In-Reply-To: References: Message-ID: 'make xpi' would do the job: compile and general a ready-to-deliever vimperator xpi file search Vimperator.org by keyword 'CVS', there will be instructions for everything 2008/11/16 ruud grosmann > hello list, > > this is the first time I have changed a plugin. I have made a small > code change in hints.js. Now I want to test the result. I thought that > 'make jar' and symlinking the new built jar in the > firefox/extension/vimperator.org/chrome directory and restarting the > browser would be enough. > > Most likely I am wrong and is the procedure to test code different. > Vimperator does nothing whatsoever. Could someone point me out to an > explanation for novices like me? > > regards, Ruud > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -------------- next part -------------- An HTML attachment was scrubbed... URL: From r.grosmann at gmail.com Sat Nov 15 11:02:45 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Sat, 15 Nov 2008 20:02:45 +0100 Subject: [Vimperator] test code change In-Reply-To: References: Message-ID: thanks, I'll try it right away, Ruud On 15/11/2008, Xie&Tian wrote: > 'make xpi' would do the job: compile and general a ready-to-deliever > vimperator xpi file > search Vimperator.org by keyword 'CVS', there will be instructions for > everything > > 2008/11/16 ruud grosmann > >> hello list, >> >> this is the first time I have changed a plugin. I have made a small >> code change in hints.js. Now I want to test the result. I thought that >> 'make jar' and symlinking the new built jar in the >> firefox/extension/vimperator.org/chrome directory and restarting the >> browser would be enough. >> >> Most likely I am wrong and is the procedure to test code different. >> Vimperator does nothing whatsoever. Could someone point me out to an >> explanation for novices like me? >> >> regards, Ruud >> _______________________________________________ >> Vimperator mailing list >> Vimperator at mozdev.org >> https://www.mozdev.org/mailman/listinfo/vimperator >> > From r.grosmann at gmail.com Sat Nov 15 12:09:05 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Sat, 15 Nov 2008 21:09:05 +0100 Subject: [Vimperator] test code change In-Reply-To: References: Message-ID: OK, I tested it as folows: - I moved extensions/vimperator at mozdev.org to .. (profiledirectory) - I created a testfile containing the path to my testdirectory - tested the code change, made some changes until content - then I removed the textfile containing the path to my testdirectory - I moved extensions/../vimperator at mozdev.org to its original location; I assume I have the old situation back - restarted iceweasel And yes, I got my old vimperator back. But wait. I want to know how to document the change and enter :help. Now it appears I don't have my old situation back. The browser (vimperator) replies 'Processing keypress event: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) bladiblah' and a htmlpage containing 'File Not Found Iceweasel can't find the file at chrome://liberator/locale/intro.html' Who can tell me what happened and how I can repair this? Thanks in advance, Ruud On 15/11/2008, ruud grosmann wrote: > thanks, I'll try it right away, > > Ruud > > On 15/11/2008, Xie&Tian wrote: >> 'make xpi' would do the job: compile and general a ready-to-deliever >> vimperator xpi file >> search Vimperator.org by keyword 'CVS', there will be instructions for >> everything >> >> 2008/11/16 ruud grosmann >> >>> hello list, >>> >>> this is the first time I have changed a plugin. I have made a small >>> code change in hints.js. Now I want to test the result. I thought that >>> 'make jar' and symlinking the new built jar in the >>> firefox/extension/vimperator.org/chrome directory and restarting the >>> browser would be enough. >>> >>> Most likely I am wrong and is the procedure to test code different. >>> Vimperator does nothing whatsoever. Could someone point me out to an >>> explanation for novices like me? >>> >>> regards, Ruud >>> _______________________________________________ >>> Vimperator mailing list >>> Vimperator at mozdev.org >>> https://www.mozdev.org/mailman/listinfo/vimperator >>> >> > From reza.jelveh at tuhh.de Sat Nov 15 12:38:30 2008 From: reza.jelveh at tuhh.de (Reza Jelveh) Date: Sat, 15 Nov 2008 21:38:30 +0100 Subject: [Vimperator] Hints programmer-dvorak Message-ID: <8F7E0F82-9E72-4ACE-B09A-6102FFF81932@tuhh.de> Hello, a while ago it was possible to add the attached snippet to the hints.js and make it behave as if i had normal numbers on the keyboard. (1234567890 in the first keyboard line) however i can no longer figure out where to put it to make it work. even if i put it in right after the events.toString in onEvent it doesn't seem to have any effect. any help would be appreciated regards, reza ps. im talking about the cvs head if (/^[&,\[,\{,\},\(,=,\*,\),\+,\]]$/.test(key) && !escapeNumbers) { switch (key) { case "&": key = "1"; break; case "[": key = "2"; break; case "{": key = "3"; break; case "}": key = "4"; break; case "(": key = "5"; break; case "=": key = "6"; break; case "*": key = "7"; break; case ")": key = "8"; break; case "+": key = "9"; break; case "]": key = "0"; break; default: liberator.beep(); return; } } if (/^[0-9]$/.test(key) && !escapeNumbers) { From r.grosmann at gmail.com Sun Nov 16 05:38:06 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Sun, 16 Nov 2008 14:38:06 +0100 Subject: [Vimperator] follow quick hints In-Reply-To: References: Message-ID: On 12/11/2008, Daniel Bainton wrote: > Patches are always welcome, if you want to add the feature. (Or > someone else.) ;) > > -- > Daniel Hello Daniel, it appeared that the feature was not too difficult too implement. I have added only few lines to hints.js and that is it. I have attached the result so that the vimperator developers can have a look if it is acceptable and if it fits in their ideas of the hint mechanism. If it is good enough, I would be very greatful if a developer can take it over at this point, because I am no git person and I do not have asciitext. Also did I attach the modified help file, but now I need the help of other people of the list. I know my English is terrible. So if anyone can improve it, please post the improved text. I added an option, hintreturnmode or hrm. The description in the attached helptext is: 0: default behaviour. Link is followed as soon as text uniquely identifies it. Return key follows tab selected (if any) or first link. 1: like 0, but don't follow link automatically if text has uniquely identified it 2: like 1, but don't follow first link if there are more possibilities regards, Ruud -------------- next part -------------- A non-text attachment was scrubbed... Name: hints.js.gz Type: application/x-gzip Size: 7280 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: options.txt.gz Type: application/x-gzip Size: 7833 bytes Desc: not available URL: From ye.xu.hdm at gmail.com Sun Nov 16 15:39:03 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Mon, 17 Nov 2008 00:39:03 +0100 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox Message-ID: Hello Everyone, I had just tried the latest git version, but everytime I start firefox, it will hang my browser for a few moment, and after that, it reports the following message with the dialog to let me stop the execution of the script. Script: chrome://liberator/content/bookmarks.js:578 any ideas to correct this? thx regards SeeN From ye.xu.hdm at gmail.com Sun Nov 16 15:46:51 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Mon, 17 Nov 2008 00:46:51 +0100 Subject: [Vimperator] char-hints plugin won't work in latest git? Message-ID: Hello Everyone, I like the way of char-hints to select links(the old classic way with 2 letters hints) more than the numbered way, which currently used in vimperator, but after installing the latest git version, the script won't work anymore. It seems that the new vimperator changed the variable/component namespace or sth, so it can't find the proper path for models anymore. so is there any way that i can switch back to the old classic way or how to make this plugin work again? thx a lot regards SeeN From ted at tedpavlic.com Sun Nov 16 15:55:17 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sun, 16 Nov 2008 18:55:17 -0500 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: References: Message-ID: <4920B2E5.6050206@tedpavlic.com> This problem has been discussed in the "Firefox 3.1 support" thread. There is a problem with a container class introduced. They've gone ahead and removed many of the uses of that class, but it still needs to be fixed. If you revert to the revision (about 53 changesets ago) that has the comment: fix :set completion when there's no filter then you'll have no problems... then just wait for them to fix the container. --Ted Ye Xu wrote: > Hello Everyone, > > I had just tried the latest git version, but everytime I start firefox, > it will hang my browser for a few moment, and after that, it reports > the following message with the dialog to let me stop the execution > of the script. > > Script: chrome://liberator/content/bookmarks.js:578 > > any ideas to correct this? > > thx > > regards > > SeeN > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -- Ted Pavlic From ted at tedpavlic.com Sun Nov 16 15:58:11 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sun, 16 Nov 2008 18:58:11 -0500 Subject: [Vimperator] Firefox 3.1 support? In-Reply-To: <491CD52B.8070005@tedpavlic.com> References: <880dece00811060341v4bf719b8jb6f24935e1a49936@mail.gmail.com> <49144298.8080508@tedpavlic.com> <4914DEE1.4090008@vimperator.org> <49179475.7040300@tedpavlic.com> <644fc65e0811091808r63c7679fwcf2caaceffa89e2c@mail.gmail.com> <491853C4.6050203@tedpavlic.com> <491B4D36.2050104@tedpavlic.com> <491C9C70.3090908@tedpavlic.com> <491CB3E8.6070002@vimperator.org> <491CB4FA.6090406@vimperator.org> <491CD52B.8070005@tedpavlic.com> Message-ID: <4920B393.7010107@tedpavlic.com> NOTE: As discussed in a newly created thread (by someone else), the "Unresponsive script" error in the bookmarks script (which is due to the problem discussed here) is really a show stopper. I've had to go back to the "fix :set completion when there's no filter" revision (just before the "Fix completions, among other things (sorry)" revision) to get a usable Vimperator back. Thanks -- Ted Ted Pavlic wrote: >> Oh, as a follow-up: Vimperator startup time (well, hard to measure >> exactly, but what we dump()) decreased from about 550ms to about >> 750ms without any major new features. > > FYI, I've been using the latest Vimperator CVS, and I haven't had any > unresponsive script warnings. It seems to be working well. > > It's nice to be using the "cutting edge" Vimp again. There have been > about 45 changesets since the revision I've had to use. :) > > --Ted > -- Ted Pavlic From ye.xu.hdm at gmail.com Sun Nov 16 16:08:24 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Mon, 17 Nov 2008 01:08:24 +0100 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: <4920B2E5.6050206@tedpavlic.com> References: <4920B2E5.6050206@tedpavlic.com> Message-ID: sorry for the duplicate question, I did't follow that thread, so... i will still prefer to keep using the latest git version, because i won't relaunch a lot for my browser, so this small issue cause me no big trouble. :D thx again. On Mon, Nov 17, 2008 at 00:55, Ted Pavlic wrote: > This problem has been discussed in the "Firefox 3.1 support" thread. There > is a problem with a container class introduced. They've gone ahead and > removed many of the uses of that class, but it still needs to be fixed. > > If you revert to the revision (about 53 changesets ago) that has the > comment: > > fix :set completion when there's no filter > > then you'll have no problems... then just wait for them to fix the > container. > > --Ted > > Ye Xu wrote: >> >> Hello Everyone, >> >> I had just tried the latest git version, but everytime I start firefox, >> it will hang my browser for a few moment, and after that, it reports >> the following message with the dialog to let me stop the execution >> of the script. >> >> Script: chrome://liberator/content/bookmarks.js:578 >> >> any ideas to correct this? >> >> thx >> >> regards >> >> SeeN >> _______________________________________________ >> Vimperator mailing list >> Vimperator at mozdev.org >> https://www.mozdev.org/mailman/listinfo/vimperator >> > > -- > Ted Pavlic > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From ted at tedpavlic.com Sun Nov 16 16:28:43 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sun, 16 Nov 2008 19:28:43 -0500 Subject: [Vimperator] Bug in modes.js... and MORE? Message-ID: <4920BABB.8030507@tedpavlic.com> Vimp devs -- In trying to resurrent char-hints.js to work with Vimperator CVS, I noticed that the function: modes.setCustomMode( ..., ..., ... ) does not appear to be running correctly. After making all of the quick fixes to char-hints.js (e.g., changing liberator.blah to blah), I kept getting this weird error about "plugins" not being defined on a line in char-hints.js where plugins wasn't even mentioned. It turns out the line number it was referring to was the line number in modes.js where setCustomMode is defined. **IT** calls: plugins.mode = modestr; plugins.onEvent = oneventfunc; plugins.stop = stopfunc; I'm not SURE (i.e., I have no clue), but I *think* these should be "liberator.plugins...." instead of just "plugins." That *fixes* the error but appears to break a lot after the "fixed" char-hints.js is sourced. So there are **TWO** problems here: 1.) modes.js does not seem to have a "working" setCustomMode (or at least it doesn't work like it used to) 2.) Vimperator is TELLING me that char-hints.js has an error on a line of modes.js. That is, it *SHOULD* be telling me that the error is in modes.js (and maybe tell me that modes.js is getting called from char-hints.js) Thoughts? --Ted -- Ted Pavlic From ted at tedpavlic.com Sun Nov 16 16:40:18 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sun, 16 Nov 2008 19:40:18 -0500 Subject: [Vimperator] char-hints plugin won't work in latest git? In-Reply-To: References: Message-ID: <4920BD72.1050208@tedpavlic.com> In THEORY, the attached patch should update char-hints.js for the latest CVS Vimp. HOWEVER, there appears to be a bug (in modes.js) that is causing problems with char-hints.js (and potentially other plugins). I've posted a separate thread about that. So wait for that separate thread (about the modes.js bug) to get a resolution, and then apply this patch (and possibly another, depending on the outcome of that other thread). --Ted P.S. The new hint system is very nice. You might just try converting to it. You don't HAVE to use numbers --- just start typing the first few letters of the link. For example, if there is a link with the text "Your account", you can hit "f" to put you into hints mode and then start typing "your account" and quickly Vimperator will home in on the link you want and go to it. Ye Xu wrote: > Hello Everyone, > > I like the way of char-hints to select links(the old classic way with > 2 letters hints) more than the numbered way, > which currently used in vimperator, but after installing the latest > git version, the script won't work anymore. > It seems that the new vimperator changed the variable/component > namespace or sth, so it can't find the proper path for models anymore. > so is there any way that i can switch back to the old classic way or > how to make this plugin work again? -- Ted Pavlic -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: char-hints-cvs-vimp.patch URL: From maxauthority at vimperator.org Mon Nov 17 00:57:01 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Mon, 17 Nov 2008 09:57:01 +0100 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: References: <4920B2E5.6050206@tedpavlic.com> Message-ID: >>> Script: chrome://liberator/content/bookmarks.js:578 >>> >>> any ideas to correct this? It's the same problem of having a slow Struct class. I just fixed it for history a few days ago, but not yet for bookmarks. So i guess you'll only see this problem if you have hundreds or thousands of bookmarks. I'll fix it by not using Struct for bookmarks (and Styles) when I have time, unless Kris has an idea why Struct is slow and how it could be fixed. I tried for an hour or so, but just couldn't get it up to the speed of raw objects/arrays. From gaochangjian at gmail.com Sun Nov 16 17:27:56 2008 From: gaochangjian at gmail.com (Dreamseeker) Date: Mon, 17 Nov 2008 09:27:56 +0800 Subject: [Vimperator] Can I chang the height of status line? Message-ID: <54c73a3d0811161727y3ca2f49es55999c7c9c2f2680@mail.gmail.com> thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From ye.xu.hdm at gmail.com Mon Nov 17 02:05:59 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Mon, 17 Nov 2008 11:05:59 +0100 Subject: [Vimperator] char-hints plugin won't work in latest git? In-Reply-To: <4920BD72.1050208@tedpavlic.com> References: <4920BD72.1050208@tedpavlic.com> Message-ID: thx for your patch and the infomation, I had already try to replace those liberator.modes, liberator.mappings and also liberator.events before open a new thread here, but after that I can't even trigger f/F or : event, so I think I shall wait the fix for modes.js I know I can type some letters right after the hints are highlighted, to find the link, but in some situation, 2 letters are always very handy. I hope indeed, there is an option available for the user to choose which way to select the hints/links. thx a lot! :D On Mon, Nov 17, 2008 at 01:40, Ted Pavlic wrote: > In THEORY, the attached patch should update char-hints.js for the latest CVS > Vimp. > > HOWEVER, there appears to be a bug (in modes.js) that is causing problems > with char-hints.js (and potentially other plugins). I've posted a separate > thread about that. > > So wait for that separate thread (about the modes.js bug) to get a > resolution, and then apply this patch (and possibly another, depending on > the outcome of that other thread). > > --Ted > > P.S. > > The new hint system is very nice. You might just try converting to it. You > don't HAVE to use numbers --- just start typing the first few letters of the > link. For example, if there is a link with the text "Your account", you can > hit "f" to put you into hints mode and then start typing "your account" and > quickly Vimperator will home in on the link you want and go to it. > > Ye Xu wrote: >> >> Hello Everyone, >> >> I like the way of char-hints to select links(the old classic way with >> 2 letters hints) more than the numbered way, >> which currently used in vimperator, but after installing the latest >> git version, the script won't work anymore. >> It seems that the new vimperator changed the variable/component >> namespace or sth, so it can't find the proper path for models anymore. >> so is there any way that i can switch back to the old classic way or >> how to make this plugin work again? > > -- > Ted Pavlic > > --- a/char-hints.js 2008-11-16 19:23:32.000000000 -0500 > +++ b/char-hints.js 2008-11-16 19:30:06.000000000 -0500 > @@ -23,10 +23,10 @@ > chh.showcapitals = true; // show capital letters, even with > lowercase hintchars > chh.timeout = 500; // in 1/000sec; when set to 0, press > to follow > > -chh.fgcolor = liberator.options["linkfgcolor"]; // hints > foreground color > -chh.bgcolor = liberator.options["linkbgcolor"]; // hints > background color > -chh.selfgcolor = liberator.options["activelinkfgcolor"]; // > selected/active hints foreground color > -chh.selbgcolor = liberator.options["activelinkbgcolor"]; // > selected/active hints background color > +chh.fgcolor = options["linkfgcolor"]; // hints foreground color > +chh.bgcolor = options["linkbgcolor"]; // hints background color > +chh.selfgcolor = options["activelinkfgcolor"]; // selected/active hints > foreground color > +chh.selbgcolor = options["activelinkbgcolor"]; // selected/active hints > background color > > chh.mapNormal = "f"; // trigger normal mode with... > chh.mapNormalNewTab = "F"; // trigger and open in new tab > @@ -253,7 +253,7 @@ > var scrollY = doc.defaultView.scrollY; > > var baseNodeAbsolute = > doc.createElementNS("http://www.w3.org/1999/xhtml", "span"); > - baseNodeAbsolute.style.cssText = liberator.options["hintstyle"]; > + baseNodeAbsolute.style.cssText = options["hintstyle"]; > baseNodeAbsolute.className = "liberator-hint"; > > var elem, tagname, text, span, rect; > @@ -476,12 +476,12 @@ > case "a": chh.saveHint(false); break; > case "s": chh.saveHint(true); break; > case "o": chh.openHint(liberator.CURRENT_TAB); break; > - case "O": liberator.commandline.open(":", "open " + loc, > liberator.modes.EX); break; > + case "O": liberator.commandline.open(":", "open " + loc, modes.EX); > break; > case "t": chh.openHint(liberator.NEW_TAB); break; > case "b": chh.openHint(liberator.NEW_BACKGROUND_TAB); break; > - case "T": liberator.commandline.open(":", "tabopen " + loc, > liberator.modes.EX); break; > + case "T": liberator.commandline.open(":", "tabopen " + loc, > modes.EX); break; > case "w": chh.openHint(liberator.NEW_WINDOW); break; > - case "W": liberator.commandline.open(":", "winopen " + loc, > liberator.modes.EX); break; > + case "W": liberator.commandline.open(":", "winopen " + loc, > modes.EX); break; > case "y": chh.yankHint(false); break; > case "Y": chh.yankHint(true); break; > default: > @@ -491,7 +491,7 @@ > var timeout = followFirst ? 0 : 500; > chh.removeHints(timeout); > > - if (liberator.modes.extended & liberator.modes.ALWAYS_HINT) > + if (modes.extended & modes.ALWAYS_HINT) > { > setTimeout(function () { > chh.canUpdate = true; > @@ -502,19 +502,19 @@ > } > else > { > - if (timeout == 0 || liberator.modes.isReplaying) > + if (timeout == 0 || modes.isReplaying) > { > // force a possible mode change, based on wheter an input field > has focus > liberator.events.onFocusChange(); > - if (liberator.mode == liberator.modes.CUSTOM) > - liberator.modes.reset(false); > + if (liberator.mode == modes.CUSTOM) > + modes.reset(false); > } > else > { > - liberator.modes.add(liberator.modes.INACTIVE_HINT); > + modes.add(modes.INACTIVE_HINT); > setTimeout(function () { > - if (liberator.mode == liberator.modes.CUSTOM) > - liberator.modes.reset(false); > + if (liberator.mode == modes.CUSTOM) > + modes.reset(false); > }, timeout); > } > } > @@ -525,13 +525,13 @@ > // TODO: implement framesets > chh.show = function (mode, minor, filter)//{{{ > { > - if (mode == liberator.modes.EXTENDED_HINT && > !/^[;asoOtbTwWyY]$/.test(minor)) > + if (mode == modes.EXTENDED_HINT && !/^[;asoOtbTwWyY]$/.test(minor)) > { > liberator.beep(); > return; > } > > - liberator.modes.set(liberator.modes.CUSTOM, mode); > + modes.set(modes.CUSTOM, mode); > chh.submode = minor || "o"; // open is the default mode > chh.hintString = filter || ""; > chh.hintNumber = 0; > @@ -550,7 +550,7 @@ > if (chh.validHints.length == 0) > { > liberator.beep(); > - liberator.modes.reset(); > + modes.reset(); > return false; > } > else if (chh.validHints.length == 1) > @@ -637,8 +637,8 @@ > { > //FIXME: won't work probably > var map = null; > - if ((map = liberator.mappings.get(liberator.modes.NORMAL, > key)) || > - (map = liberator.mappings.get(liberator.modes.CUSTOM, > key))) //TODO > + if ((map = mappings.get(modes.NORMAL, key)) || > + (map = mappings.get(modes.CUSTOM, key))) //TODO > { > map.execute(null, -1); > return; > @@ -704,28 +704,28 @@ > > // <<<<<<<<<<<<<<< registering/setting up this plugin > > -liberator.modes.setCustomMode ("CHAR-HINTS", > liberator.plugins.charhints.onEvent, > - liberator.plugins.charhints.hide); > +modes.setCustomMode ("CHAR-HINTS", liberator.plugins.charhints.onEvent, > + liberator.plugins.charhints.hide); > > -liberator.mappings.addUserMap([liberator.modes.NORMAL], [chh.mapNormal], > +mappings.addUserMap([modes.NORMAL], [chh.mapNormal], > "Start Custum-QuickHint mode", > - function () { > liberator.plugins.charhints.show(liberator.modes.QUICK_HINT);}); > + function () { > liberator.plugins.charhints.show(modes.QUICK_HINT);}); > > -liberator.mappings.addUserMap([liberator.modes.NORMAL], > [chh.mapNormalNewTab], > +mappings.addUserMap([modes.NORMAL], [chh.mapNormalNewTab], > "Start Custum-QuickHint mode, but open link in a new tab", > - function () { > liberator.plugins.charhints.show(liberator.modes.QUICK_HINT, "t");}); > + function () { liberator.plugins.charhints.show(modes.QUICK_HINT, > "t");}); > > -liberator.mappings.addUserMap([liberator.modes.NORMAL], [chh.mapExtended], > +mappings.addUserMap([modes.NORMAL], [chh.mapExtended], > "Start an extended hint mode", > function (arg) > { > if (arg == "f") > - > liberator.plugins.charhints.show(liberator.modes.ALWAYS_HINT, "o"); > + liberator.plugins.charhints.show(modes.ALWAYS_HINT, "o"); > else if (arg == "F") > - > liberator.plugins.charhints.show(liberator.modes.ALWAYS_HINT, "t"); > + liberator.plugins.charhints.show(modes.ALWAYS_HINT, "t"); > else > - > liberator.plugins.charhints.show(liberator.modes.EXTENDED_HINT, arg); > + liberator.plugins.charhints.show(modes.EXTENDED_HINT, arg); > }, > - { flags: liberator.Mappings.flags.ARGUMENT }); > + { flags: Mappings.flags.ARGUMENT }); > > // vim: set fdm=marker sw=4 ts=4 et: > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > > From ye.xu.hdm at gmail.com Mon Nov 17 02:07:42 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Mon, 17 Nov 2008 11:07:42 +0100 Subject: [Vimperator] Bug in modes.js... and MORE? In-Reply-To: <4920BABB.8030507@tedpavlic.com> References: <4920BABB.8030507@tedpavlic.com> Message-ID: I second that we should make char-hints work again. On Mon, Nov 17, 2008 at 01:28, Ted Pavlic wrote: > Vimp devs -- > > In trying to resurrent char-hints.js to work with Vimperator CVS, I > noticed that the function: > > modes.setCustomMode( ..., ..., ... ) > > does not appear to be running correctly. After making all of the quick fixes > to char-hints.js (e.g., changing liberator.blah to blah), I kept getting > this weird error about "plugins" not being defined on a line in > char-hints.js where plugins wasn't even mentioned. It turns out the line > number it was referring to was the line number in modes.js where > setCustomMode is defined. **IT** calls: > > plugins.mode = modestr; > plugins.onEvent = oneventfunc; > plugins.stop = stopfunc; > > I'm not SURE (i.e., I have no clue), but I *think* these should be > "liberator.plugins...." instead of just "plugins." That *fixes* the error > but appears to break a lot after the "fixed" char-hints.js is sourced. > > So there are **TWO** problems here: > > 1.) modes.js does not seem to have a "working" setCustomMode (or at least it > doesn't work like it used to) > > 2.) Vimperator is TELLING me that char-hints.js has an error on a line of > modes.js. That is, it *SHOULD* be telling me that the error is in modes.js > (and maybe tell me that modes.js is getting called from char-hints.js) > > Thoughts? > --Ted > > -- > Ted Pavlic > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From ted at tedpavlic.com Mon Nov 17 06:17:30 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 17 Nov 2008 09:17:30 -0500 Subject: [Vimperator] Feature request? Show status line in full screen mode? Message-ID: <49217CFA.6010708@tedpavlic.com> Vimp devs -- Right now, fullscreen gets rid of the status line. It would be nice to have an option that leaves the status line *on* during full screen mode. Or is there a way to do this already? Thanks -- Ted -- Ted Pavlic From chm.duquesne at gmail.com Mon Nov 17 06:47:40 2008 From: chm.duquesne at gmail.com (Christophe-Marie Duquesne) Date: Mon, 17 Nov 2008 15:47:40 +0100 Subject: [Vimperator] Feature request? Show status line in full screen mode? In-Reply-To: <49217CFA.6010708@tedpavlic.com> References: <49217CFA.6010708@tedpavlic.com> Message-ID: <4921840C.9010508@gmail.com> seconded! Ted Pavlic wrote: > Vimp devs -- > > Right now, fullscreen gets rid of the status line. > > It would be nice to have an option that leaves the status line > *on* during full screen mode. > > Or is there a way to do this already? > > Thanks -- > Ted > From dpb at driftaway.org Mon Nov 17 06:58:55 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Mon, 17 Nov 2008 16:58:55 +0200 Subject: [Vimperator] Feature request? Show status line in full screen mode? In-Reply-To: <49217CFA.6010708@tedpavlic.com> References: <49217CFA.6010708@tedpavlic.com> Message-ID: 2008/11/17 Ted Pavlic : > Vimp devs -- > > Right now, fullscreen gets rid of the status line. > > It would be nice to have an option that leaves the status line *on* > during full screen mode. > > Or is there a way to do this already? > > Thanks -- > Ted Feature requests can (and should) be added to the website. :) -- Daniel From ye.xu.hdm at gmail.com Mon Nov 17 07:07:50 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Mon, 17 Nov 2008 16:07:50 +0100 Subject: [Vimperator] Feature request? Show status line in full screen mode? In-Reply-To: References: <49217CFA.6010708@tedpavlic.com> Message-ID: yeah, if it got supported would be cool(esp. with a setting option to let the user make the choice). although I normally disabled the status line/tabbar completely. :D On Mon, Nov 17, 2008 at 15:58, Daniel Bainton wrote: > 2008/11/17 Ted Pavlic : >> Vimp devs -- >> >> Right now, fullscreen gets rid of the status line. >> >> It would be nice to have an option that leaves the status line *on* >> during full screen mode. >> >> Or is there a way to do this already? >> >> Thanks -- >> Ted > > Feature requests can (and should) be added to the website. :) > > -- > Daniel > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From ted at tedpavlic.com Mon Nov 17 07:12:35 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 17 Nov 2008 10:12:35 -0500 Subject: [Vimperator] Feature request? Show status line in full screen mode? In-Reply-To: References: <49217CFA.6010708@tedpavlic.com> Message-ID: <492189E3.4070600@tedpavlic.com> OK! http://vimperator.org/trac/ticket/45 > > Feature requests can (and should) be added to the website. :) > -- Ted Pavlic From ted at tedpavlic.com Mon Nov 17 07:15:23 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 17 Nov 2008 10:15:23 -0500 Subject: [Vimperator] Bug in modes.js... and MORE? In-Reply-To: <4920BABB.8030507@tedpavlic.com> References: <4920BABB.8030507@tedpavlic.com> Message-ID: <49218A8B.2010500@tedpavlic.com> Now a bug on the website: http://vimperator.org/trac/ticket/46 Ted Pavlic wrote: > Vimp devs -- > > In trying to resurrent char-hints.js to work with Vimperator CVS, I > noticed that the function: ... -- Ted Pavlic From ye.xu.hdm at gmail.com Mon Nov 17 08:21:44 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Mon, 17 Nov 2008 17:21:44 +0100 Subject: [Vimperator] vimperator events triggering issues for gmail/greader, embedded pdf with acroread 8.1.3 Message-ID: Hello Everyone, I am currently using latest git version vimperator, and encounter two headache problems. Situation 1) using google apps in pass through mode c^z put gmail in pass through mode, so that i can use those gmail specified keyboard shortcuts, like '* then a', but every time that I can do it successfully, means I have to use mouse to click somewhere on the white space around the border, and almost each actions i do, I have to repeat the white space click trick. Situation: 2) reading pdf with acroread inside firefox open a pdf link on a webpage in firefox, firefox triggered embedded acroread so that we can read that pdf directly inside browser, right now I want to use c^n or c^p to switch to other tabs, but vimperator fail to recognize this event, and which can only make it happen is that, I have to point the mouse to status line with one single click, then c^n, c^p works again. I want to ask here if someone else had the same issues with me, and are there any ways to solve these. Thx in Advance. SeeN From ted at tedpavlic.com Mon Nov 17 08:59:51 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 17 Nov 2008 11:59:51 -0500 Subject: [Vimperator] INSERT (menu) -- Vimp navigation? In-Reply-To: <491D8588.8080105@tedpavlic.com> References: <491D8588.8080105@tedpavlic.com> Message-ID: <4921A307.3080905@tedpavlic.com> Now an official feature request: http://vimperator.org/trac/ticket/47 Ted Pavlic wrote: > When Vimperator goes into "INSERT (menu)" mode (e.g., when typing in a > text box and Firefox drops a list of possible completions), is there any > way to navigate the menu using Vimp commands? > > That is, right now I have to go over and use my cursor keys. I can't use > hjkl because I'm in insert mode. Hitting escape doesn't help either. > > Is there a solution? How do I Vimmy-navigate the insert menu? > > Thanks -- > Ted > -- Ted Pavlic From maglione.k at gmail.com Mon Nov 17 09:59:13 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 12:59:13 -0500 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: References: <4920B2E5.6050206@tedpavlic.com> Message-ID: On Mon, Nov 17, 2008 at 3:57 AM, Martin Stubenschrott wrote: >>>> Script: chrome://liberator/content/bookmarks.js:578 > > It's the same problem of having a slow Struct class. I just fixed it > for history a few days ago, but not yet for bookmarks. > So i guess you'll only see this problem if you have hundreds or > thousands of bookmarks. I'm afraid you're wrong. It's actually the same problem that you didn't fix by removing the Struct class. Look at the line number. > I'll fix it by not using Struct for bookmarks (and Styles) when I have > time, unless Kris has an idea why Struct is slow and how it could be > fixed. > I tried for an hour or so, but just couldn't get it up to the speed of > raw objects/arrays. I really don't think this is a problem. It takes about 1.5 seconds for me to instantiate 10,000 Structs, without JIT. Highlighting uses about 30, which shouldn't take a significant amount of time on any machine. I think you're running into another problem here. Even if the Struct class were that slow, it's nowhere near slow enough to cause an "Unresponsive script" error. From ted at tedpavlic.com Mon Nov 17 10:07:24 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 17 Nov 2008 13:07:24 -0500 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: References: <4920B2E5.6050206@tedpavlic.com> Message-ID: <4921B2DC.3080908@tedpavlic.com> > It's the same problem of having a slow Struct class. I just fixed it > for history a few days ago, but not yet for bookmarks. > So i guess you'll only see this problem if you have hundreds or > thousands of bookmarks. Keep in mind that many of us are using the Delicious Bookmarks plugin, which basically extends all of our bookmarks to all of our del.icio.us tagged pages. So it's very possible to have a HUGE number of bookmarks. --Ted -- Ted Pavlic From maglione.k at gmail.com Mon Nov 17 10:14:49 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 13:14:49 -0500 Subject: [Vimperator] vimperator events triggering issues for gmail/greader, embedded pdf with acroread 8.1.3 In-Reply-To: References: Message-ID: On Mon, Nov 17, 2008 at 11:21 AM, Ye Xu wrote: > Situation 1) using google apps in pass through mode The problem is that Gmail uses iframes extensively, and vimperator tends to focus the toplevel frame too often for comfort. > Situation: 2) reading pdf with acroread inside firefox It's not possible, due to the way that Gecko handles keyboard input when plugins are involved. It's been in bugzilla for years now, and is probably never going to be fixed. From maglione.k at gmail.com Mon Nov 17 10:16:01 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 13:16:01 -0500 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: <4921B2DC.3080908@tedpavlic.com> References: <4920B2E5.6050206@tedpavlic.com> <4921B2DC.3080908@tedpavlic.com> Message-ID: On Mon, Nov 17, 2008 at 1:07 PM, Ted Pavlic wrote: > Keep in mind that many of us are using the Delicious Bookmarks plugin, which > basically extends all of our bookmarks to all of our del.icio.us tagged > pages. Well, then, many of you might be said to be very silly. Even so, this has nothing to do with bookmarks. The line number is in the history cache, not the bookmarks cache. From maglione.k at gmail.com Mon Nov 17 10:16:53 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 13:16:53 -0500 Subject: [Vimperator] Can I chang the height of status line? In-Reply-To: <54c73a3d0811161727y3ca2f49es55999c7c9c2f2680@mail.gmail.com> References: <54c73a3d0811161727y3ca2f49es55999c7c9c2f2680@mail.gmail.com> Message-ID: :help :highlight From maxauthority at vimperator.org Mon Nov 17 10:29:12 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Mon, 17 Nov 2008 19:29:12 +0100 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: References: Message-ID: <4921B7F8.5070905@vimperator.org> On 2008-11-17 00:39, Ye Xu wrote: > Hello Everyone, > > I had just tried the latest git version, but everytime I start firefox, > it will hang my browser for a few moment, and after that, it reports > the following message with the dialog to let me stop the execution > of the script. > > Script: chrome://liberator/content/bookmarks.js:578 > > any ideas to correct this? Can you tell me the numbers of: 1.) :echo bookmarks.get("").length 2.) :echo modules.history.get("").length // <- i'll have to find out, why history.get() doesn't work for me 3.) :time bookmarks.get("", "", true) and also this, but i guess it is flawed, since cached: 4.) :time modules.history.get("") From maxauthority at vimperator.org Mon Nov 17 10:44:40 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Mon, 17 Nov 2008 19:44:40 +0100 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: References: <4920B2E5.6050206@tedpavlic.com> Message-ID: <4921BB98.8010105@vimperator.org> On 2008-11-17 18:59, Kris Maglione wrote: > On Mon, Nov 17, 2008 at 3:57 AM, Martin Stubenschrott > wrote: >>>>> Script: chrome://liberator/content/bookmarks.js:578 >> >> It's the same problem of having a slow Struct class. I just fixed it >> for history a few days ago, but not yet for bookmarks. >> So i guess you'll only see this problem if you have hundreds or >> thousands of bookmarks. > > I'm afraid you're wrong. It's actually the same problem that you > didn't fix by removing the Struct class. Look at the line number. Mhm, yeah, should look at the lines as well, and not only the filename :( >> I'll fix it by not using Struct for bookmarks (and Styles) when I have >> time, unless Kris has an idea why Struct is slow and how it could be >> fixed. >> I tried for an hour or so, but just couldn't get it up to the speed of >> raw objects/arrays. > > I really don't think this is a problem. It takes about 1.5 seconds for > me to instantiate 10,000 Structs, without JIT. Highlighting uses about > 30, which shouldn't take a significant amount of time on any machine. > I think you're running into another problem here. Even if the Struct > class were that slow, it's nowhere near slow enough to cause an > "Unresponsive script" error. I am afraid, you are right ;) For my 400 bookmarks, :time bookmarks.get("", "", true) takes about 0.62ms with return bookmarks.push(new Bookmark(node.uri, node.title, null, keyword, tags, node.itemId)); in loadBookmark, and 0.52ms with: return bookmarks.push({url: node.uri, title: node.title, icon: null, keyword: keyword, tags: tags, id: node.itemId}); So it's not the main speed problem, as with thousands of bookmarks, that function would still be very slow. So I think the conclusion would be to: a) use non Structs for Bookmarks/History cache. Even if it's "just" 20% faster, we get that without any real disadvantages and speed should always be a concern for vimperator, especially since it grows larger and larger. b) We might keep using Structs for clarity when only very few (100 maximum, preferably less) objects are needed or we could try "specialized" classes like function Style(name, foo, extra) = ...; new Style(...) but need to performance-test that as well of course. Out of interest, could you also run that :time command with these two ways to push bookmarks as you said using Structs was not slower for you? -- Martin From ted at tedpavlic.com Mon Nov 17 11:10:33 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 17 Nov 2008 14:10:33 -0500 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: <4921B7F8.5070905@vimperator.org> References: <4921B7F8.5070905@vimperator.org> Message-ID: <4921C1A9.7050105@tedpavlic.com> > Can you tell me the numbers of: I'm not the original poster, but I also suffer from bookmarks.js unresponsive script errors... > 1.) :echo bookmarks.get("").length 3374 > 2.) :echo modules.history.get("").length 15366 > 3.) :time bookmarks.get("", "", true) 4.26 seconds (4.21 seconds when I ran it again) > 4.) :time modules.history.get("") 3 msec (3 msec again when I ran it again) --Ted -- Ted Pavlic From maglione.k at gmail.com Mon Nov 17 11:28:57 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 14:28:57 -0500 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: <4921BB98.8010105@vimperator.org> References: <4920B2E5.6050206@tedpavlic.com> <4921BB98.8010105@vimperator.org> Message-ID: On Mon, Nov 17, 2008 at 1:44 PM, Martin Stubenschrott wrote: > a) use non Structs for Bookmarks/History cache. Even if it's "just" 20% faster, we get that without any real disadvantages and speed should always be a concern for vimperator, especially since it grows larger and larger. > > b) We might keep using Structs for clarity when only very few (100 maximum, preferably less) objects are needed or we could try "specialized" classes like function Style(name, foo, extra) = ...; new Style(...) but need to performance-test that as well of course. Maybe we should just run the cache filling code in a separate thread? I agree that speed should be a concern, but only when it becomes a problem. "Premature optimization is the root of all evil." Which isn't to say that we should write slow code, or code that would take ages to speed up. I'm more apt to say that, when we see things slow down, we should profile during startup, see where we're slow, and where we can shave the most cycles. From maglione.k at gmail.com Mon Nov 17 11:32:20 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 14:32:20 -0500 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: <4921C1A9.7050105@tedpavlic.com> References: <4921B7F8.5070905@vimperator.org> <4921C1A9.7050105@tedpavlic.com> Message-ID: On Mon, Nov 17, 2008 at 2:10 PM, Ted Pavlic wrote: >> 3.) :time bookmarks.get("", "", true) > > 4.26 seconds (4.21 seconds when I ran it again) This isn't very useful. Please try :time storage["bookmark-cache"].load() From maxauthority at vimperator.org Mon Nov 17 11:40:18 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Mon, 17 Nov 2008 20:40:18 +0100 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: References: <4920B2E5.6050206@tedpavlic.com> <4921BB98.8010105@vimperator.org> Message-ID: <4921C8A2.8060006@vimperator.org> On 2008-11-17 20:28, Kris Maglione wrote: > On Mon, Nov 17, 2008 at 1:44 PM, Martin Stubenschrott > wrote: >> a) use non Structs for Bookmarks/History cache. Even if it's "just" 20% faster, we get that without any real disadvantages and speed should always be a concern for vimperator, especially since it grows larger and larger. >> >> b) We might keep using Structs for clarity when only very few (100 maximum, preferably less) objects are needed or we could try "specialized" classes like function Style(name, foo, extra) = ...; new Style(...) but need to performance-test that as well of course. > > Maybe we should just run the cache filling code in a separate thread? Wouldn't help much, that's a 4 sec function with no background activity, at startup with 100% CPU restoring sessions it's no wonder, people get that slow script prompt. Actually i have postponed loading history for 15 sec, maybe that's why people see the error at that location. I think, we really need to get rid off these caches altogether, or only create them on a :bmarks/:history and just drop the bh flags from 'complete' and switch to cpt=l altoghether but that needs some more polish. > I agree that speed should be a concern, but only when it becomes a > problem. "Premature optimization is the root of all evil." Which isn't > to say that we should write slow code, or code that would take ages to > speed up. I'm more apt to say that, when we see things slow down, we > should profile during startup, see where we're slow, and where we can > shave the most cycles. Right, but in that case we HAVE a performance problem :) From maglione.k at gmail.com Mon Nov 17 11:59:47 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 14:59:47 -0500 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: <4921C8A2.8060006@vimperator.org> References: <4920B2E5.6050206@tedpavlic.com> <4921BB98.8010105@vimperator.org> <4921C8A2.8060006@vimperator.org> Message-ID: On Mon, Nov 17, 2008 at 2:40 PM, Martin Stubenschrott wrote: > Wouldn't help much, that's a 4 sec function with no background activity, at startup with 100% CPU restoring sessions it's no wonder, people get that slow script prompt. I don't think background scripts trigger "Unresponsive script" errors. Even if they do, they don't block the UI in the mean time, so it's a net improvement. > Actually i have postponed loading history for 15 sec, maybe that's why people see the error at that location. I don't think so. It should be wherever the script is executing at the time. Functions loaded with setTimeout are pushed into the event queue and executed sequentially. In theory, that should actually preclude any slowness in the bookmark cache from triggering an error in the history cache. > I think, we really need to get rid off these caches altogether, or only create them on a :bmarks/:history and just drop the bh flags from 'complete' and switch to cpt=l altoghether but that needs some more polish. I generally agree, but I don't think we can get rid of the bookmarks cache, at least for the sake of the :bmarks command, and for the sake of keywords, in general. We treat bookmarks as a flat list, and they're stored hierarchically, so we'd need to generate the cache whenever someone used the command, or whenever we needed to look at keywords, and thus have a 4 second delay again. > Right, but in that case we HAVE a performance problem :) Right, sorry. What I meant was that we have the performance problem with or without Struct, and only in insane cases, where the definition of insane varies from user to user. That said, I don't, of course, think vimperator should barf when people have insane numbers of bookmarks. I'm on the verge of dumping zsh because it starts pausing just about everywhere (completion, startup, shutdown) when I set my history length to 10,000 (and the code's an un-engineered, tangled heap of garbage). Anyone feel like writing a new shell? From ted at tedpavlic.com Mon Nov 17 12:00:13 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 17 Nov 2008 15:00:13 -0500 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: References: <4921B7F8.5070905@vimperator.org> <4921C1A9.7050105@tedpavlic.com> Message-ID: <4921CD4D.80308@tedpavlic.com> >>> 3.) :time bookmarks.get("", "", true) >> 4.26 seconds (4.21 seconds when I ran it again) > > This isn't very useful. Please try > > :time storage["bookmark-cache"].load() After a "beach ball" (unresponsive Firefox indicator), I get: Total time: 4.45 sec If I run it again, another "beach ball" and: Total time: 4.53 sec Thanks -- Ted -- Ted Pavlic From r.grosmann at gmail.com Mon Nov 17 12:10:06 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Mon, 17 Nov 2008 21:10:06 +0100 Subject: [Vimperator] follow quick hints, patch Message-ID: hi list Some days ago, I posted a small code change after a discussion about following quick hints only after return is pressed. Maybe it wasn't smart to post the message in a dead thread ('follow quick hints'). That's why I repost it. I have posted the modified code (that I recently extracted with git) and the modified documentation file. Most likely this is not the way to propose a change, but this is my first open source code change ever. Hopefully you find it usable enough to include it in a next release. I like the change very much myself. I hope someone can review my change in the documentation (see my post in the follow quick hints thread) for I know it lacks clarity... regards, Ruud On 16/11/2008, ruud grosmann wrote: > On 12/11/2008, Daniel Bainton wrote: > >> Patches are always welcome, if you want to add the feature. (Or >> someone else.) ;) >> >> -- >> Daniel > > Hello Daniel, > > it appeared that the feature was not too difficult too implement. I > have added only few lines to hints.js and that is it. I have attached > the result so that the vimperator developers can have a look if it is > acceptable and if it fits in their ideas of the hint mechanism. If it > is good enough, I would be very greatful if a developer can take it > over at this point, because I am no git person and I do not have > asciitext. > > Also did I attach the modified help file, but now I need the help of > other people of the list. I know my English is terrible. So if anyone > can improve it, please post the improved text. > > I added an option, hintreturnmode or hrm. The description in the > attached helptext is: > 0: default behaviour. Link is followed as soon as text uniquely > identifies it. Return key follows tab selected (if any) or first link. > 1: like 0, but don't follow link automatically if text has uniquely > identified it > 2: like 1, but don't follow first link if there are more possibilities > > regards, Ruud > From maxauthority at vimperator.org Mon Nov 17 12:10:22 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Mon, 17 Nov 2008 21:10:22 +0100 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: <4921CD4D.80308@tedpavlic.com> References: <4921B7F8.5070905@vimperator.org> <4921C1A9.7050105@tedpavlic.com> <4921CD4D.80308@tedpavlic.com> Message-ID: <4921CFAE.90803@vimperator.org> On 2008-11-17 21:00, Ted Pavlic wrote: >>>> 3.) :time bookmarks.get("", "", true) >>> 4.26 seconds (4.21 seconds when I ran it again) >> >> This isn't very useful. Please try >> >> :time storage["bookmark-cache"].load() > > After a "beach ball" (unresponsive Firefox indicator), I get: > > Total time: 4.45 sec > > If I run it again, another "beach ball" and: > > Total time: 4.53 sec Can you try the same command (or :time bookmarks.get("", "", true) with the vimperator version which worked for you? From maxauthority at vimperator.org Mon Nov 17 12:12:44 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Mon, 17 Nov 2008 21:12:44 +0100 Subject: [Vimperator] follow quick hints, patch In-Reply-To: References: Message-ID: <4921D03C.7080506@vimperator.org> On 2008-11-17 21:10, ruud grosmann wrote: > hi list > > Some days ago, I posted a small code change after a discussion about > following quick hints only after return is pressed. Maybe it wasn't > smart to post the message in a dead thread ('follow quick hints'). > That's why I repost it. > > > I have posted the modified code (that I recently extracted with git) > and the modified documentation file. Most likely this is not the way > to propose a change, but this is my first open source code change > ever. Hopefully you find it usable enough to include it in a next > release. I like the change very much myself. > > I hope someone can review my change in the documentation (see my post > in the follow quick hints thread) for I know it lacks clarity... > > regards, Ruud You forgot to attach the files ;) Actually i saw the "patch", but since it wasn't a patch, but just the whole files, i skipped them ;) Could you please do a: cvs diff -u > hints.patch and then send me the hints.patch? Then I can review. -- Martin From maglione.k at gmail.com Mon Nov 17 12:25:15 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 15:25:15 -0500 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: <4921C8A2.8060006@vimperator.org> References: <4920B2E5.6050206@tedpavlic.com> <4921BB98.8010105@vimperator.org> <4921C8A2.8060006@vimperator.org> Message-ID: I moved bookmark/history pre-loading to background threads. Unfortunately, it's imperfect at best. It'll work fine, on the sole condition that you don't try to use them for some 15 seconds after startup (which means, autocompletion ? bad). From ted at tedpavlic.com Mon Nov 17 13:17:57 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 17 Nov 2008 16:17:57 -0500 Subject: [Vimperator] vimperator latest git bookmarks.js hang my firefox In-Reply-To: <4921CFAE.90803@vimperator.org> References: <4921B7F8.5070905@vimperator.org> <4921C1A9.7050105@tedpavlic.com> <4921CD4D.80308@tedpavlic.com> <4921CFAE.90803@vimperator.org> Message-ID: <4921DF85.9070200@tedpavlic.com> > Can you try the same command (or :time bookmarks.get("", "", true) > with the vimperator version which worked for you? Sure. I'll try both. See below. >>>>> 3.) :time bookmarks.get("", "", true) >>>> 4.26 seconds (4.21 seconds when I ran it again) With the version that doesn't give me unresponsive script errors... Total time: 5.80 sec (after a long pause and a quick beachball) Second try: Total time: 5.95 sec (after a long pause and a beachball) >>> :time storage["bookmark-cache"].load() >> After a "beach ball" (unresponsive Firefox indicator), I get: >> >> Total time: 4.45 sec >> >> If I run it again, another "beach ball" and: >> >> Total time: 4.53 sec Total time: 5.89 sec (after a long pause and a beachball) Second try: Total time: 5.92 sec (after a long pause and a quick beachball) -- Ted Pavlic From ye.xu.hdm at gmail.com Mon Nov 17 14:22:34 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Mon, 17 Nov 2008 23:22:34 +0100 Subject: [Vimperator] vimperator events triggering issues for gmail/greader, embedded pdf with acroread 8.1.3 In-Reply-To: References: Message-ID: thanks kris. for the problem 2, it is clear. but for problem 1, is it possible to fix? On Mon, Nov 17, 2008 at 19:14, Kris Maglione wrote: > On Mon, Nov 17, 2008 at 11:21 AM, Ye Xu wrote: >> Situation 1) using google apps in pass through mode > > The problem is that Gmail uses iframes extensively, and vimperator > tends to focus the toplevel frame too often for comfort. > >> Situation: 2) reading pdf with acroread inside firefox > > It's not possible, due to the way that Gecko handles keyboard input > when plugins are involved. It's been in bugzilla for years now, and is > probably never going to be fixed. > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From maglione.k at gmail.com Mon Nov 17 15:02:18 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 18:02:18 -0500 Subject: [Vimperator] vimperator events triggering issues for gmail/greader, embedded pdf with acroread 8.1.3 In-Reply-To: References: Message-ID: On Mon, Nov 17, 2008 at 5:22 PM, Ye Xu wrote: > for the problem 2, it is clear. but for problem 1, is it possible to fix? Yes, it's possible to fix. Well, really, we should probably just focus the active frame instead of the top-level frame when entering NORMAL mode. There are a few hacks floating around. I'm not sure if gvimail still works, but: http://code.google.com/p/gvimail/ From maxauthority at vimperator.org Mon Nov 17 15:12:39 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Tue, 18 Nov 2008 00:12:39 +0100 Subject: [Vimperator] vimperator events triggering issues for gmail/greader, embedded pdf with acroread 8.1.3 In-Reply-To: References: Message-ID: <4921FA67.2060205@vimperator.org> On 2008-11-18 00:02, Kris Maglione wrote: > On Mon, Nov 17, 2008 at 5:22 PM, Ye Xu wrote: >> for the problem 2, it is clear. but for problem 1, is it possible to fix? > > Yes, it's possible to fix. Well, really, we should probably just focus > the active frame instead of the top-level frame when entering NORMAL > mode. There are a few hacks floating around. I'm not sure if gvimail > still works, but: Where is the code focus the first frame? We just try to scroll the first frame which is scrollable when pressing j/k/gg/etc. I always hated it, that i couldn't arrow keys on nearly all page with frames, but i don't remember any code where we actually focus the FIRST frame. -- Martin From ye.xu.hdm at gmail.com Mon Nov 17 15:16:09 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Tue, 18 Nov 2008 00:16:09 +0100 Subject: [Vimperator] vimperator events triggering issues for gmail/greader, embedded pdf with acroread 8.1.3 In-Reply-To: References: Message-ID: I had just check out the gvimail from the svn repo, due to the changes made in vimperator, like other plugins e.g char-hints, it won't work anymore. On Tue, Nov 18, 2008 at 00:02, Kris Maglione wrote: > On Mon, Nov 17, 2008 at 5:22 PM, Ye Xu wrote: >> for the problem 2, it is clear. but for problem 1, is it possible to fix? > > Yes, it's possible to fix. Well, really, we should probably just focus > the active frame instead of the top-level frame when entering NORMAL > mode. There are a few hacks floating around. I'm not sure if gvimail > still works, but: > > http://code.google.com/p/gvimail/ > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From maglione.k at gmail.com Mon Nov 17 15:28:25 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 18:28:25 -0500 Subject: [Vimperator] vimperator events triggering issues for gmail/greader, embedded pdf with acroread 8.1.3 In-Reply-To: <4921FA67.2060205@vimperator.org> References: <4921FA67.2060205@vimperator.org> Message-ID: On Mon, Nov 17, 2008 at 6:12 PM, Martin Stubenschrott wrote: > We just try to scroll the first frame which is scrollable when pressing j/k/gg/etc. > I always hated it, that i couldn't arrow keys on nearly all page with frames, but i > don't remember any code where we actually focus the FIRST frame. liberator.focusContent. It focuses window.content, which takes the focus from whatever iframe happens to have focus. From maxauthority at vimperator.org Mon Nov 17 15:30:24 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Tue, 18 Nov 2008 00:30:24 +0100 Subject: [Vimperator] vimperator events triggering issues for gmail/greader, embedded pdf with acroread 8.1.3 In-Reply-To: References: <4921FA67.2060205@vimperator.org> Message-ID: <4921FE90.8070504@vimperator.org> On 2008-11-18 00:28, Kris Maglione wrote: > On Mon, Nov 17, 2008 at 6:12 PM, Martin Stubenschrott > wrote: >> We just try to scroll the first frame which is scrollable when pressing j/k/gg/etc. >> I always hated it, that i couldn't arrow keys on nearly all page with frames, but i >> don't remember any code where we actually focus the FIRST frame. > > liberator.focusContent. It focuses window.content, which takes the > focus from whatever iframe happens to have focus. Oh ok, my fault. Actually this code is just that if you have e.g. the tab bar focused, you focus the content. But we might try to refocus the active frame again. From maglione.k at gmail.com Mon Nov 17 16:01:58 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 19:01:58 -0500 Subject: [Vimperator] Script to automatically update older plugins Message-ID: Attached is a script to automatically update old plugins. All it does is remove "liberator." where appropriate. To automatically update a group of files, do something like: for f in *.js; do ./fix-liberator.pl <$f >$f.new mv $f.new $f done -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-liberator.pl Type: application/x-perl Size: 390 bytes Desc: not available URL: From ye.xu.hdm at gmail.com Mon Nov 17 16:24:16 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Tue, 18 Nov 2008 01:24:16 +0100 Subject: [Vimperator] Script to automatically update older plugins In-Reply-To: References: Message-ID: I had tried the same thing yesterday, due to some changes/issues in current vimperator code, some plugins like char-hints won't work, even you remove the liberate prefix name. I think we shall wait for the liberate library to have a stable state, then we can take a closer look to fix the plugins out there. On Tue, Nov 18, 2008 at 01:01, Kris Maglione wrote: > Attached is a script to automatically update old plugins. All it does > is remove "liberator." where appropriate. To automatically update a > group of files, do something like: > > for f in *.js; do > ./fix-liberator.pl <$f >$f.new > mv $f.new $f > done > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > > From maglione.k at gmail.com Mon Nov 17 17:17:09 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 17 Nov 2008 20:17:09 -0500 Subject: [Vimperator] Script to automatically update older plugins In-Reply-To: References: Message-ID: On Mon, Nov 17, 2008 at 7:24 PM, Ye Xu wrote: > I think we shall wait for the liberate library to have a stable state, > then we can take a closer look to fix the plugins out there. That's not the point. From ted at tedpavlic.com Mon Nov 17 19:54:25 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 17 Nov 2008 22:54:25 -0500 Subject: [Vimperator] Script to automatically update older plugins In-Reply-To: References: Message-ID: <49223C71.8060800@tedpavlic.com> The char-hints.js problem is unique. In general, all major problems with plugins that USED to work in 1.2 will be fixed by Kris' script. Additionally, all future plugins *must* comply with the new convention. There is NO REASON to avoid applying that script. > I had tried the same thing yesterday, due to some changes/issues in > current vimperator code, > some plugins like char-hints won't work, even you remove the liberate > prefix name. > I think we shall wait for the liberate library to have a stable state, > then we can take a closer look to > fix the plugins out there. -- Ted Pavlic From amolj.1306 at gmail.com Mon Nov 17 20:27:25 2008 From: amolj.1306 at gmail.com (Amol Jadhav) Date: Tue, 18 Nov 2008 09:57:25 +0530 Subject: [Vimperator] Input boxes Message-ID: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> Hi, Like quick hints can we quickly set focus to particular input box (or any other control)? I'm quite lazy to go and hold my mouse to modify search query in google (of course, we can always :open it directly but cannot edit existing query). Thanks, Amol -------------- next part -------------- An HTML attachment was scrubbed... URL: From maxauthority at vimperator.org Tue Nov 18 00:18:57 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Tue, 18 Nov 2008 09:18:57 +0100 Subject: [Vimperator] Input boxes In-Reply-To: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> Message-ID: <49227A71.6000206@vimperator.org> On 2008-11-18 05:27, Amol Jadhav wrote: > Hi, > > Like quick hints can we quickly set focus to particular input box (or > any other control)? I'm quite lazy to go and hold my mouse to modify > search query in google (of course, we can always :open it directly but > cannot edit existing query). :help gi From nemolivier at gmail.com Tue Nov 18 00:48:25 2008 From: nemolivier at gmail.com (=?UTF-8?Q?Olivier_Gu=C3=A9ry?=) Date: Tue, 18 Nov 2008 09:48:25 +0100 Subject: [Vimperator] Input boxes In-Reply-To: <49227A71.6000206@vimperator.org> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> Message-ID: <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> Speaking of this, the walk-imput plugin by Takayama Fumihiko was realy usefull, last time I tried it with last git, it don't work. Olivier. 2008/11/18 Martin Stubenschrott : > On 2008-11-18 05:27, Amol Jadhav wrote: > >> Hi, >> >> Like quick hints can we quickly set focus to particular input box (or >> any other control)? I'm quite lazy to go and hold my mouse to modify >> search query in google (of course, we can always :open it directly but >> cannot edit existing query). > > > :help gi > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -- [Message tap? sur un clavier B?po : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com From ye.xu.hdm at gmail.com Tue Nov 18 01:39:34 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Tue, 18 Nov 2008 10:39:34 +0100 Subject: [Vimperator] Script to automatically update older plugins In-Reply-To: References: Message-ID: sorry, I am misunderstood. thx. On Tue, Nov 18, 2008 at 02:17, Kris Maglione wrote: > On Mon, Nov 17, 2008 at 7:24 PM, Ye Xu wrote: >> I think we shall wait for the liberate library to have a stable state, >> then we can take a closer look to fix the plugins out there. > > That's not the point. > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From ye.xu.hdm at gmail.com Tue Nov 18 01:45:39 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Tue, 18 Nov 2008 10:45:39 +0100 Subject: [Vimperator] Script to automatically update older plugins In-Reply-To: <49223C71.8060800@tedpavlic.com> References: <49223C71.8060800@tedpavlic.com> Message-ID: just tried kris's script with gvimail.js, but it still won't work with the latest vimperator. it reports with: TypeError: vimperator.config is undefined. so that script shall replace this vimperator, too? On Tue, Nov 18, 2008 at 04:54, Ted Pavlic wrote: > The char-hints.js problem is unique. > > In general, all major problems with plugins that USED to work in 1.2 will be > fixed by Kris' script. Additionally, all future plugins *must* comply with > the new convention. There is NO REASON to avoid applying that script. > >> I had tried the same thing yesterday, due to some changes/issues in >> current vimperator code, >> some plugins like char-hints won't work, even you remove the liberate >> prefix name. >> I think we shall wait for the liberate library to have a stable state, >> then we can take a closer look to >> fix the plugins out there. > > > > -- > Ted Pavlic > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From maxauthority at vimperator.org Tue Nov 18 01:47:03 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Tue, 18 Nov 2008 10:47:03 +0100 Subject: [Vimperator] Script to automatically update older plugins In-Reply-To: References: <49223C71.8060800@tedpavlic.com> Message-ID: <49228F17.5050703@vimperator.org> On 2008-11-18 10:45, Ye Xu wrote: > just tried kris's script with gvimail.js, but it still won't work with > the latest vimperator. > > it reports with: TypeError: vimperator.config is undefined. > > so that script shall replace this vimperator, too? That script doesn't do that, as vimperator was replaced by "liberator" loooong time ago, try "liberator.config". From r.grosmann at gmail.com Tue Nov 18 01:54:24 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Tue, 18 Nov 2008 10:54:24 +0100 Subject: [Vimperator] follow quick hints, patch In-Reply-To: <4921D03C.7080506@vimperator.org> References: <4921D03C.7080506@vimperator.org> Message-ID: hi Martin, I have used git to obtain de source, not CVS. But I have the original and the modified files. Is there an non-cvs command I can use to get the desired output? regards, Ruud On 17/11/2008, Martin Stubenschrott wrote: > On 2008-11-17 21:10, ruud grosmann wrote: > >> hi list >> >> Some days ago, I posted a small code change after a discussion about >> following quick hints only after return is pressed. Maybe it wasn't >> smart to post the message in a dead thread ('follow quick hints'). >> That's why I repost it. >> >> >> I have posted the modified code (that I recently extracted with git) >> and the modified documentation file. Most likely this is not the way >> to propose a change, but this is my first open source code change >> ever. Hopefully you find it usable enough to include it in a next >> release. I like the change very much myself. >> >> I hope someone can review my change in the documentation (see my post >> in the follow quick hints thread) for I know it lacks clarity... >> >> regards, Ruud > > > You forgot to attach the files ;) > > Actually i saw the "patch", but since it wasn't a patch, but just the whole > files, i skipped them ;) > > Could you please do a: > > cvs diff -u > hints.patch > > > and then send me the hints.patch? > > Then I can review. > -- > Martin > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From maxauthority at vimperator.org Tue Nov 18 01:57:27 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Tue, 18 Nov 2008 10:57:27 +0100 Subject: [Vimperator] follow quick hints, patch In-Reply-To: References: <4921D03C.7080506@vimperator.org> Message-ID: <49229187.5030307@vimperator.org> On 2008-11-18 10:54, ruud grosmann wrote: > hi Martin, > > I have used git to obtain de source, not CVS. But I have the original > and the modified files. Is there an non-cvs command I can use to get > the desired output? diff -u > hints.patch :) If you are on windows, you might need to install "diff" (maybe via cygwin). From r.grosmann at gmail.com Tue Nov 18 02:02:03 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Tue, 18 Nov 2008 11:02:03 +0100 Subject: [Vimperator] follow quick hints, patch In-Reply-To: <49229187.5030307@vimperator.org> References: <4921D03C.7080506@vimperator.org> <49229187.5030307@vimperator.org> Message-ID: > > diff -u > hints.patch :) here they are Ruud -------------- next part -------------- A non-text attachment was scrubbed... Name: hints.diff Type: text/x-diff Size: 1352 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: options.diff Type: text/x-diff Size: 1071 bytes Desc: not available URL: From dpb at driftaway.org Tue Nov 18 02:52:09 2008 From: dpb at driftaway.org (Daniel Bainton) Date: Tue, 18 Nov 2008 12:52:09 +0200 Subject: [Vimperator] follow quick hints, patch In-Reply-To: <49229187.5030307@vimperator.org> References: <4921D03C.7080506@vimperator.org> <49229187.5030307@vimperator.org> Message-ID: 2008/11/18 Martin Stubenschrott : > On 2008-11-18 10:54, ruud grosmann wrote: > >> hi Martin, >> >> I have used git to obtain de source, not CVS. But I have the original >> and the modified files. Is there an non-cvs command I can use to get >> the desired output? > > > diff -u > hints.patch :) > > If you are on windows, you might need to install "diff" (maybe via cygwin). Or just use git... git diff > hints.patch -- Daniel From teramako at gmail.com Tue Nov 18 03:33:30 2008 From: teramako at gmail.com (M.Terada) Date: Tue, 18 Nov 2008 20:33:30 +0900 Subject: [Vimperator] Input boxes In-Reply-To: <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> Message-ID: <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> Hi, Olivier On Tue, Nov 18, 2008 at 5:48 PM, Olivier Gu?ry wrote: > Speaking of this, the walk-imput plugin by Takayama Fumihiko was > realy usefull, last time I tried it with last git, it don't work. > Where are you get the plugin file ? Probably it had been old. The newest version is in http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/walk-input.js But it's cannot focus to input or textarea in iframe Best regards --- teramako http://d.hatena.ne.jp/teramako/ From ye.xu.hdm at gmail.com Tue Nov 18 03:51:13 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Tue, 18 Nov 2008 12:51:13 +0100 Subject: [Vimperator] Script to automatically update older plugins In-Reply-To: <49228F17.5050703@vimperator.org> References: <49223C71.8060800@tedpavlic.com> <49228F17.5050703@vimperator.org> Message-ID: in this case, I had replaced vimperator with liberator, but won't help. :( also tried kris's script with walk-input.js, and the modified walk-input massed up and disabled the "follow hints" event. click f/F nothing happened. PS: do we have an official developer guide/doc for plugin development? I had search around and don't find anything. On Tue, Nov 18, 2008 at 10:47, Martin Stubenschrott wrote: > On 2008-11-18 10:45, Ye Xu wrote: > >> just tried kris's script with gvimail.js, but it still won't work with >> the latest vimperator. >> >> it reports with: TypeError: vimperator.config is undefined. >> >> so that script shall replace this vimperator, too? > > > That script doesn't do that, as vimperator was replaced by "liberator" loooong > time ago, try "liberator.config". > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From mahefa.randimbisoa at gmail.com Tue Nov 18 03:52:50 2008 From: mahefa.randimbisoa at gmail.com (mahefa randimbisoa) Date: Tue, 18 Nov 2008 14:52:50 +0300 Subject: [Vimperator] Script to automatically update older plugins In-Reply-To: References: <49223C71.8060800@tedpavlic.com> <49228F17.5050703@vimperator.org> Message-ID: <2ba1fac40811180352m58f81a9fn2e058d8fb346e7e9@mail.gmail.com> For the gvimail plugin, wait one second, I'm committing a new version to googlecode. From maxauthority at vimperator.org Tue Nov 18 03:54:31 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Tue, 18 Nov 2008 12:54:31 +0100 Subject: [Vimperator] Script to automatically update older plugins In-Reply-To: References: <49223C71.8060800@tedpavlic.com> <49228F17.5050703@vimperator.org> Message-ID: <4922ACF7.8060101@vimperator.org> > PS: > do we have an official developer guide/doc for plugin development? I > had search around and don't find anything. Not yet unfortunatly, but it would be nice, if somebody could extend the developer.txt file in src/locale/en-US/ -- Martin From ye.xu.hdm at gmail.com Tue Nov 18 04:00:46 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Tue, 18 Nov 2008 13:00:46 +0100 Subject: [Vimperator] Script to automatically update older plugins In-Reply-To: <2ba1fac40811180352m58f81a9fn2e058d8fb346e7e9@mail.gmail.com> References: <49223C71.8060800@tedpavlic.com> <49228F17.5050703@vimperator.org> <2ba1fac40811180352m58f81a9fn2e058d8fb346e7e9@mail.gmail.com> Message-ID: thx On Tue, Nov 18, 2008 at 12:52, mahefa randimbisoa wrote: > For the gvimail plugin, > wait one second, > I'm committing a new version to googlecode. > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From ye.xu.hdm at gmail.com Tue Nov 18 04:05:20 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Tue, 18 Nov 2008 13:05:20 +0100 Subject: [Vimperator] Script to automatically update older plugins In-Reply-To: References: <49223C71.8060800@tedpavlic.com> <49228F17.5050703@vimperator.org> Message-ID: sorry for misinform, this version walk-input I tried with kris's script is an old version found from google, I had tried the one from http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/walk-input.js there, it needs no extra modification, but just like M. Terada said in other thread, it seems walk-input can't focus on some input field, which wrapped in iframe. On Tue, Nov 18, 2008 at 12:51, Ye Xu wrote: > in this case, I had replaced vimperator with liberator, but won't help. :( > > also tried kris's script with walk-input.js, and the modified > walk-input massed up and disabled the "follow hints" event. click f/F > nothing happened. > > PS: > do we have an official developer guide/doc for plugin development? I > had search around and don't find anything. > > On Tue, Nov 18, 2008 at 10:47, Martin Stubenschrott > wrote: >> On 2008-11-18 10:45, Ye Xu wrote: >> >>> just tried kris's script with gvimail.js, but it still won't work with >>> the latest vimperator. >>> >>> it reports with: TypeError: vimperator.config is undefined. >>> >>> so that script shall replace this vimperator, too? >> >> >> That script doesn't do that, as vimperator was replaced by "liberator" loooong >> time ago, try "liberator.config". >> _______________________________________________ >> Vimperator mailing list >> Vimperator at mozdev.org >> https://www.mozdev.org/mailman/listinfo/vimperator >> > From ted at tedpavlic.com Tue Nov 18 05:37:57 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Tue, 18 Nov 2008 08:37:57 -0500 Subject: [Vimperator] Input boxes In-Reply-To: <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> Message-ID: <4922C535.3040202@tedpavlic.com> If it doesn't work, check out the Perl script attached to the thread "Script to automatically update older plugins" It can be used to convert old plugins that are not compatible with the new plugin API of Vimp2.0. --Ted Olivier Gu?ry wrote: > Speaking of this, the walk-imput plugin by Takayama Fumihiko was > realy usefull, last time I tried it with last git, it don't work. -- Ted Pavlic From mahefa.randimbisoa at gmail.com Tue Nov 18 05:48:38 2008 From: mahefa.randimbisoa at gmail.com (mahefa randimbisoa) Date: Tue, 18 Nov 2008 16:48:38 +0300 Subject: [Vimperator] :sty usage Message-ID: <2ba1fac40811180548p9e2d04do5cd65853f0a1e120@mail.gmail.com> I used to use stylechanger.js to customize css for some websites. Now, I see there is a command :sty built in vimperator, but I don't manage to use it. The help doesn't help me so much, what am I missing? tried :sty vimperator.org body { color: red;} :sty vimperator.org mycustomvimperator.css ... to no avail. -- Mahefa From nemolivier at gmail.com Tue Nov 18 05:48:59 2008 From: nemolivier at gmail.com (=?UTF-8?Q?Olivier_Gu=C3=A9ry?=) Date: Tue, 18 Nov 2008 14:48:59 +0100 Subject: [Vimperator] Input boxes In-Reply-To: <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> Message-ID: <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> 2008/11/18 M. Terada : > Hi, Olivier > > On Tue, Nov 18, 2008 at 5:48 PM, Olivier Gu?ry wrote: >> Speaking of this, the walk-imput plugin by Takayama Fumihiko was >> realy usefull, last time I tried it with last git, it don't work. >> > Where are you get the plugin file ? > Probably it had been old. > The newest version is in > http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/walk-input.js > > But it's cannot focus to input or textarea in iframe > > Best regards Thank's? your ? feedSomekeys ? work great? Why the plugins are not on the web-site ? regards, Olivier. -- [Message tap? sur un clavier B?po : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com From amolj.1306 at gmail.com Tue Nov 18 07:11:11 2008 From: amolj.1306 at gmail.com (Amol Jadhav) Date: Tue, 18 Nov 2008 20:41:11 +0530 Subject: [Vimperator] Input boxes In-Reply-To: <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> Message-ID: <76eccaa60811180711x1594e9a2x18705daecd08d723@mail.gmail.com> Thanks, this perfectly solves my problem On Tue, Nov 18, 2008 at 5:03 PM, M. Terada wrote: > Hi, Olivier > > On Tue, Nov 18, 2008 at 5:48 PM, Olivier Gu?ry > wrote: > > Speaking of this, the walk-imput plugin by Takayama Fumihiko was > > realy usefull, last time I tried it with last git, it don't work. > > > Where are you get the plugin file ? > Probably it had been old. > The newest version is in > > http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/walk-input.js > > But it's cannot focus to input or textarea in iframe > > Best regards > --- > teramako > http://d.hatena.ne.jp/teramako/ > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -------------- next part -------------- An HTML attachment was scrubbed... URL: From teramako at gmail.com Tue Nov 18 07:35:46 2008 From: teramako at gmail.com (M.Terada) Date: Wed, 19 Nov 2008 00:35:46 +0900 Subject: [Vimperator] :sty usage In-Reply-To: <2ba1fac40811180548p9e2d04do5cd65853f0a1e120@mail.gmail.com> References: <2ba1fac40811180548p9e2d04do5cd65853f0a1e120@mail.gmail.com> Message-ID: <6eebba490811180735v44e0300bhdb40b0f508650396@mail.gmail.com> Hi. the file's extension has to be ".vimp", so please rename the file to foo.vimp and then :source ~/.vimperator/colors/foo.vimp or :colorscheme foo but colors directory is not read at vimpertor startup if wants to read automatically, please puts the file into plugin directory. > :sty vimperator.org mycustomvimperator.css sty command cannot read files, it's wrong syntax if you want to read css file, needs to use "source" command and probably wrap the file's contents with @-moz-document domain("vimperator.org") { .... } or otherwise rename foo.vimp and rewrite style vimperator.org < References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> Message-ID: <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> > Thank's? your ? feedSomekeys ? work great? > Why the plugins are not on the web-site ? feedSomeKeys_2.js and feedSomeKeys.js are already on the site of coderepos.org :) please see and search http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk (for 2.0pre) http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/tags/1.2pre (for 1.2pre) Best regards. --- teramako http://d.hatena.ne.jp/teramako/ From nemolivier at gmail.com Tue Nov 18 07:51:25 2008 From: nemolivier at gmail.com (=?UTF-8?Q?Olivier_Gu=C3=A9ry?=) Date: Tue, 18 Nov 2008 16:51:25 +0100 Subject: [Vimperator] Input boxes In-Reply-To: <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> Message-ID: <5c2c86e70811180751tc5bb091n2a6e3c0b6890f533@mail.gmail.com> 2008/11/18 M. Terada : >> Thank's? your ? feedSomekeys ? work great? >> Why the plugins are not on the web-site ? > > feedSomeKeys_2.js and feedSomeKeys.js are already on the site of > coderepos.org :) > > please see and search > http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk > (for 2.0pre) > http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/tags/1.2pre > (for 1.2pre) I was speaking about the vimperator web-site. I use the pluggins from your repository. Olivier. -- [Message tap? sur un clavier B?po : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com From teramako at gmail.com Tue Nov 18 08:55:31 2008 From: teramako at gmail.com (M.Terada) Date: Wed, 19 Nov 2008 01:55:31 +0900 Subject: [Vimperator] Input boxes In-Reply-To: <5c2c86e70811180751tc5bb091n2a6e3c0b6890f533@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> <5c2c86e70811180751tc5bb091n2a6e3c0b6890f533@mail.gmail.com> Message-ID: <6eebba490811180855h72b274d6j5a5146734982a3ec@mail.gmail.com> > I was speaking about the vimperator web-site. I use the pluggins from > your repository. OK just now, I uploaded http://vimperator.org/trac/ticket/48 ---- teramako http://d.hatena.ne.jp/teramako/ From reza.jelveh at tuhh.de Tue Nov 18 23:56:48 2008 From: reza.jelveh at tuhh.de (Reza Jelveh) Date: Wed, 19 Nov 2008 08:56:48 +0100 Subject: [Vimperator] Hints programmer-dvorak In-Reply-To: <8F7E0F82-9E72-4ACE-B09A-6102FFF81932@tuhh.de> References: <8F7E0F82-9E72-4ACE-B09A-6102FFF81932@tuhh.de> Message-ID: <147700C5-2FF9-4298-957B-3C25876979EF@tuhh.de> To answer my own question to make programmer dvorak work nicely with number hints. Theres now 2 places to be modified events.js and hints.js A question to the devs. Is there a way to do is in a plugin? It's bit awkward to change the hints/events js for special cases. -------------- next part -------------- A non-text attachment was scrubbed... Name: programmer_dvorak.diff Type: application/octet-stream Size: 2587 bytes Desc: not available URL: -------------- next part -------------- From maxauthority at vimperator.org Wed Nov 19 03:43:52 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Wed, 19 Nov 2008 12:43:52 +0100 Subject: [Vimperator] Hints programmer-dvorak In-Reply-To: <147700C5-2FF9-4298-957B-3C25876979EF@tuhh.de> References: <8F7E0F82-9E72-4ACE-B09A-6102FFF81932@tuhh.de> <147700C5-2FF9-4298-957B-3C25876979EF@tuhh.de> Message-ID: <4923FBF8.7080303@vimperator.org> On 2008-11-19 08:56, Reza Jelveh wrote: > To answer my own question to make programmer dvorak work nicely with > number hints. Theres now 2 places to be modified events.js and hints.js > > A question to the devs. Is there a way to do is in a plugin? It's bit > awkward to > change the hints/events js for special cases. I think you could write your own hintMatcher and :set hintmatching=custom. If that doesn't work, you really have to write a full hint system like char-hints.js as a plugin :( -- Martin PS: That's exactly the reason why i personally would never buy a dvorak keyboard, there are just too many apps out there which don't work perfectly, or need a huge amount of tweaking to work well. From eyolf at oestrem.com Wed Nov 19 08:09:57 2008 From: eyolf at oestrem.com (Eyolf =?iso-8859-1?Q?=D8strem?=) Date: Wed, 19 Nov 2008 17:09:57 +0100 Subject: [Vimperator] char-hints plugin won't work in latest git? In-Reply-To: References: <4920BD72.1050208@tedpavlic.com> Message-ID: <20081119160957.GB8376@eyo> I finally got char-hints.js to work again. I ran Ted's script, but in order to make it work, I had to modify the last lines of the script to the following: modes.setCustomMode ("CHAR-HINTS", plugins.charhints.onEvent, plugins.charhints.hide); mappings.addUserMap([modes.NORMAL], [chh.mapNormal], "Start Custum-QuickHint mode", function () { plugins.charhints.show(modes.QUICK_HINT, "o");}); mappings.addUserMap([modes.NORMAL], [chh.mapNormalNewTab], "Start Custum-QuickHint mode, but open link in a new tab", function () { plugins.charhints.show(modes.QUICK_HINT, "t");}); mappings.addUserMap([modes.NORMAL], [chh.mapExtended], "Start an extended hint mode", function (arg) { if (arg == "f") plugins.charhints.show(modes.ALWAYS_HINT, "o"); else if (arg == "F") plugins.charhints.show(modes.ALWAYS_HINT, "t"); else plugins.charhints.show(modes.EXTENDED_HINT, arg); }, { flags: Mappings.flags.ARGUMENT }); // vim: set fdm=marker sw=4 ts=4 et: Eyolf -- The future isn't what it used to be. (It never was.) From maxauthority at vimperator.org Wed Nov 19 08:32:36 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Wed, 19 Nov 2008 17:32:36 +0100 Subject: [Vimperator] char-hints plugin won't work in latest git? In-Reply-To: <20081119160957.GB8376@eyo> References: <4920BD72.1050208@tedpavlic.com> <20081119160957.GB8376@eyo> Message-ID: <49243FA4.1090402@vimperator.org> On 2008-11-19 17:09, Eyolf ?strem wrote: > > I finally got char-hints.js to work again. I ran Ted's script, but in order > to make it work, I had to modify the last lines of the script to the > following: [snip] > if (arg == "f") > plugins.charhints.show(modes.ALWAYS_HINT, "o"); > else if (arg == "F") > plugins.charhints.show(modes.ALWAYS_HINT, "t"); > else > plugins.charhints.show(modes.EXTENDED_HINT, arg); That works? I think we have removed the modes.{ALWAYS,EXTENDED}_HINT submodes. From eyolf at oestrem.com Wed Nov 19 08:38:00 2008 From: eyolf at oestrem.com (Eyolf =?iso-8859-1?Q?=D8strem?=) Date: Wed, 19 Nov 2008 17:38:00 +0100 Subject: [Vimperator] char-hints plugin won't work in latest git? In-Reply-To: <49243FA4.1090402@vimperator.org> References: <4920BD72.1050208@tedpavlic.com> <20081119160957.GB8376@eyo> <49243FA4.1090402@vimperator.org> Message-ID: <20081119163800.GD8376@eyo> On 19.11.2008 (17:32), Martin Stubenschrott wrote: > On 2008-11-19 17:09, Eyolf ?strem wrote: > > if (arg == "f") > > plugins.charhints.show(modes.ALWAYS_HINT, "o"); > > else if (arg == "F") > > plugins.charhints.show(modes.ALWAYS_HINT, "t"); > > else > > plugins.charhints.show(modes.EXTENDED_HINT, arg); > > > That works? I think we have removed the modes.{ALWAYS,EXTENDED}_HINT submodes. Works here. With a git checkout from nov 13, the one with the commit message: "changed horrible history cache code" -- that's the latest I have tried. Eyolf -- The 'A' is for content, the 'minus' is for not typing it. Don't ever do this to my eyes again. -- Professor Ronald Brady, Philosophy, Ramapo State College From ye.xu.hdm at gmail.com Wed Nov 19 08:50:48 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Wed, 19 Nov 2008 17:50:48 +0100 Subject: [Vimperator] char-hints plugin won't work in latest git? In-Reply-To: <20081119160957.GB8376@eyo> References: <4920BD72.1050208@tedpavlic.com> <20081119160957.GB8376@eyo> Message-ID: confirm! it works! thx a lot. On Wed, Nov 19, 2008 at 17:09, Eyolf ?strem wrote: > > I finally got char-hints.js to work again. I ran Ted's script, but in order > to make it work, I had to modify the last lines of the script to the > following: > > > modes.setCustomMode ("CHAR-HINTS", plugins.charhints.onEvent, > plugins.charhints.hide); > > mappings.addUserMap([modes.NORMAL], [chh.mapNormal], > "Start Custum-QuickHint mode", > function () { plugins.charhints.show(modes.QUICK_HINT, "o");}); > > mappings.addUserMap([modes.NORMAL], [chh.mapNormalNewTab], > "Start Custum-QuickHint mode, but open link in a new tab", > function () { plugins.charhints.show(modes.QUICK_HINT, "t");}); > > mappings.addUserMap([modes.NORMAL], [chh.mapExtended], > "Start an extended hint mode", > function (arg) > { > if (arg == "f") > plugins.charhints.show(modes.ALWAYS_HINT, "o"); > else if (arg == "F") > plugins.charhints.show(modes.ALWAYS_HINT, "t"); > else > plugins.charhints.show(modes.EXTENDED_HINT, arg); > }, > { flags: Mappings.flags.ARGUMENT }); > > // vim: set fdm=marker sw=4 ts=4 et: > > > Eyolf > > > -- > The future isn't what it used to be. (It never was.) > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From maglione.k at gmail.com Wed Nov 19 10:16:45 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Wed, 19 Nov 2008 13:16:45 -0500 Subject: [Vimperator] char-hints plugin won't work in latest git? In-Reply-To: <49243FA4.1090402@vimperator.org> References: <4920BD72.1050208@tedpavlic.com> <20081119160957.GB8376@eyo> <49243FA4.1090402@vimperator.org> Message-ID: On Wed, Nov 19, 2008 at 11:32 AM, Martin Stubenschrott wrote: > That works? I think we have removed the modes.{ALWAYS,EXTENDED}_HINT submodes. We have. It must not care if the argument is undefined. From eyolf at oestrem.com Wed Nov 19 12:46:16 2008 From: eyolf at oestrem.com (Eyolf =?iso-8859-1?Q?=D8strem?=) Date: Wed, 19 Nov 2008 21:46:16 +0100 Subject: [Vimperator] char-hints plugin won't work in latest git? In-Reply-To: References: <4920BD72.1050208@tedpavlic.com> <20081119160957.GB8376@eyo> <49243FA4.1090402@vimperator.org> Message-ID: <20081119204616.GB21708@eyo.wins.ibt.ku.dk> On 19.11.2008 (13:16), Kris Maglione wrote: > On Wed, Nov 19, 2008 at 11:32 AM, Martin Stubenschrott > wrote: > > That works? I think we have removed the modes.{ALWAYS,EXTENDED}_HINT submodes. > > We have. It must not care if the argument is undefined. As long as it works, I don't care either.... :) e -- If you are a police dog, where's your badge? -- Question James Thurber used to drive his German Shepherd crazy. From maxauthority at vimperator.org Wed Nov 19 18:47:07 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Thu, 20 Nov 2008 03:47:07 +0100 Subject: [Vimperator] follow quick hints, patch In-Reply-To: References: <4921D03C.7080506@vimperator.org> <49229187.5030307@vimperator.org> Message-ID: <4924CFAB.9050408@vimperator.org> On 2008-11-18 11:02, ruud grosmann wrote: >> >> diff -u > hints.patch :) > > > here they are The patch itself is very fine. I ask if that should be in by default. Usually I am against adding new options unless they are really needed. This one might be a good idea, however. What do others on the list think about the patch below? PS: Please use American English for documentation (behavior instead of behaviour) in future. > ------------------------------------------------------------------------ > > --- hints.js 2008-11-13 12:21:43.000000000 +0100 > +++ /export/home/rdgon/overz/hints.js 2008-11-18 10:51:16.000000000 +0100 > @@ -327,6 +327,21 @@ > return false; > } > > + if (options["hintreturnmode"] > 0) > + { // check if continuing is valid > + if (!followFirst) > + return false; // no return hit; don't examine uniqueness > + // else > + if ((options["hintreturnmode"] == 2) && validHints.length > 1 && > + !hintNumber) > + { // OK. return hit. But there's more than one hint. And > + // there's no tab-selected current link. Do not follow in > + // mode 2 > + liberator.beep(); > + return false; > + } > + } > + > if (!followFirst) > { > var firstHref = validHints[0].getAttribute("href") || null; > @@ -563,6 +578,11 @@ > "number", 0, > { validator: function (value) value >= 0 }); > > + options.add(["hintreturnmode", "hrm"], > + "Mode for processing of returns during text input", > + "number", 0, > + { validator: function (value) value >= 0 && value < 3 }); > + > options.add(["linkfgcolor", "lfc"], > "Foreground color of a link during hint mode", > "string", "black"); > > > ------------------------------------------------------------------------ > > --- options.txt 2008-11-13 12:21:43.000000000 +0100 > +++ /export/home/rdgon/overz/options.txt 2008-11-18 10:51:27.000000000 +0100 > @@ -360,6 +360,18 @@ > *custom* Delegate to a custom function: liberator.plugins.customHintMatcher(hintString) > ----------------------------------------------------------------------------------------------------------------------------------------------------- > > +|\'hrm'| |\'hintreturnmode'| > +||'hintreturnmode' 'hrm'|| number (default: 0) > +____ > + > +Change the function of hitting the return while in the text part of a the hint. Possible values: > + > +`---------`------------------------------------------------------------ > +*0* default behaviour. Link is followed as soon as text uniquely identifies it. Return key follows tab selected (if any) or first link. > +*1* like 0, but don't follow link automatically if text has uniquely identified it > +*2* like 1, but don't follow first link if there are more possibilities > +----------------------------------------------------------------------- > + > ____ > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator From ervandew at gmail.com Wed Nov 19 19:11:30 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Wed, 19 Nov 2008 19:11:30 -0800 Subject: [Vimperator] setting previous context mark... the ' mark Message-ID: One vim feature that I've been continuously missing from vimperator, is the "previous context mark", or the ' mark. The scenario where I miss it the most is when I'm currently somewhere in the middle of a page and jump to either the start (gg) or end (G) of the page and then instinctively hit '' (single quote, single quote) to try to jump back to where I was, but to no avail. Though I think vimperator should set the previous context mark automatically, I figured a couple quick mappings would tide me over: noremap gg m'gg noremap G m'G However these did not work. After hitting gg or G, the previous context mark was not set. After playing with :mark and looking at the vimperator code, I found that vimperator only allows the marks a-z to be marked with m or :mark. So, getting to my question: Is there a reason why vimperator disallows setting the previous context mark? Attached is a small patch which allows this mark to be set, and in turn makes my above mappings behave exactly as I would expect. The patch doesn't update delmarks, but vim doesn't appear to allow deleting of that mark either. -- eric -------------- next part -------------- A non-text attachment was scrubbed... Name: buffers.js.patch Type: application/octet-stream Size: 1834 bytes Desc: not available URL: From maglione.k at gmail.com Wed Nov 19 19:46:51 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Wed, 19 Nov 2008 22:46:51 -0500 Subject: [Vimperator] follow quick hints, patch In-Reply-To: <4924CFAB.9050408@vimperator.org> References: <4921D03C.7080506@vimperator.org> <49229187.5030307@vimperator.org> <4924CFAB.9050408@vimperator.org> Message-ID: On Wed, Nov 19, 2008 at 9:47 PM, Martin Stubenschrott wrote: > The patch itself is very fine. I ask if that should be in by default. Usually > I am against adding new options unless they are really needed. This one might > be a good idea, however. What do others on the list think about the patch below? I think it's probably a useful feature (I find it a bit disconcerting that I don't really know how many letters I need to type before a hint is automatically followed). My only real complaint is that the documentation is confusing. I'm still not quite sure I really understand it. I'm also not terribly fond of the option name (I'd like something like 'followhints' better). From maglione.k at gmail.com Wed Nov 19 19:50:13 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Wed, 19 Nov 2008 22:50:13 -0500 Subject: [Vimperator] setting previous context mark... the ' mark In-Reply-To: References: Message-ID: On Wed, Nov 19, 2008 at 10:11 PM, Eric Van Dewoestine wrote: > So, getting to my question: Is there a reason why vimperator disallows > setting the previous context mark? Because it's not vim compatible. The ', ", 0-9 marks are special. They're automatically updated and can't be set. Ideally, vimperator should support them intrinsically, but I seem to recall that there are corner cases. From ervandew at gmail.com Wed Nov 19 20:39:48 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Wed, 19 Nov 2008 20:39:48 -0800 Subject: [Vimperator] setting previous context mark... the ' mark In-Reply-To: References: Message-ID: On Wed, Nov 19, 2008 at 7:50 PM, Kris Maglione wrote: > On Wed, Nov 19, 2008 at 10:11 PM, Eric Van Dewoestine > wrote: >> So, getting to my question: Is there a reason why vimperator disallows >> setting the previous context mark? > > Because it's not vim compatible. The ', ", 0-9 marks are special. > They're automatically updated and can't be set. Ideally, vimperator > should support them intrinsically, but I seem to recall that there are > corner cases. > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > Actually, you can set the ' mark manually in vim: :mark ' or m' -- eric From maglione.k at gmail.com Wed Nov 19 20:52:46 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Wed, 19 Nov 2008 23:52:46 -0500 Subject: [Vimperator] setting previous context mark... the ' mark In-Reply-To: References: Message-ID: On Wed, Nov 19, 2008 at 11:39 PM, Eric Van Dewoestine wrote: > Actually, you can set the ' mark manually in vim: Interesting. In that case, they can't be set because they haven't been properly implemented yet. P.S. I'd like to take this opportunity to bash vim, except that the behavior doesn't seem unreasonable. Ah, well. Another day. From r.grosmann at gmail.com Thu Nov 20 10:14:49 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Thu, 20 Nov 2008 19:14:49 +0100 Subject: [Vimperator] follow quick hints, patch In-Reply-To: References: <4921D03C.7080506@vimperator.org> <49229187.5030307@vimperator.org> <4924CFAB.9050408@vimperator.org> Message-ID: > > I think it's probably a useful feature (I find it a bit disconcerting > that I don't really know how many letters I need to type before a hint > is automatically followed). My only real complaint is that the > documentation is confusing. I'm still not quite sure I really > understand it. I'm also not terribly fond of the option name (I'd like > something like 'followhints' better). Confusing? Yes, I am aware of that. My English is simply terrible. I really hope I can get some assistance of someone with a better proposal. If I have to explain it again, please let me know. Concerning the option name: I personally would choose for a name starting with 'hint' so that it is in the alphabetically sorted option documentation together with the other hint options.... regards, Ruud From maxauthority at vimperator.org Thu Nov 20 12:37:13 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Thu, 20 Nov 2008 21:37:13 +0100 Subject: [Vimperator] follow quick hints, patch In-Reply-To: References: <4921D03C.7080506@vimperator.org> <49229187.5030307@vimperator.org> <4924CFAB.9050408@vimperator.org> Message-ID: <4925CA79.8020009@vimperator.org> Thanks, I applied the patch now. I went for 'followhints', I just think that makes more sense. Congratulations, your first patch for Vimperator, I also added you to the AUTHORS file, hopefully you'd like to contribute more in future :) -- Martin From ted at tedpavlic.com Thu Nov 20 13:03:52 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 20 Nov 2008 16:03:52 -0500 Subject: [Vimperator] No hints in this frame? Message-ID: <4925D0B8.4010100@tedpavlic.com> When I go to this page: http://ees.elsevier.com/jtb/default.asp If I hit "f" the "home | main menu | submit paper | ..." links at the top of the page do not get marked as hints. However, the "Journal of Theoretical Biology" image does get a hint. Does this have something to do with the frames that they use? I've tried focusing on that frame (using ]f), but "f" still doesn't get those links. Thoughts? -- Ted P.S. I am using the latest Vimp CVS. -- Ted Pavlic From ye.xu.hdm at gmail.com Thu Nov 20 14:50:35 2008 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Thu, 20 Nov 2008 23:50:35 +0100 Subject: [Vimperator] No hints in this frame? In-Reply-To: <4925D0B8.4010100@tedpavlic.com> References: <4925D0B8.4010100@tedpavlic.com> Message-ID: I am not sure if vimperator has map html tag support. PS: the menu from that site is made of a whole big picture and then use map tag to hard code menu item postition (quite old style and maybe this site is created with dreamweaver or some other lame tools. not enough handcrafted :D ), On Thu, Nov 20, 2008 at 22:03, Ted Pavlic wrote: > When I go to this page: > > http://ees.elsevier.com/jtb/default.asp > > If I hit "f" the "home | main menu | submit paper | ..." links at the top of > the page do not get marked as hints. However, the "Journal of Theoretical > Biology" image does get a hint. > > Does this have something to do with the frames that they use? I've tried > focusing on that frame (using ]f), but "f" still doesn't get those links. > > Thoughts? -- > Ted > > P.S. > > I am using the latest Vimp CVS. > > -- > Ted Pavlic > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From ted at tedpavlic.com Thu Nov 20 16:57:38 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 20 Nov 2008 19:57:38 -0500 Subject: [Vimperator] No hints in this frame? In-Reply-To: References: <4925D0B8.4010100@tedpavlic.com> Message-ID: <49260782.1090606@tedpavlic.com> It was my impression that Vimp wasn't parsing the HTML; I assumed Vimp was just grabbing everything that Firefox marked as a link. Even if it's an image map, Firefox knows that different regions are clickable, and it changes my pointer as it hovers over them accordingly. It seems to me that Vimperator should have the ability to grab those links (image map or not). Maybe I'm incorrect? Thanks -- Ted Ye Xu wrote: > I am not sure if vimperator has map html tag support. > > PS: > the menu from that site is made of a whole big picture and then > use map tag to hard code menu item postition (quite old style and > maybe this site is created with dreamweaver or some other lame tools. > not enough handcrafted :D ), > > > On Thu, Nov 20, 2008 at 22:03, Ted Pavlic wrote: >> When I go to this page: >> >> http://ees.elsevier.com/jtb/default.asp -- Ted Pavlic From maglione.k at gmail.com Thu Nov 20 17:21:33 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 20 Nov 2008 20:21:33 -0500 Subject: [Vimperator] No hints in this frame? In-Reply-To: <49260782.1090606@tedpavlic.com> References: <4925D0B8.4010100@tedpavlic.com> <49260782.1090606@tedpavlic.com> Message-ID: On Thu, Nov 20, 2008 at 7:57 PM, Ted Pavlic wrote: > > It was my impression that Vimp wasn't parsing the HTML; I assumed Vimp was > just grabbing everything that Firefox marked as a link. > > Even if it's an image map, Firefox knows that different regions are > clickable, and it changes my pointer as it hovers over them accordingly. It > seems to me that Vimperator should have the ability to grab those links > (image map or not). Of course we don't parse HTML. We select DOM nodes based on the expression in 'hinttags'. The problem is that the code doesn't currently handle image maps. There's nothing magical at all about hint handling. We just outline the rectangles of clickable elements, and fake click events when one is selected. Image maps don't work that way. They require all sorts of special handling. That said, this is a known bug which no one seems to have any interest in fixing, but you should probably file a ticket, anyway. From maglione.k at gmail.com Thu Nov 20 17:21:33 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 20 Nov 2008 20:21:33 -0500 Subject: [Vimperator] No hints in this frame? In-Reply-To: <49260782.1090606@tedpavlic.com> References: <4925D0B8.4010100@tedpavlic.com> <49260782.1090606@tedpavlic.com> Message-ID: On Thu, Nov 20, 2008 at 7:57 PM, Ted Pavlic wrote: > > It was my impression that Vimp wasn't parsing the HTML; I assumed Vimp was > just grabbing everything that Firefox marked as a link. > > Even if it's an image map, Firefox knows that different regions are > clickable, and it changes my pointer as it hovers over them accordingly. It > seems to me that Vimperator should have the ability to grab those links > (image map or not). Of course we don't parse HTML. We select DOM nodes based on the expression in 'hinttags'. The problem is that the code doesn't currently handle image maps. There's nothing magical at all about hint handling. We just outline the rectangles of clickable elements, and fake click events when one is selected. Image maps don't work that way. They require all sorts of special handling. That said, this is a known bug which no one seems to have any interest in fixing, but you should probably file a ticket, anyway. From anekos at snca.net Thu Nov 20 18:47:17 2008 From: anekos at snca.net (anekos) Date: Fri, 21 Nov 2008 11:47:17 +0900 Subject: [Vimperator] bookmarks.get('filter') does not work Message-ID: Hi. I found a bug on CVS head. bookmarks.get('http') returns empty array. I wrote a patch. so please review and consider applying attached patch. -------------- next part -------------- A non-text attachment was scrubbed... Name: bookmarks-get.patch Type: application/octet-stream Size: 1767 bytes Desc: not available URL: From ervandew at gmail.com Thu Nov 20 20:47:24 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Thu, 20 Nov 2008 20:47:24 -0800 Subject: [Vimperator] setting previous context mark... the ' mark In-Reply-To: References: Message-ID: > Interesting. In that case, they can't be set because they haven't been > properly implemented yet. Aside from the obvious pieces included in my patch, what else needs to be addressed? I'd be happy to flush it out more, or to even start adding support for setting the ' mark automatically. I just figured I'd start with the lowest common denominator first, allowing the ' mark to be set. -- eric From ervandew at gmail.com Thu Nov 20 21:16:57 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Thu, 20 Nov 2008 21:16:57 -0800 Subject: [Vimperator] Restoring focus to current frame after leaving command line mode. Message-ID: I do a fair amount of java programming, and as such, I frequently find myself navigating javadoc web pages with the typical 3 frame layout. One minor annoyance is that once I change focus from the first frame to one of the other two, that focus is lost if I enter command line mode at any point, after which focus defaults back to the upper left most frame. In an attempt to solve this, I made a small patch which allows the commandline module to register a callback which is triggered upon completion of liberator.focusContent(). I'm not sure if this is the ideal approach, but after playing around with other solutions, it was the least obtrusive. I'm still finding my way around the vimperator source, so this patch may have some hidden corner cases. I'd appreciate any feedback or suggestions. -- eric -------------- next part -------------- A non-text attachment was scrubbed... Name: frame_focus_restore.patch Type: application/octet-stream Size: 2853 bytes Desc: not available URL: From ervandew at gmail.com Thu Nov 20 21:16:57 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Thu, 20 Nov 2008 21:16:57 -0800 Subject: [Vimperator] Restoring focus to current frame after leaving command line mode. Message-ID: I do a fair amount of java programming, and as such, I frequently find myself navigating javadoc web pages with the typical 3 frame layout. One minor annoyance is that once I change focus from the first frame to one of the other two, that focus is lost if I enter command line mode at any point, after which focus defaults back to the upper left most frame. In an attempt to solve this, I made a small patch which allows the commandline module to register a callback which is triggered upon completion of liberator.focusContent(). I'm not sure if this is the ideal approach, but after playing around with other solutions, it was the least obtrusive. I'm still finding my way around the vimperator source, so this patch may have some hidden corner cases. I'd appreciate any feedback or suggestions. -- eric -------------- next part -------------- A non-text attachment was scrubbed... Name: frame_focus_restore.patch Type: application/octet-stream Size: 2853 bytes Desc: not available URL: From maglione.k at gmail.com Thu Nov 20 22:42:56 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Fri, 21 Nov 2008 01:42:56 -0500 Subject: [Vimperator] Restoring focus to current frame after leaving command line mode. In-Reply-To: References: Message-ID: On Fri, Nov 21, 2008 at 12:16 AM, Eric Van Dewoestine wrote: > In an attempt to solve this, I made a small patch which allows the > commandline module to register a callback which is triggered upon > completion of liberator.focusContent(). I'm not sure if this is the > ideal approach, but after playing around with other solutions, it was > the least obtrusive. > > I'm still finding my way around the vimperator source, so this patch > may have some hidden corner cases. I'd appreciate any feedback or > suggestions. Hm. First suggestion, try to forget that you're a Java programmer. I fear you may be scarred for life. Well, honestly, I'm not the best person to give feedback or suggestions. I did fix this, and other related bugs. See that changeset for the only kind of feedback I'm really good at. That said, my only real comment is that I don't like the specificity of your patch. It shouldn't remember the last focused frame only when entering/leaving command line mode, and so the callback is really unnecessary. As for it being the least obtrusive method, well, that may be good in general, but not when it leads to special cases where a more general solution is in order. Anyway, thanks for the effort. I hope you'll contribute more in the future. From maxauthority at vimperator.org Thu Nov 20 23:49:19 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 21 Nov 2008 08:49:19 +0100 Subject: [Vimperator] bookmarks.get('filter') does not work In-Reply-To: References: Message-ID: <492667FF.5000201@vimperator.org> On 2008-11-21 03:47, anekos wrote: > Hi. > > I found a bug on CVS head. > bookmarks.get('http') returns empty array. Ah, a known bug for a few days, thanks for looking into it! > I wrote a patch. > so please review and consider applying attached patch. Hmm, when I woke up today, i cvs upped, and the bug seems to gone. I think Kris fixed it, do you see a need for the patch with the current CVS? -- Martin From anekos at snca.net Fri Nov 21 00:47:53 2008 From: anekos at snca.net (anekos) Date: Fri, 21 Nov 2008 17:47:53 +0900 Subject: [Vimperator] bookmarks.get('filter') does not work In-Reply-To: <492667FF.5000201@vimperator.org> References: <492667FF.5000201@vimperator.org> Message-ID: > do you see a need for the patch with the current CVS? Yes. I re-tested on this version. -> http://hg.intevation.org/mirrors/mozdev.org/vimperator-cvs/rev/7e4f280c0e60 when first argument is "", it seems no problem. bookmarks.get("").length => 1105 but when first argument is "http", It's strange clealy. bookmarks.get("http").length => 0 !! in filterURLArray: var url = elem[0] || ""; var title = elem[1] || ""; var tags = elem.tags || elem[3] || []; in loadBookmark: return bookmarks.push({ url: node.uri, title: node.title, get icon() getFavicon(node.uri), keyword: keyword, tags: tags, id: node.itemId}); elem[0|1|3] is undefined, because items of bookmarks are not Struct. From amolj.1306 at gmail.com Fri Nov 21 01:57:50 2008 From: amolj.1306 at gmail.com (Amol Jadhav) Date: Fri, 21 Nov 2008 15:27:50 +0530 Subject: [Vimperator] command line Message-ID: <76eccaa60811210157y6b672fcfuc8ad522a8cfb1f93@mail.gmail.com> Hi, Do we need the command line (I don't know what 'command line' is reffered by, please correct if anyone have any esoteric name) every time visible on the bottom? . I don't think so, it shows the 1. command you have entered 2. in which mode Vimperator is running (INSERT, CARET, etc). 3. nothing (most of the time) for #1 it is ok, #2 can be shown on the when approriate or on the strip above it and for #3 we don't need it. Can this be hidden so that we get even more area for Web page that we are browsing? Just like google Chorme. Thanks, Amol -------------- next part -------------- An HTML attachment was scrubbed... URL: From maxauthority at vimperator.org Fri Nov 21 04:48:37 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 21 Nov 2008 13:48:37 +0100 Subject: [Vimperator] bookmarks.get('filter') does not work In-Reply-To: References: <492667FF.5000201@vimperator.org> Message-ID: <4926AE25.9010001@vimperator.org> Oh, stupid me. It worked for me, because when using completions first, it sets the [0] and [1] properties on the bookmark object for backwards compatibililty (will be removed at some time). I applied your patch, nice work, hope to see more from you :) -- Martin On 2008-11-21 09:47, anekos wrote: >> do you see a need for the patch with the current CVS? > Yes. > I re-tested on this version. > -> http://hg.intevation.org/mirrors/mozdev.org/vimperator-cvs/rev/7e4f280c0e60 > > when first argument is "", it seems no problem. > bookmarks.get("").length => 1105 > > but when first argument is "http", It's strange clealy. > bookmarks.get("http").length => 0 !! > > > in filterURLArray: > var url = elem[0] || ""; > var title = elem[1] || ""; > var tags = elem.tags || elem[3] || []; > in loadBookmark: > return bookmarks.push({ url: node.uri, title: node.title, get icon() > getFavicon(node.uri), keyword: keyword, tags: tags, id: node.itemId}); > > elem[0|1|3] is undefined, because items of bookmarks are not Struct. > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator From amolj.1306 at gmail.com Fri Nov 21 05:47:25 2008 From: amolj.1306 at gmail.com (Amol Jadhav) Date: Fri, 21 Nov 2008 19:17:25 +0530 Subject: [Vimperator] Input boxes In-Reply-To: <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> Message-ID: <76eccaa60811210547s77d2969cu7e67f85136765ae9@mail.gmail.com> How can I one a message using feedSomekeys [fsk]? fsk are not working for google reader. On Tue, Nov 18, 2008 at 9:16 PM, M. Terada wrote: > > Thank's? your ? feedSomekeys ? work great? > > Why the plugins are not on the web-site ? > > feedSomeKeys_2.js and feedSomeKeys.js are already on the site of > coderepos.org :) > > please see and search > http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk > (for 2.0pre) > > http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/tags/1.2pre > (for 1.2pre) > > Best regards. > --- > teramako > http://d.hatena.ne.jp/teramako/ > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -------------- next part -------------- An HTML attachment was scrubbed... URL: From amolj.1306 at gmail.com Fri Nov 21 05:48:12 2008 From: amolj.1306 at gmail.com (Amol Jadhav) Date: Fri, 21 Nov 2008 19:18:12 +0530 Subject: [Vimperator] Input boxes In-Reply-To: <76eccaa60811210547s77d2969cu7e67f85136765ae9@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> <76eccaa60811210547s77d2969cu7e67f85136765ae9@mail.gmail.com> Message-ID: <76eccaa60811210548v65116c37r43e696a8ed1ffb09@mail.gmail.com> Sorry for typo... How can I open a message using feedSomekeys [fsk]? fsk are not working for google reader. On Fri, Nov 21, 2008 at 7:17 PM, Amol Jadhav wrote: > How can I one a message using feedSomekeys [fsk]? fsk are not working for > google reader. > > > On Tue, Nov 18, 2008 at 9:16 PM, M. Terada wrote: > >> > Thank's? your ? feedSomekeys ? work great? >> > Why the plugins are not on the web-site ? >> >> feedSomeKeys_2.js and feedSomeKeys.js are already on the site of >> coderepos.org :) >> >> please see and search >> >> http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk >> (for 2.0pre) >> >> http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/tags/1.2pre >> (for 1.2pre) >> >> Best regards. >> --- >> teramako >> http://d.hatena.ne.jp/teramako/ >> _______________________________________________ >> Vimperator mailing list >> Vimperator at mozdev.org >> https://www.mozdev.org/mailman/listinfo/vimperator >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ted at tedpavlic.com Fri Nov 21 06:04:57 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Fri, 21 Nov 2008 09:04:57 -0500 Subject: [Vimperator] No hints in this frame? In-Reply-To: References: <4925D0B8.4010100@tedpavlic.com> <49260782.1090606@tedpavlic.com> Message-ID: <4926C009.1070007@tedpavlic.com> OK. Ticketed: http://vimperator.org/trac/ticket/53 Thanks -- Ted > That said, this is a known bug which no one seems to have any interest > in fixing, but you should probably file a ticket, anyway. -- Ted Pavlic From teramako at gmail.com Fri Nov 21 06:10:28 2008 From: teramako at gmail.com (M.Terada) Date: Fri, 21 Nov 2008 23:10:28 +0900 Subject: [Vimperator] Input boxes In-Reply-To: <76eccaa60811210548v65116c37r43e696a8ed1ffb09@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> <76eccaa60811210547s77d2969cu7e67f85136765ae9@mail.gmail.com> <76eccaa60811210548v65116c37r43e696a8ed1ffb09@mail.gmail.com> Message-ID: <6eebba490811210610q2da4b0a7k5c271fcf21e33cc8@mail.gmail.com> > How can I open a message using feedSomekeys [fsk]? fsk are not working for > google reader. Does [fsk] mean that f : go to friend, s: toggle star k: item up ? Please tell me your setting. Best regards --- teramako http://d.hatena.ne.jp/teramako/ From amolj.1306 at gmail.com Fri Nov 21 06:17:17 2008 From: amolj.1306 at gmail.com (Amol Jadhav) Date: Fri, 21 Nov 2008 19:47:17 +0530 Subject: [Vimperator] Input boxes In-Reply-To: <6eebba490811210610q2da4b0a7k5c271fcf21e33cc8@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> <76eccaa60811210547s77d2969cu7e67f85136765ae9@mail.gmail.com> <76eccaa60811210548v65116c37r43e696a8ed1ffb09@mail.gmail.com> <6eebba490811210610q2da4b0a7k5c271fcf21e33cc8@mail.gmail.com> Message-ID: <76eccaa60811210617v2461ebdcr54830395ab1ebb65@mail.gmail.com> > > Does [fsk] mean that > f : go to friend, > s: toggle star > k: item up > ? :-) Please tell me your setting. I'm using FF 3.0.4 and Vimperator 1.2. I have downloaded and installed both feedSomeKeys.js and feedSomeKeys2.js -- Amol -------------- next part -------------- An HTML attachment was scrubbed... URL: From teramako at gmail.com Fri Nov 21 06:53:59 2008 From: teramako at gmail.com (M.Terada) Date: Fri, 21 Nov 2008 23:53:59 +0900 Subject: [Vimperator] Input boxes In-Reply-To: <76eccaa60811210617v2461ebdcr54830395ab1ebb65@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <49227A71.6000206@vimperator.org> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> <76eccaa60811210547s77d2969cu7e67f85136765ae9@mail.gmail.com> <76eccaa60811210548v65116c37r43e696a8ed1ffb09@mail.gmail.com> <6eebba490811210610q2da4b0a7k5c271fcf21e33cc8@mail.gmail.com> <76eccaa60811210617v2461ebdcr54830395ab1ebb65@mail.gmail.com> Message-ID: <6eebba490811210653l2ef1a392vd76da94132d2fcb7@mail.gmail.com> > I'm using FF 3.0.4 and Vimperator 1.2. I have downloaded and installed both > feedSomeKeys.js and feedSomeKeys2.js Don't install both files. Mybe these conflict. Please use only eedSomeKeys_2.js which is easier than feedSomeKeys.js and see the document on http://vimperator.org/trac/ticket/48 and write the followiing into ~/.vimperatorrc ----- autocmd LocationChange .* :fmapc autocmd LocationChange ^http://www\.google\.com/reader/ :fmap! -vkey v j k n p m s t v A r S N P X J K O gf gh ga gs gt gu u / ? ---- This means that at first, clear maps at every time location changed second, set feedmaps following key list with virtual-key mode when the location is matched ^http://www\.google\.com/reader/ ---- teramako http://d.hatena.ne.jp/teramako/ From amolj.1306 at gmail.com Fri Nov 21 07:18:22 2008 From: amolj.1306 at gmail.com (Amol Jadhav) Date: Fri, 21 Nov 2008 20:48:22 +0530 Subject: [Vimperator] Input boxes In-Reply-To: <6eebba490811210653l2ef1a392vd76da94132d2fcb7@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <5c2c86e70811180048n62b56c9cle19723d39c51c600@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> <76eccaa60811210547s77d2969cu7e67f85136765ae9@mail.gmail.com> <76eccaa60811210548v65116c37r43e696a8ed1ffb09@mail.gmail.com> <6eebba490811210610q2da4b0a7k5c271fcf21e33cc8@mail.gmail.com> <76eccaa60811210617v2461ebdcr54830395ab1ebb65@mail.gmail.com> <6eebba490811210653l2ef1a392vd76da94132d2fcb7@mail.gmail.com> Message-ID: <76eccaa60811210718t60897aeelaf157d1cf3818700@mail.gmail.com> I tried to :feedmap and :feedmap -vkey one by one to open a mail using either or + but non solved my problem On Fri, Nov 21, 2008 at 8:23 PM, M. Terada wrote: > > I'm using FF 3.0.4 and Vimperator 1.2. I have downloaded and installed > both > > feedSomeKeys.js and feedSomeKeys2.js > > Don't install both files. Mybe these conflict. > Please use only eedSomeKeys_2.js which is easier than feedSomeKeys.js > > and see the document on http://vimperator.org/trac/ticket/48 > and write the followiing into ~/.vimperatorrc > ----- > autocmd LocationChange .* :fmapc > autocmd LocationChange ^http://www\.google\.com/reader/ :fmap! -vkey v > j k n p m s t v A r S N P X J K O gf gh ga gs gt gu u / ? > ---- > This means that > at first, clear maps at every time location changed > second, set feedmaps following key list with virtual-key mode when the > location is matched ^http://www\.google\.com/reader/ > > > ---- > teramako > http://d.hatena.ne.jp/teramako/ > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ervandew at gmail.com Fri Nov 21 07:27:53 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Fri, 21 Nov 2008 07:27:53 -0800 Subject: [Vimperator] Restoring focus to current frame after leaving command line mode. In-Reply-To: References: Message-ID: > Hm. First suggestion, try to forget that you're a Java programmer. I > fear you may be scarred for life. My current day job is all python, so the scars are fading fast. > Well, honestly, I'm not the best person to give feedback or > suggestions. I did fix this, and other related bugs. See that > changeset for the only kind of feedback I'm really good at. Just tried out the latest head and it works like a champ. Now I should be able to submit my wincmd plugin later today. I'll have to take a look at the changes you made when I get a chance. -- eric From nemolivier at gmail.com Fri Nov 21 07:54:28 2008 From: nemolivier at gmail.com (=?UTF-8?Q?Olivier_Gu=C3=A9ry?=) Date: Fri, 21 Nov 2008 16:54:28 +0100 Subject: [Vimperator] Input boxes In-Reply-To: <76eccaa60811210718t60897aeelaf157d1cf3818700@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <6eebba490811180333y7fc0d290na639f30d39ecf249@mail.gmail.com> <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> <76eccaa60811210547s77d2969cu7e67f85136765ae9@mail.gmail.com> <76eccaa60811210548v65116c37r43e696a8ed1ffb09@mail.gmail.com> <6eebba490811210610q2da4b0a7k5c271fcf21e33cc8@mail.gmail.com> <76eccaa60811210617v2461ebdcr54830395ab1ebb65@mail.gmail.com> <6eebba490811210653l2ef1a392vd76da94132d2fcb7@mail.gmail.com> <76eccaa60811210718t60897aeelaf157d1cf3818700@mail.gmail.com> Message-ID: <5c2c86e70811210754i6b16623fs518b33dedfbccca2@mail.gmail.com> 2008/11/21 Amol Jadhav : > I tried to :feedmap and :feedmap -vkey one by one to open a > mail using either or + but non solved my problem > > On Fri, Nov 21, 2008 at 8:23 PM, M. Terada wrote: >> >> > I'm using FF 3.0.4 and Vimperator 1.2. I have downloaded and installed >> > both >> > feedSomeKeys.js and feedSomeKeys2.js >> >> Don't install both files. Mybe these conflict. >> Please use only eedSomeKeys_2.js which is easier than feedSomeKeys.js >> >> and see the document on http://vimperator.org/trac/ticket/48 >> and write the followiing into ~/.vimperatorrc >> ----- >> autocmd LocationChange .* :fmapc >> autocmd LocationChange ^http://www\.google\.com/reader/ :fmap! -vkey v >> j k n p m s t v A r S N P X J K O gf gh ga gs gt gu u / ? I still can't get it to work with gmail? can it be linked to the fact that gmail use https ? I use this in my vimperatorrc : :autocmd LocationChange .* :fmapc :autocmd LocationChange mail\\.google\\.com/mail :fmap -depth 4 c / j k n p o u e x s r a # [ ] z ? gi gs gt gd ga gc Olivier -- [Message tap? sur un clavier B?po : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com From disperse.recording at gmail.com Fri Nov 21 07:13:21 2008 From: disperse.recording at gmail.com (Mark McKnight) Date: Fri, 21 Nov 2008 10:13:21 -0500 Subject: [Vimperator] Vimperator 1.2 and Pass Through Mode Issues In Gmail Message-ID: I have my _vimperatorrc set with the following line to automatically go into Pass Through Mode for gmail: autocmd LocationChange .* :js modes.passAllKeys=/mail\.google\.com/.test(buffer.URL) I also have the problem where the focus doesn't seem to be on my mail list for navigating with Gmail's keyboard shortcuts. My workaround is to hit the "Tab" key whenever I reach the Gmail page, this changes the focus to the mail list and the shortcut keys (j, k, x, e, o, etc.) work again. I often need to hit the Tab key again after sending a new mail message or returning (g i) to the inbox. Hope that helps, Mark. -------------- next part -------------- An HTML attachment was scrubbed... URL: From maxauthority at vimperator.org Fri Nov 21 07:46:02 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 21 Nov 2008 16:46:02 +0100 Subject: [Vimperator] Restoring focus to current frame after leaving command line mode. In-Reply-To: References: Message-ID: <4926D7BA.1040906@vimperator.org> On 2008-11-21 16:27, Eric Van Dewoestine wrote: > Just tried out the latest head and it works like a champ. Now I > should be able to submit my wincmd plugin later today. Hu? :wincmd? Isn't that just useful with split windows? > I'll have to take a look at the changes you made when I get a chance. It will probably please you, if you are a rather functional-style python programmer. If not, it's sometimes hard to read lines like: return cacheResults[key] = this[method].apply(this, [cacheResults[key], filter].concat(Array.slice(arguments, 4))); :) -- Marin PS: No offense to Kris, I mostly like his coding (the new modes.js file e.g. is much nicer now!), it's just hard for me to read certain lines where the words flatten/concat/slice appear at least 2 times on a line, preferably with one-letter variables :) PPS: isn't apply(this, ...) the same as call(), which is again the same as: this[method](...) which would be much more readable? PPPS: I'll try to use named objects rather than unnamed arrays for certain things like completions objects, this should make the code even more readable in many cases. From teramako at gmail.com Fri Nov 21 08:40:41 2008 From: teramako at gmail.com (M.Terada) Date: Sat, 22 Nov 2008 01:40:41 +0900 Subject: [Vimperator] Input boxes In-Reply-To: <5c2c86e70811210754i6b16623fs518b33dedfbccca2@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <5c2c86e70811180548s33c1d274m95f21ac8b5a52d1f@mail.gmail.com> <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> <76eccaa60811210547s77d2969cu7e67f85136765ae9@mail.gmail.com> <76eccaa60811210548v65116c37r43e696a8ed1ffb09@mail.gmail.com> <6eebba490811210610q2da4b0a7k5c271fcf21e33cc8@mail.gmail.com> <76eccaa60811210617v2461ebdcr54830395ab1ebb65@mail.gmail.com> <6eebba490811210653l2ef1a392vd76da94132d2fcb7@mail.gmail.com> <76eccaa60811210718t60897aeelaf157d1cf3818700@mail.gmail.com> <5c2c86e70811210754i6b16623fs518b33dedfbccca2@mail.gmail.com> Message-ID: <6eebba490811210840u62c90632p6447262aebe571ec@mail.gmail.com> 2008/11/21 Amol Jadhav : > I tried to :feedmap and :feedmap -vkey one by one to open a > mail using either or + but non solved my problem Oh sorry, this is a bug, cannot use at now and vimperator has this bug too. On Sat, Nov 22, 2008 at 12:54 AM, Olivier Gu?ry wrote: > I still can't get it to work with gmail? can it be linked to the fact > that gmail use https ? > I use this in my vimperatorrc : > > :autocmd LocationChange .* :fmapc > :autocmd LocationChange mail\\.google\\.com/mail :fmap -depth 4 c / j > k n p o u e x s r a # [ ] z ? gi gs gt gd ga gc Here is my setting ------- autocmd LocationChange .* :fmapc autocmd LocationChange ^https?://mail\\.google\\.com/mail :fmap! -d 4 c / y j k n p o u e x s r a # [ ] z ? gi gs gt gd ga gc autocmd LocationChange ^http://www\\.google\\.com/reader/ :fmap! -vkey J K O v j k n p m s t v A r S N P X gf gh ga gs gt gu u / ? ------- This works well in my environment :) Vimperator 2.0pre (created: 2008/11/22 00:23:54) running on: Mozilla/5.0 (X11; U; Linux i686; ja; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 I don't know why your setting doesn't work ...it seems to be good teramako http://d.hatena.ne.jp/teramako/ From ervandew at gmail.com Fri Nov 21 08:43:35 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Fri, 21 Nov 2008 08:43:35 -0800 Subject: [Vimperator] Restoring focus to current frame after leaving command line mode. In-Reply-To: <4926D7BA.1040906@vimperator.org> References: <4926D7BA.1040906@vimperator.org> Message-ID: > Hu? :wincmd? Isn't that just useful with split windows? It's actually very useful for navigating frames. I've always found [f and ]f awkward for moving around frames since it navigates based on the order that the frames are defined rather than allowing me to navigate based on the display. For instance, when on a javadoc page[1], navigating to the "classFrame" with ]f involves "]f]f]f", after each one watching to see which frame vimperator chose as the next one to focus. Obviously, you can shorten the above to "3]f", but to get the 3 in this instance, I need to either be familiar with the frame ordering on the page I'm visiting or stop and think about how the frames are defined, both of which potentially slow down my navigation of the page. On the other hand, having wincmd functionality for frames feels very natural after years of vim usage. To focus the "classFrame" on a javadoc page comes instinctively as "l". I have thought about the potential confusion, should split windows become common in vimperator (I believe there is a vimperator plugin which integrates with a firefox addon to provide this). To solve that I may just update the plugin later to check for split windows and attempt to treat them like frames, and to potentially add more "" commands for resizing, moving, etc. [1] http://java.sun.com/j2se/1.5.0/docs/api/index.html -- eric From maglione.k at gmail.com Fri Nov 21 08:56:40 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Fri, 21 Nov 2008 11:56:40 -0500 Subject: [Vimperator] Restoring focus to current frame after leaving command line mode. In-Reply-To: <4926D7BA.1040906@vimperator.org> References: <4926D7BA.1040906@vimperator.org> Message-ID: On Fri, Nov 21, 2008 at 10:46 AM, Martin Stubenschrott wrote: > PS: No offense to Kris, I mostly like his coding (the new modes.js file e.g. is much nicer now!), it's just > hard for me to read certain lines where the words flatten/concat/slice appear at least 2 times on a line, > preferably with one-letter variables :) Yeah... I'm working on that... > PPS: isn't apply(this, ...) the same as call(), which is again the same as: > this[method](...) which would be much more readable? Well, yes, except that it takes an array to transform into the argument list, which is necessary there because it concats the extra arguments to the two default arguments. From nemolivier at gmail.com Sat Nov 22 00:12:20 2008 From: nemolivier at gmail.com (=?UTF-8?Q?Olivier_Gu=C3=A9ry?=) Date: Sat, 22 Nov 2008 09:12:20 +0100 Subject: [Vimperator] Input boxes In-Reply-To: <6eebba490811210840u62c90632p6447262aebe571ec@mail.gmail.com> References: <76eccaa60811172027i64eb0bbeqb87fd79625bf668d@mail.gmail.com> <6eebba490811180746j655ed43dia20a4c06d7417611@mail.gmail.com> <76eccaa60811210547s77d2969cu7e67f85136765ae9@mail.gmail.com> <76eccaa60811210548v65116c37r43e696a8ed1ffb09@mail.gmail.com> <6eebba490811210610q2da4b0a7k5c271fcf21e33cc8@mail.gmail.com> <76eccaa60811210617v2461ebdcr54830395ab1ebb65@mail.gmail.com> <6eebba490811210653l2ef1a392vd76da94132d2fcb7@mail.gmail.com> <76eccaa60811210718t60897aeelaf157d1cf3818700@mail.gmail.com> <5c2c86e70811210754i6b16623fs518b33dedfbccca2@mail.gmail.com> <6eebba490811210840u62c90632p6447262aebe571ec@mail.gmail.com> Message-ID: <5c2c86e70811220012x5a0a99b4u9e4b93ba568f457d@mail.gmail.com> 2008/11/21 M. Terada : > 2008/11/21 Amol Jadhav : >> I tried to :feedmap and :feedmap -vkey one by one to open a >> mail using either or + but non solved my problem > Oh sorry, this is a bug, cannot use at now > and vimperator has this bug too. > > > On Sat, Nov 22, 2008 at 12:54 AM, Olivier Gu?ry wrote: >> I still can't get it to work with gmail? can it be linked to the fact >> that gmail use https ? >> I use this in my vimperatorrc : >> >> :autocmd LocationChange .* :fmapc >> :autocmd LocationChange mail\\.google\\.com/mail :fmap -depth 4 c / j >> k n p o u e x s r a # [ ] z ? gi gs gt gd ga gc > Here is my setting > ------- > autocmd LocationChange .* :fmapc > autocmd LocationChange ^https?://mail\\.google\\.com/mail :fmap! -d 4 > c / y j k n p o u e x s r a # [ ] z ? gi gs gt gd ga gc > autocmd LocationChange ^http://www\\.google\\.com/reader/ :fmap! -vkey > J K O v j k n p m s t v A r S N P X gf gh ga gs gt gu u / ? > ------- > This works well in my environment :) > > Vimperator 2.0pre (created: 2008/11/22 00:23:54) running on: > Mozilla/5.0 (X11; U; Linux i686; ja; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 > > I don't know why your setting doesn't work ...it seems to be good I copy/paste your code it seems better. Maybe the problems was that I put ? autocmd LocationChange .* :fmapc ? a second time before the gmail part ? Thank's a lot. This solution is definitly the best for me, using gmail/reader. Can't it be a patch in the official code ? Regards, Olivier. -- [Message tap? sur un clavier B?po : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com From dotancohen at gmail.com Sat Nov 22 00:46:40 2008 From: dotancohen at gmail.com (Dotan Cohen) Date: Sat, 22 Nov 2008 10:46:40 +0200 Subject: [Vimperator] Keyboard shortcuts questions Message-ID: <880dece00811220046t77b4c12fob3c1b1790161a3a9@mail.gmail.com> I have found a bug in my hebrew.vimp script so I am trying to improve it. 1) Does the apostrophe key (') have a shortcut in Vimperator? It doesn't seem to have one, and I cannot find it in TFM, however I thought that it was a form of search (it is in regular Firefox, at least). 2) These other keys I cannot find shortcuts for, but I want to be sure before I reassign them (yes, they are in different places on the Hebrew keyboard): semicolon (;) comma (,) period (.) angled brackets (< and >) tick (`). As a side note, I have added some UTF-8 characters to my .sig to help me identify encoding problems. So if you have access to non-UTF-8 systems I would really appreciate if you would simply reply to this message with the 'wrong' encoding so that I can receive the gibberish that results. Thanks! Dotan Cohen http://what-is-what.com http://gibberish.co.il ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-??-?-? ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-? From dougkearns at gmail.com Sat Nov 22 01:02:55 2008 From: dougkearns at gmail.com (Doug Kearns) Date: Sat, 22 Nov 2008 20:02:55 +1100 Subject: [Vimperator] Keyboard shortcuts questions In-Reply-To: <880dece00811220046t77b4c12fob3c1b1790161a3a9@mail.gmail.com> References: <880dece00811220046t77b4c12fob3c1b1790161a3a9@mail.gmail.com> Message-ID: <644fc65e0811220102k19d76915xba3c860dd3885be3@mail.gmail.com> On 11/22/08, Dotan Cohen wrote: > I have found a bug in my hebrew.vimp script so I am trying to improve it. > > 1) Does the apostrophe key (') have a shortcut in Vimperator? It > doesn't seem to have one, and I cannot find it in TFM, however I > thought that it was a form of search (it is in regular Firefox, at > least). ' is used for jumping to local marks. :help ' didn't take you to the appropriate section? > 2) These other keys I cannot find shortcuts for, but I want to be sure > before I reassign them (yes, they are in different places on the > Hebrew keyboard): semicolon (;) comma (,) period (.) angled brackets > (< and >) tick (`). ` is currently the same as ' The others are unlikely to be used by default anytime soon. Regards, Doug From dotancohen at gmail.com Sat Nov 22 01:21:39 2008 From: dotancohen at gmail.com (Dotan Cohen) Date: Sat, 22 Nov 2008 11:21:39 +0200 Subject: [Vimperator] Keyboard shortcuts questions In-Reply-To: <644fc65e0811220102k19d76915xba3c860dd3885be3@mail.gmail.com> References: <880dece00811220046t77b4c12fob3c1b1790161a3a9@mail.gmail.com> <644fc65e0811220102k19d76915xba3c860dd3885be3@mail.gmail.com> Message-ID: <880dece00811220121g78a206cai105b4b211e2173cf@mail.gmail.com> 2008/11/22 Doug Kearns : > ' is used for jumping to local marks. > > :help ' didn't take you to the appropriate section? > I did no realize that was possible! It certainly would have saved me a post. Thanks! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-??-?-? ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-? From stanio at cs.tu-berlin.de Sat Nov 22 07:35:30 2008 From: stanio at cs.tu-berlin.de (Stanimir Dragiev) Date: Sat, 22 Nov 2008 16:35:30 +0100 Subject: [Vimperator] camel case In-Reply-To: <20080926180201.GA6138@laptop> References: <20080926143035.GA14040@bruja.cs.tu-berlin.de> <20080926180201.GA6138@laptop> Message-ID: <20081122153530.GA4999@fiesta.cs.tu-berlin.de> Hi, It's a pretty old thread, but still relevant for me * Daniel Trstenjak [2008-09-26 21:02]: > With the current hintmatcher that's not possible. > What about writing a 'camelcasestartswith' hintmatcher? :) The problem ----------- The idea of camel case words is that you interpret them as multiple words. When you use the `wordstartswith` matcher this becomes a problem. Because words are separated according to a list of separator characters, which contain e.g. space, underscore, colon, etc. Well, CamelCaseWords do not contain separators. And if you expect by typing _fccw_ to match the capital letters in _CamelCaseWord_, you either fail to select anything, or most probably select something else, possibly with hazardous results (e.g. _click to close window_). Clearly, for the `wordstartswith` matcher I need mechanism to split camel case words. But I think, the interpretation of camel case words as separate words is pretty common, thus, all matching strategy can make use of such splitting mechanism. The solution ------------ Couple of days ago I took a look at the `hint.js` module in the Vimperator sources and spent some time reasoning how can I add support for splitting _camelCase_ into _camel Case_ before the matcher does his work, in order to be able to use matchers' full power on the separated words too. I came up with a couple of lines patch. Surprisingly simple. You can find it attached to this message. I think, it is a good practice to have single place to convert the link text to lower case. Immediately before doing this we can split the camel case words if the user has set the option. Hope this helps others too. -- cheers stanio_ -------------- next part -------------- diff --git a/content/hints.js b/content/hints.js index cd6225f..7add66b 100644 --- a/content/hints.js +++ b/content/hints.js @@ -138,22 +138,27 @@ function Hints() //{{{ // TODO: mozilla docs recommend localName instead of tagName tagname = elem.tagName.toLowerCase(); if (tagname == "input" || tagname == "textarea") - text = elem.value.toLowerCase(); + text = elem.value; else if (tagname == "select") { if (elem.selectedIndex >= 0) - text = elem.item(elem.selectedIndex).text.toLowerCase(); + text = elem.item(elem.selectedIndex).text; else text = ""; } else - text = elem.textContent.toLowerCase(); + text = elem.textContent; span = baseNodeAbsolute.cloneNode(true); span.style.left = (rect.left + scrollX) + "px"; span.style.top = (rect.top + scrollY) + "px"; fragment.appendChild(span); + if (options["camelmatching"]) + { + text = text.replace(/([a-z])([A-Z])/g, "$1 $2"); + } + text = text.toLowerCase(); pageHints.push([elem, text, span, null, elem.style.backgroundColor, elem.style.color]); } @@ -587,6 +592,10 @@ function Hints() //{{{ validator: function (value) /^(contains|wordstartswith|firstletters|custom)$/.test(value) }); + options.add(["camelmatching", "cam"], + "Whether to consider capital letters in the middle of word as word start.", + "boolean", true); + options.add(["wordseparators", "wsp"], "How words are split for hintmatching", "string", '[.,!?:;/"^$%&?()[\\]{}<>#*+|=~ _-]'); diff --git a/locale/en-US/options.txt b/locale/en-US/options.txt index d29ccec..133ade2 100644 --- a/locale/en-US/options.txt +++ b/locale/en-US/options.txt @@ -357,6 +357,13 @@ Change the hint matching algorithm during hint mode. Possible values: ____ +|\'cam'| |\'camelmatching'| |\'nocam'| |\'nocamelmatching'| +||'camelmatching'|| boolean (default: on) +____ +When using the matching algorithm, consider the parts of a camel cased word as separate words (e.g. "FourCamelCaseWords" is considered equal to "Four Camel Case Words") +____ + + |\'fh'| |\'followhints'| ||'followhints' 'fh'|| number (default: 0) ____ From maglione.k at gmail.com Sat Nov 22 13:10:08 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sat, 22 Nov 2008 16:10:08 -0500 Subject: [Vimperator] camel case In-Reply-To: <20081122153530.GA4999@fiesta.cs.tu-berlin.de> References: <20080926143035.GA14040@bruja.cs.tu-berlin.de> <20080926180201.GA6138@laptop> <20081122153530.GA4999@fiesta.cs.tu-berlin.de> Message-ID: It's not necessary. Just add (?=[A-Z]) to 'wordseparators'. From benisty.e at gmail.com Sun Nov 23 06:14:06 2008 From: benisty.e at gmail.com (Emmanuel Benisty) Date: Sun, 23 Nov 2008 21:14:06 +0700 Subject: [Vimperator] Permanent Hint mode Message-ID: Hi list, In the past, there was a permanent Hint mode (activated with ;F) but I can't figure out how to use it anymore with the latest nightly (I was using a build from Oct 20 before that). Could anyone please show me the light? TIA From dougkearns at gmail.com Sun Nov 23 06:53:30 2008 From: dougkearns at gmail.com (Doug Kearns) Date: Mon, 24 Nov 2008 01:53:30 +1100 Subject: [Vimperator] Permanent Hint mode In-Reply-To: References: Message-ID: <644fc65e0811230653y61095ff1ve7c0d79c43a00683@mail.gmail.com> On Mon, Nov 24, 2008 at 1:14 AM, Emmanuel Benisty wrote: > Hi list, > > In the past, there was a permanent Hint mode (activated with ;F) but I > can't figure out how to use it anymore with the latest nightly (I was > using a build from Oct 20 before that). Could anyone please show me > the light? I believe that feature has been extinguished...so there is only darkness. Doug From benisty.e at gmail.com Sun Nov 23 07:10:09 2008 From: benisty.e at gmail.com (Emmanuel Benisty) Date: Sun, 23 Nov 2008 22:10:09 +0700 Subject: [Vimperator] Permanent Hint mode In-Reply-To: <644fc65e0811230653y61095ff1ve7c0d79c43a00683@mail.gmail.com> References: <644fc65e0811230653y61095ff1ve7c0d79c43a00683@mail.gmail.com> Message-ID: > I believe that feature has been extinguished...so there is only darkness. Thanks for your reply Doug (even if it's a sad one :) ). That was a nice feature, especially when browsing forums... Cheers From Daniel.Trstenjak at online.de Sun Nov 23 10:28:19 2008 From: Daniel.Trstenjak at online.de (Daniel Trstenjak) Date: Sun, 23 Nov 2008 19:28:19 +0100 Subject: [Vimperator] camel case In-Reply-To: References: <20080926143035.GA14040@bruja.cs.tu-berlin.de> <20080926180201.GA6138@laptop> <20081122153530.GA4999@fiesta.cs.tu-berlin.de> Message-ID: <20081123182819.GC6112@laptop> Hi Kris, On Sat, Nov 22, 2008 at 04:10:08PM -0500, Kris Maglione wrote: > It's not necessary. Just add (?=[A-Z]) to 'wordseparators'. No, because the word separators are removed by the splitting. Greetings, Daniel From ted at tedpavlic.com Sun Nov 23 11:02:29 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sun, 23 Nov 2008 14:02:29 -0500 Subject: [Vimperator] Minefield crashing after git "search keyword completion" changeset Message-ID: <4929A8C5.70306@tedpavlic.com> Has anyone noticed that Minefield(/Firefox) crashes soon after startup after applying the latest update: "Turn search keyword completion back on" ? When I have this Vimp changeset applied and start Minefield, soon after I click on a tab or the background or try to type something, Minefield stalls and then dies. When I go back one changeset (to "Speed up completions. Fix Structcommands..."), then everything works fine. --Ted -- Ted Pavlic From maglione.k at gmail.com Sun Nov 23 12:10:32 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sun, 23 Nov 2008 15:10:32 -0500 Subject: [Vimperator] camel case In-Reply-To: <20081123182819.GC6112@laptop> References: <20080926143035.GA14040@bruja.cs.tu-berlin.de> <20080926180201.GA6138@laptop> <20081122153530.GA4999@fiesta.cs.tu-berlin.de> <20081123182819.GC6112@laptop> Message-ID: On Sun, Nov 23, 2008 at 1:28 PM, Daniel Trstenjak wrote: > No, because the word separators are removed by the splitting. That's true, but (?=) is a zero-width assertion. From maglione.k at gmail.com Sun Nov 23 15:45:08 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sun, 23 Nov 2008 18:45:08 -0500 Subject: [Vimperator] Minefield crashing after git "search keyword completion" changeset In-Reply-To: <4929A8C5.70306@tedpavlic.com> References: <4929A8C5.70306@tedpavlic.com> Message-ID: On Sun, Nov 23, 2008 at 2:02 PM, Ted Pavlic wrote: > Has anyone noticed that Minefield(/Firefox) crashes soon after startup after > applying the latest update: > > "Turn search keyword completion back on" > > ? When I have this Vimp changeset applied and start Minefield, soon after I > click on a tab or the background or try to type something, Minefield stalls > and then dies. > > When I go back one changeset (to "Speed up completions. Fix > Structcommands..."), then everything works fine. That's strange. That changeset shouldn't have affected startup in the least. The only place time should possibly see problems is during completion. It works fine for me. P.S., Can you please state the FF version, rather than its code name in the future? Thanks. From ted at tedpavlic.com Mon Nov 24 04:50:40 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 24 Nov 2008 07:50:40 -0500 Subject: [Vimperator] Minefield crashing after git "search keyword completion" changeset In-Reply-To: References: <4929A8C5.70306@tedpavlic.com> Message-ID: <492AA320.4040402@tedpavlic.com> >> When I go back one changeset (to "Speed up completions. Fix >> Structcommands..."), then everything works fine. > > That's strange. That changeset shouldn't have affected startup in the > least. The only place time should possibly see problems is during > completion. It works fine for me. The latest batch of changesets (8 of them) seems to fix things for me. Perhaps it has something to do with how many bookmarks I have? Or something strange in my browser history? > P.S., Can you please state the FF version, rather than its code name > in the future? Thanks. I'm sorry. I should have been more specific. I was using the latest nightly (or at least the latest nightly that gets pushed via ":dialog checkupdates") of 3.1b2pre: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1b2pre) Gecko/20081121 Minefield/3.1b2pre Thanks -- Ted -- Ted Pavlic From maxauthority at vimperator.org Mon Nov 24 06:27:47 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Mon, 24 Nov 2008 15:27:47 +0100 Subject: [Vimperator] Minefield crashing after git "search keyword completion" changeset In-Reply-To: <492AA320.4040402@tedpavlic.com> References: <4929A8C5.70306@tedpavlic.com> <492AA320.4040402@tedpavlic.com> Message-ID: Maybe it has/had something to do that :dialog searchengines kept crashing my Firefox, so that might be a Firefox regression in recent nightlies? On Mon, Nov 24, 2008 at 1:50 PM, Ted Pavlic wrote: >>> When I go back one changeset (to "Speed up completions. Fix >>> Structcommands..."), then everything works fine. >> >> That's strange. That changeset shouldn't have affected startup in the >> least. The only place time should possibly see problems is during >> completion. It works fine for me. > > The latest batch of changesets (8 of them) seems to fix things for me. > > Perhaps it has something to do with how many bookmarks I have? Or > something strange in my browser history? > >> P.S., Can you please state the FF version, rather than its code name >> in the future? Thanks. > > I'm sorry. I should have been more specific. I was using the latest nightly > (or at least the latest nightly that gets pushed via ":dialog checkupdates") > of 3.1b2pre: > > Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1b2pre) > Gecko/20081121 Minefield/3.1b2pre > > Thanks -- > Ted > > > -- > Ted Pavlic > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From maglione.k at gmail.com Mon Nov 24 11:32:15 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 24 Nov 2008 14:32:15 -0500 Subject: [Vimperator] Minefield crashing after git "search keyword completion" changeset In-Reply-To: References: <4929A8C5.70306@tedpavlic.com> <492AA320.4040402@tedpavlic.com> Message-ID: On Mon, Nov 24, 2008 at 9:27 AM, Martin Stubenschrott wrote: > Maybe it has/had something to do that :dialog searchengines kept > crashing my Firefox, so that might be a Firefox regression in recent > nightlies? That seems likely. The hg tree is pretty unstable. From ted at tedpavlic.com Mon Nov 24 11:48:13 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 24 Nov 2008 14:48:13 -0500 Subject: [Vimperator] Minefield crashing after git "search keyword completion" changeset In-Reply-To: References: <4929A8C5.70306@tedpavlic.com> <492AA320.4040402@tedpavlic.com> Message-ID: <492B04FD.1020200@tedpavlic.com> >> Maybe it has/had something to do that :dialog searchengines kept >> crashing my Firefox, so that might be a Firefox regression in recent >> nightlies? > > That seems likely. The hg tree is pretty unstable. Do either of you have a suggestion about how to obtain the "most stable" Minefield? That is, the only reason I'm using FF3.1 is because I want to use Vimperator, and it looks like Vimperator is most compatible with FF3.1. I was assuming that I should just get the latest FF3.1 nightlies in order to keep up to date. Is there a better protocol if all I want is a support platform for Vimperator updates? Thanks -- Ted -- Ted Pavlic From Daniel.Trstenjak at online.de Mon Nov 24 11:56:34 2008 From: Daniel.Trstenjak at online.de (Daniel Trstenjak) Date: Mon, 24 Nov 2008 20:56:34 +0100 Subject: [Vimperator] camel case In-Reply-To: References: <20080926143035.GA14040@bruja.cs.tu-berlin.de> <20080926180201.GA6138@laptop> <20081122153530.GA4999@fiesta.cs.tu-berlin.de> <20081123182819.GC6112@laptop> Message-ID: <20081124195634.GA6873@laptop> On Sun, Nov 23, 2008 at 03:10:32PM -0500, Kris Maglione wrote: > That's true, but (?=) is a zero-width assertion. Ok, I tried it, but it doesn't work. From stanio at cs.tu-berlin.de Mon Nov 24 13:08:40 2008 From: stanio at cs.tu-berlin.de (Stanimir Dragiev) Date: Mon, 24 Nov 2008 22:08:40 +0100 Subject: [Vimperator] camel case In-Reply-To: <20081124195634.GA6873@laptop> References: <20080926143035.GA14040@bruja.cs.tu-berlin.de> <20080926180201.GA6138@laptop> <20081122153530.GA4999@fiesta.cs.tu-berlin.de> <20081123182819.GC6112@laptop> <20081124195634.GA6873@laptop> Message-ID: <20081124210840.GB5933@fiesta.cs.tu-berlin.de> * Daniel Trstenjak [2008-11-24 20:56]: > On Sun, Nov 23, 2008 at 03:10:32PM -0500, Kris Maglione wrote: > > That's true, but (?=) is a zero-width assertion. > > Ok, I tried it, but it doesn't work. Doesn't work for me too. But I'm not familiar with (?=), so I'm not sure I use it in the right way. BTW, does anybody know a more general way to specify "lower case followed by upper case letter" than [a-z][A-Z]. I mean one which would work with other scripts too (Cyrillic, Greek or whatever ...). -- cheers stanio_ From maglione.k at gmail.com Mon Nov 24 13:42:09 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 24 Nov 2008 16:42:09 -0500 Subject: [Vimperator] camel case In-Reply-To: <20081124195634.GA6873@laptop> References: <20080926143035.GA14040@bruja.cs.tu-berlin.de> <20080926180201.GA6138@laptop> <20081122153530.GA4999@fiesta.cs.tu-berlin.de> <20081123182819.GC6112@laptop> <20081124195634.GA6873@laptop> Message-ID: > Ok, I tried it, but it doesn't work. You need to use a recent snapshot. I made a change to lower-case the link text after splitting. From maglione.k at gmail.com Mon Nov 24 13:47:22 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 24 Nov 2008 16:47:22 -0500 Subject: [Vimperator] Minefield crashing after git "search keyword completion" changeset In-Reply-To: <492B04FD.1020200@tedpavlic.com> References: <4929A8C5.70306@tedpavlic.com> <492AA320.4040402@tedpavlic.com> <492B04FD.1020200@tedpavlic.com> Message-ID: On Mon, Nov 24, 2008 at 2:48 PM, Ted Pavlic wrote: > Do either of you have a suggestion about how to obtain the "most stable" > Minefield? > > That is, the only reason I'm using FF3.1 is because I want to use > Vimperator, and it looks like Vimperator is most compatible with FF3.1. I > was assuming that I should just get the latest FF3.1 nightlies in order to > keep up to date. Is there a better protocol if all I want is a support > platform for Vimperator updates? Vimperator runs fine on 3.0. I'd really only suggest using 3.1 if you want JIT. From ted at tedpavlic.com Mon Nov 24 17:15:24 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Mon, 24 Nov 2008 20:15:24 -0500 Subject: [Vimperator] set cpt=lf in Vimp_pre Message-ID: <492B51AC.50104@tedpavlic.com> Does this make sense... As of the latest Vimp_2.0pre, :set cpt=l works :set cpt+=l works :set cpt=f works :set cpt+=f gives "Invalid argument" error :set cpt=lf gives "Invalid argument" error :set cpt+=lf gives "Invalid argument" error I know that cpt is being worked on right now. Is this result expected at the moment? Thanks -- Ted -- Ted Pavlic From maglione.k at gmail.com Mon Nov 24 17:48:35 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Mon, 24 Nov 2008 20:48:35 -0500 Subject: [Vimperator] set cpt=lf in Vimp_pre In-Reply-To: <492B51AC.50104@tedpavlic.com> References: <492B51AC.50104@tedpavlic.com> Message-ID: Thanks, fixed. From ervandew at gmail.com Mon Nov 24 20:55:40 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Mon, 24 Nov 2008 20:55:40 -0800 Subject: [Vimperator] noscript plugin patch Message-ID: This is primarily intended for Martin, but I figured I'd throw it up on the mailing list anyways, just in case any other noscript users would like to offer an opinion on the following noscript plugin patch. I've rewritten most of the noscript plugin for vimperator with these changes: - updated the :noscript command to take an argument specifying a noscript related action to perform. - removed default key mappings s and S with new noscript actions: :noscript toggletemp :noscript toggleperm The idea here is to let the user decide what key bindings they prefer to map. For instance my preference is to have s map to the new 'popup' action. - added action to open the noscript popup: :noscript popup When open, you can now also navigate the menu entries using the typical vimperator bindings (j,k,l,h,gg,G). - printing of noscript information is now performed via the 'info' action: :noscript info Note: my changes are against the latest vimperator head, but vimperator completion seems to still be in flux, so the noscript action completion may or may not work, depending on what state the vimperator completion code happens to be in. The plugin was also tested against version 1.8.6 of NoScript. Note: instead of a diff, I'm just attaching the new plugin, since all but a couple lines have changed. -- eric -------------- next part -------------- A non-text attachment was scrubbed... Name: noscript.js Type: application/x-javascript Size: 4046 bytes Desc: not available URL: From maxauthority at vimperator.org Tue Nov 25 00:14:16 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Tue, 25 Nov 2008 09:14:16 +0100 Subject: [Vimperator] noscript plugin patch In-Reply-To: References: Message-ID: <492BB3D8.70802@vimperator.org> I changed the ownership of the script on vimperator.org to you, so feel free to take over the script and upload any new versions, since I currently don't use noscript. thanks for the update, -- Martin From ted at tedpavlic.com Tue Nov 25 06:06:50 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Tue, 25 Nov 2008 09:06:50 -0500 Subject: [Vimperator] :help completion in Vimp_pre on FF3.0.4 Message-ID: <492C067A.106@tedpavlic.com> Using the latest Vimp_2.0pre on Firefox 3.0.4 on both Windows and OS X, Firefox ends up giving me the hourglass on Windows ("beachball" on OS X) and an "Application not responding" that I have to manually kill. This occurs when I try to type: :help hinttags On OS X, it most often occurs between the help and the hinttags. On Windows, it seems to occur at random places in the middle of the help. In fact, sometimes I've been able to bring up ":help hinttags" successfully. In my vimprc, I have: :set wildoptions=auto :set cpt=lf Thoughts? --Ted -- Ted Pavlic From ted at tedpavlic.com Tue Nov 25 06:10:06 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Tue, 25 Nov 2008 09:10:06 -0500 Subject: [Vimperator] :help completion in Vimp_pre on FF3.0.4 In-Reply-To: <492C067A.106@tedpavlic.com> References: <492C067A.106@tedpavlic.com> Message-ID: <492C073E.4090104@tedpavlic.com> This is probably overkill, but going WAY back to this changeset: 2008-11-23 maglione * src/content/commands.js, src/content/completion.js, src/content/editor.js, src/content/events.js, src/content/mappings.js, src/content/style.js, src/content/template.js, src/content/ui.js, src/content/util.js: Speed up completions. Fix Structcommands.jsdefaultValue in FF 3.0. Temporarilly name anonymous functions for profiling. [3279b92e11df] Definitely fixes the problem. I haven't gone forward to pinpoint which changeset "causes" it. --Ted Ted Pavlic wrote: > Using the latest Vimp_2.0pre on Firefox 3.0.4 on both Windows and OS X, > Firefox ends up giving me the hourglass on Windows ("beachball" on OS X) > and an "Application not responding" that I have to manually kill. > > This occurs when I try to type: > > :help hinttags > > On OS X, it most often occurs between the help and the hinttags. On > Windows, it seems to occur at random places in the middle of the help. > In fact, sometimes I've been able to bring up ":help hinttags" successfully. > > In my vimprc, I have: > > :set wildoptions=auto > :set cpt=lf > > Thoughts? > > --Ted > -- Ted Pavlic From ted at tedpavlic.com Tue Nov 25 06:18:22 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Tue, 25 Nov 2008 09:18:22 -0500 Subject: [Vimperator] Multiple hints at once... (in tabs) Message-ID: <492C092E.6010508@tedpavlic.com> I'm sure this topic has been covered, but I'm not sure how to search for it, and I don't see anything in the help about it. Is there a way to configure "f" (or "F") to follow a LIST of hints all at once in one tab? For example, something like f1,2,3,4 would replace this tab with hint 1 and would open 3 new tabs with hints 2, 3, and 4 (or perhaps replace existing tabs with 2, 3, and 4), and: F1,2,3,4 would create four new tabs opening the four hints (1,2,3, and 4). ? Also, I notice that (at least in the changeset I have loaded (see another message for why I'm not using the tip)) the "leader" doesn't seem to put me in "escape mode" where numbers are treated as letters. That is, I thought typing: fbuff\1 would make the quickhint mode look for "buff1" on the page. Instead, it looks for "buff" and takes me to the hint labeled "1". --Ted -- Ted Pavlic From rogutes at googlemail.com Tue Nov 25 07:03:54 2008 From: rogutes at googlemail.com (=?utf-8?Q?Rogut=C4=97s?=) Date: Tue, 25 Nov 2008 17:03:54 +0200 Subject: [Vimperator] 'defsearch' Message-ID: <20081125150354.GA4256@ugu.dokeda.lt> G'day, Is it known that 'defsearch' isn't working with the CVS version? If I do :set defsearch=google, it always gives me this error: E474: Invalid argument: defsearch=google Probably as a consequence of this, :open "search for this" doesn't work either. -- -- Rogut?s. From ervandew at gmail.com Tue Nov 25 07:19:01 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Tue, 25 Nov 2008 07:19:01 -0800 Subject: [Vimperator] noscript plugin patch In-Reply-To: <492BB3D8.70802@vimperator.org> References: <492BB3D8.70802@vimperator.org> Message-ID: On Tue, Nov 25, 2008 at 12:14 AM, Martin Stubenschrott wrote: > I changed the ownership of the script on vimperator.org to you, so feel free to take over > the script and upload any new versions, since I currently don't use noscript. > > thanks for the update, Thanks Martin, I'll upload the new version here soon. -- eric From teramako at gmail.com Tue Nov 25 07:19:15 2008 From: teramako at gmail.com (M.Terada) Date: Wed, 26 Nov 2008 00:19:15 +0900 Subject: [Vimperator] 'defsearch' In-Reply-To: <20081125150354.GA4256@ugu.dokeda.lt> References: <20081125150354.GA4256@ugu.dokeda.lt> Message-ID: <6eebba490811250719i6c62c10bie9c633d3a59e4b50@mail.gmail.com> Hi, developers. Patch is here. Please review and apply diff --git a/content/bookmarks.js b/content/bookmarks.js index f69410d..452824f 100644 --- a/content/bookmarks.js +++ b/content/bookmarks.js @@ -236,7 +236,7 @@ function Bookmarks() //{{{ completer: function (filter) completion._url(filter, "s").items, validator: function (value) { - return completion._url("", "s").items.some(function (s) s[0] == value); + return completion._url("", "s").items.some(function (s) s.text == value); } }); Best regards. ---- teramako http://d.hatena.ne.jp/teramako/ On Wed, Nov 26, 2008 at 12:03 AM, Rogut?s wrote: > G'day, > > Is it known that 'defsearch' isn't working with the CVS version? > If I do :set defsearch=google, it always gives me this error: > E474: Invalid argument: defsearch=google > > Probably as a consequence of this, :open "search for this" doesn't work > either. > > -- > -- Rogut?s. > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From dougkearns at gmail.com Tue Nov 25 07:21:50 2008 From: dougkearns at gmail.com (Doug Kearns) Date: Wed, 26 Nov 2008 02:21:50 +1100 Subject: [Vimperator] 'defsearch' In-Reply-To: <6eebba490811250719i6c62c10bie9c633d3a59e4b50@mail.gmail.com> References: <20081125150354.GA4256@ugu.dokeda.lt> <6eebba490811250719i6c62c10bie9c633d3a59e4b50@mail.gmail.com> Message-ID: <644fc65e0811250721n39aa8736i744338876b855363@mail.gmail.com> On 11/26/08, M. Terada wrote: > Hi, developers. > > Patch is here. > Please review and apply Thanks very much but I just beat you to it. :) Doug From maglione.k at gmail.com Tue Nov 25 11:30:07 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Tue, 25 Nov 2008 14:30:07 -0500 Subject: [Vimperator] 'defsearch' In-Reply-To: <644fc65e0811250721n39aa8736i744338876b855363@mail.gmail.com> References: <20081125150354.GA4256@ugu.dokeda.lt> <6eebba490811250719i6c62c10bie9c633d3a59e4b50@mail.gmail.com> <644fc65e0811250721n39aa8736i744338876b855363@mail.gmail.com> Message-ID: This is what I get for not committing regularly. I fixed this yesterday. From maxauthority at vimperator.org Wed Nov 26 02:13:16 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Wed, 26 Nov 2008 11:13:16 +0100 Subject: [Vimperator] noscript plugin patch In-Reply-To: References: <492BB3D8.70802@vimperator.org> Message-ID: Since dpb is the website admin, it's better to post such messages to the mailing list as well. Regarding trac: Well, apart from this bug, what's wrong with using it for managing scripts? It allowed us to make the homepage in a few days, where a custom php would have taken weeks and therefore probably never been realized - by us at least. I'll try to also set your name as the reporter when I am at home (at work I am biten by the proxy problem, which keeps logging me out). Maybe you can edit the description then. I'll also remove both scripts then. On Wed, Nov 26, 2008 at 3:08 AM, Eric Van Dewoestine wrote: > On Tue, Nov 25, 2008 at 5:59 PM, Eric Van Dewoestine wrote: >> Martin, >> >> In regards to taking over the noscript plugin, it looks I don't have >> the proper privileges to overwrite the noscript.js attachment on that >> ticket. I tried leaving the "Replace existing attachment of the same >> name" unchecked, but then trac ends up creating a noscript.2.js which >> will probably just confuse users. >> >> Could you possibly delete both attachments on my behalf and I'll >> attach the new version? >> >> >> -- >> eric >> > > Bah... one more question that I forgot to ask in my previous email. > > Is there a way I can modify the ticket description? The current > description does not apply to the new version of noscript.js. > > Currently, I cannot edit the description for tickets I've reported > either. > > Are you guys planning on sticking with trac tickets for plugins, or > are there plans to create script management functionality similar to > that provided by vim.org? > > > -- > eric > From anekos at snca.net Wed Nov 26 02:35:03 2008 From: anekos at snca.net (anekos) Date: Wed, 26 Nov 2008 19:35:03 +0900 Subject: [Vimperator] [Patch] Struct's trap Message-ID: Struct.defalutValue's setter does not return value. I think that setter method shuld returns value. let Neko = new Struct('name', 'class', 'tails'); Neko.defaultValue('tails', function () 1); let alex = new Neko(); liberator.log(alex.tails = 10) // => undefined !! -------------- next part -------------- A non-text attachment was scrubbed... Name: vimp-struct-setter.patch Type: application/octet-stream Size: 425 bytes Desc: not available URL: From ted at tedpavlic.com Wed Nov 26 07:21:42 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Wed, 26 Nov 2008 10:21:42 -0500 Subject: [Vimperator] :help completion in Vimp_pre on FF3.0.4 In-Reply-To: <492C067A.106@tedpavlic.com> References: <492C067A.106@tedpavlic.com> Message-ID: <492D6986.8060405@tedpavlic.com> This problem is still not fixed. Am I the *ONLY* one having this problem? I'm using FF3.0.4 (not experimental Minefield) on both a SLOW Mac and a FAST Windows machine, and *BOTH* machines have the problem. Vimperator help is useless to me because of it. --Ted Ted Pavlic wrote: > Using the latest Vimp_2.0pre on Firefox 3.0.4 on both Windows and OS X, > Firefox ends up giving me the hourglass on Windows ("beachball" on OS X) > and an "Application not responding" that I have to manually kill. > > This occurs when I try to type: > > :help hinttags > > On OS X, it most often occurs between the help and the hinttags. On > Windows, it seems to occur at random places in the middle of the help. > In fact, sometimes I've been able to bring up ":help hinttags" successfully. > > In my vimprc, I have: > > :set wildoptions=auto > :set cpt=lf > > Thoughts? > > --Ted > -- Ted Pavlic From anekos at snca.net Wed Nov 26 10:45:22 2008 From: anekos at snca.net (anekos) Date: Thu, 27 Nov 2008 03:45:22 +0900 Subject: [Vimperator] :help completion in Vimp_pre on FF3.0.4 In-Reply-To: <492D6986.8060405@tedpavlic.com> References: <492C067A.106@tedpavlic.com> <492D6986.8060405@tedpavlic.com> Message-ID: > Am I the *ONLY* one having this problem? No. I have the similar problem. In my environment, ":help hinttags" makes Firefox's crash. Firefox is crashed before I finish to hit all the letters. (and Firefox shows "Mozilla crash reporter") But If I hit the letters slowly, Firefox is not crashed. (maybe.. More properly, In case I hit the "i" after vimperator showed completion list.) I tested on: http://hg.intevation.org/mirrors/mozdev.org/vimperator-cvs/rev/285e40e381fa and Windows XP Professional SP3. Firefox 3.0.4 vimperatorrc contains: <<-EOT :set wildoptions=auto :set cpt=lf EOT From maglione.k at gmail.com Wed Nov 26 13:01:10 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Wed, 26 Nov 2008 16:01:10 -0500 Subject: [Vimperator] :help completion in Vimp_pre on FF3.0.4 In-Reply-To: References: <492C067A.106@tedpavlic.com> <492D6986.8060405@tedpavlic.com> Message-ID: On Wed, Nov 26, 2008 at 1:45 PM, anekos wrote: >> Am I the *ONLY* one having this problem? > No. > I have the similar problem. > In my environment, ":help hinttags" makes Firefox's crash. > Firefox is crashed before I finish to hit all the letters. > (and Firefox shows "Mozilla crash reporter") Yeah, I've had it crash, too. Try it now. I've switched the task to run in the foreground. I suspect it may be because we run an XMLHttp request and then access its DOM. From ted at tedpavlic.com Wed Nov 26 13:31:11 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Wed, 26 Nov 2008 16:31:11 -0500 Subject: [Vimperator] :help completion in Vimp_pre on FF3.0.4 In-Reply-To: References: <492C067A.106@tedpavlic.com> <492D6986.8060405@tedpavlic.com> Message-ID: <492DC01F.9010706@tedpavlic.com> > Yeah, I've had it crash, too. Try it now. I've switched the task to > run in the foreground. I suspect it may be because we run an XMLHttp > request and then access its DOM. That fixed it for me! Thanks -- Ted -- Ted Pavlic From ted at tedpavlic.com Wed Nov 26 17:24:17 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Wed, 26 Nov 2008 20:24:17 -0500 Subject: [Vimperator] Patch for searchreplace.js to work with new CVS args Message-ID: <492DF6C1.7060205@tedpavlic.com> Once upon a time, the "searchreplace.js" plugin was on the Vimperator web page. As of the Wiki, it hasn't gotten re-uploaded. It allowed for search and replace... For example, if I wanted to change every "test" to "blah" in a text field, I could do: :s/test/blah/g and it would do it. Attached is a patch that lets it work with the new "args" (rather than "arguments.args") convention in VimpCVS. -- Ted Pavlic -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: searchreplace_args.patch URL: From ted at tedpavlic.com Wed Nov 26 17:28:52 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Wed, 26 Nov 2008 20:28:52 -0500 Subject: [Vimperator] Patch for searchreplace.js to work with new CVS args In-Reply-To: <492DF6C1.7060205@tedpavlic.com> References: <492DF6C1.7060205@tedpavlic.com> Message-ID: <492DF7D4.4070705@tedpavlic.com> Note that searchreplace.js is still being carried along with the CVS repository. That is, I found it in the old "www/scripts" directory (note: I'm using a Mercurial mirror of the CVS repo). --Ted Ted Pavlic wrote: > Once upon a time, the "searchreplace.js" plugin was on the Vimperator > web page. As of the Wiki, it hasn't gotten re-uploaded. It allowed for > search and replace... For example, if I wanted to change every "test" to > "blah" in a text field, I could do: > > :s/test/blah/g > > and it would do it. > > > Attached is a patch that lets it work with the new "args" (rather than > "arguments.args") convention in VimpCVS. > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator -- Ted Pavlic From r.grosmann at gmail.com Thu Nov 27 06:03:47 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Thu, 27 Nov 2008 15:03:47 +0100 Subject: [Vimperator] change mapping of d Message-ID: hi all, I'd like to change the mapping d (delete buffer) to dd. Is there an *easy* way to do this? regards, Ruud From ted at tedpavlic.com Thu Nov 27 06:10:06 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 27 Nov 2008 09:10:06 -0500 Subject: [Vimperator] :help broken? (E149: Sorry, no help for hints) Message-ID: <492EAA3E.3020801@tedpavlic.com> It looks like there were lots of changesets last night (24ish). That's pretty neat. However, it now looks like :help ANYTHING returns E149: Sorry, no help for ANYTHING where ANYTHING can be replaced with any valid help text (e.g., 'hints'). It's interesting because **COMPLETION** works, but then (after a short delay) the completed help text is not matched when ":help" tries to find it. --Ted -- Ted Pavlic From ervandew at gmail.com Thu Nov 27 09:20:03 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Thu, 27 Nov 2008 09:20:03 -0800 Subject: [Vimperator] Fix for external editor usage. Message-ID: There have been a lot of changes to vimperator recently and somewhere along the way a couple external editor commands got broken: :viewsource! on a text input or textarea The attached patch fixes both. -- eric -------------- next part -------------- A non-text attachment was scrubbed... Name: editor-fix.patch Type: application/octet-stream Size: 1302 bytes Desc: not available URL: From ervandew at gmail.com Thu Nov 27 09:37:34 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Thu, 27 Nov 2008 09:37:34 -0800 Subject: [Vimperator] change mapping of d In-Reply-To: References: Message-ID: On Thu, Nov 27, 2008 at 6:03 AM, ruud grosmann wrote: > hi all, > > I'd like to change the mapping d (delete buffer) to dd. Is there an > *easy* way to do this? I was able to remap d to D and then disable the original d like so: noremap D d map d However, I tried doing the same with dd with no luck. I also tried several other permutations, but to no avail. Short of remapping d to dd via a js call to mappings.add(), I'm not sure if there is an easy way to get your preferred mapping. I've also noticed that trying to map a key sequence that starts with already mapped keys in vimperator doesn't work as well (which may explain why trying to remap d to dd isn't working). For example if I have the following mappings: :map t :echo "test1" :map tv :echo "test2" Where my is ',', if I try to run the second mapping (,tv) vimperator will pick up the ,t portion right away and run the first mapping without giving me any delay to hit the v for the second mapping. -- eric From eyolf at oestrem.com Thu Nov 27 13:58:41 2008 From: eyolf at oestrem.com (Eyolf =?iso-8859-1?Q?=D8strem?=) Date: Thu, 27 Nov 2008 22:58:41 +0100 Subject: [Vimperator] Firefox segfault Message-ID: <20081127215841.GC20200@eyo> I checked out a version yesterday (the one with s/args/...), and FF segfaulted. a. Has this been fixed (e.g. by the more recent commit "Unbreak FF3" -- I'm running v. 3.0)? Is it safe to upgrade...? b. Is there a way to uninstall/disable/upgrade an extension without having a running FF? In this case, I removed the vimperator folder in my profile, and the relevant lines in extensions.rdf, started ff and reinstalled an older xpi, and all was fine. Eyolf -- [Forrest on his being shot in the buttocks] Forrest Gump: "They said it was a million dollar wound. But, the army must keep that money, cause I still ain't seen a nickel of that million dollars" From dotancohen at gmail.com Thu Nov 27 14:09:33 2008 From: dotancohen at gmail.com (Dotan Cohen) Date: Fri, 28 Nov 2008 00:09:33 +0200 Subject: [Vimperator] change mapping of d In-Reply-To: References: Message-ID: <880dece00811271409i5b6214ebs4e5310ec93831e4c@mail.gmail.com> 2008/11/27 Eric Van Dewoestine : > On Thu, Nov 27, 2008 at 6:03 AM, ruud grosmann wrote: >> hi all, >> >> I'd like to change the mapping d (delete buffer) to dd. Is there an >> *easy* way to do this? > > I was able to remap d to D and then disable the original d like so: > You don't even need to remap D. D is also close-a-tab, but it focus the left tab instead of the right tab. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-??-?-? ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-? ?-?-?-?-?-?-? From dougkearns at gmail.com Thu Nov 27 18:48:49 2008 From: dougkearns at gmail.com (Doug Kearns) Date: Fri, 28 Nov 2008 13:48:49 +1100 Subject: [Vimperator] Fix for external editor usage. In-Reply-To: References: Message-ID: <644fc65e0811271848x3d2394f6uda85a353fa6426cf@mail.gmail.com> On 11/28/08, Eric Van Dewoestine wrote: > There have been a lot of changes to vimperator recently and somewhere > along the way a couple external editor commands got broken: > > :viewsource! > on a text input or textarea > > The attached patch fixes both. Fixed - thanks! Doug From dougkearns at gmail.com Thu Nov 27 18:52:54 2008 From: dougkearns at gmail.com (Doug Kearns) Date: Fri, 28 Nov 2008 13:52:54 +1100 Subject: [Vimperator] change mapping of d In-Reply-To: References: Message-ID: <644fc65e0811271852j532e87c3t1b076a74069dc8cc@mail.gmail.com> On 11/28/08, Eric Van Dewoestine wrote: > I've also noticed that trying to map a key sequence that starts with > already mapped keys in vimperator doesn't work as well (which may > explain why trying to remap d to dd isn't working). For example if I > have the following mappings: > > :map t :echo "test1" > :map tv :echo "test2" > > Where my is ',', if I try to run the second mapping (,tv) > vimperator will pick up the ,t portion right away and run the first > mapping without giving me any delay to hit the v for the second > mapping. Yes, someone needs to implement 'timeout' et al. Doug From ted at tedpavlic.com Thu Nov 27 20:45:55 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 27 Nov 2008 23:45:55 -0500 Subject: [Vimperator] :help broken? (E149: Sorry, no help for hints) In-Reply-To: <492EAA3E.3020801@tedpavlic.com> References: <492EAA3E.3020801@tedpavlic.com> Message-ID: <492F7783.6060809@tedpavlic.com> This bug appears to be fixed as of the previous two VimpCVS changesets. --Ted Ted Pavlic wrote: > It looks like there were lots of changesets last night (24ish). That's > pretty neat. > > However, it now looks like > > :help ANYTHING > > returns > > E149: Sorry, no help for ANYTHING > > where ANYTHING can be replaced with any valid help text (e.g., 'hints'). > > It's interesting because **COMPLETION** works, but then (after a short > delay) the completed help text is not matched when ":help" tries to find it. > > --Ted > -- Ted Pavlic From ted at tedpavlic.com Thu Nov 27 20:47:30 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Thu, 27 Nov 2008 23:47:30 -0500 Subject: [Vimperator] Processing keypress event: ReferenceError: count is not defined Message-ID: <492F77E2.5090702@tedpavlic.com> As of the most recent VimpCVS updates, I've noticed that commands like: :bd give me the error: Processing keypress event: Reference Error: count is not defined I'm sure this has something to do with specifying counts/ranges. I know some recent changesets involved 'arguments.' Perhaps there's a relationship? --Ted -- Ted Pavlic From dougkearns at gmail.com Fri Nov 28 07:46:23 2008 From: dougkearns at gmail.com (Doug Kearns) Date: Fri, 28 Nov 2008 15:46:23 +0000 Subject: [Vimperator] Processing keypress event: ReferenceError: count is not defined In-Reply-To: <492F77E2.5090702@tedpavlic.com> References: <492F77E2.5090702@tedpavlic.com> Message-ID: <644fc65e0811280746qc50fa75k568efab0fd83c5f9@mail.gmail.com> On 11/28/08, Ted Pavlic wrote: > As of the most recent VimpCVS updates, I've noticed that commands like: > > :bd > > give me the error: > > Processing keypress event: Reference Error: count is not defined > > I'm sure this has something to do with specifying counts/ranges. I know > some recent changesets involved 'arguments.' Perhaps there's a relationship? Thanks for the report. Kris has fixed this. Doug From maxauthority at vimperator.org Fri Nov 28 08:19:03 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 28 Nov 2008 17:19:03 +0100 Subject: [Vimperator] Processing keypress event: ReferenceError: count is not defined In-Reply-To: <644fc65e0811280746qc50fa75k568efab0fd83c5f9@mail.gmail.com> References: <492F77E2.5090702@tedpavlic.com> <644fc65e0811280746qc50fa75k568efab0fd83c5f9@mail.gmail.com> Message-ID: <493019F7.30607@vimperator.org> On 2008-11-28 16:46, Doug Kearns wrote: > On 11/28/08, Ted Pavlic wrote: >> As of the most recent VimpCVS updates, I've noticed that commands like: >> >> :bd >> >> give me the error: >> >> Processing keypress event: Reference Error: count is not defined >> >> I'm sure this has something to do with specifying counts/ranges. I know >> some recent changesets involved 'arguments.' Perhaps there's a relationship? > > Thanks for the report. Kris has fixed this. Yeah, Ted is really great in writing reports. It's nice that people also test vimperator in these hard times of constant breakage. Keep up the good work! -- Martin BTW: I see more and more people constantly writing patches. After we have moved to git, we might give some of them commit access, if they also want it. From maxauthority at vimperator.org Fri Nov 28 08:20:07 2008 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 28 Nov 2008 17:20:07 +0100 Subject: [Vimperator] Patch for searchreplace.js to work with new CVS args In-Reply-To: <492DF7D4.4070705@tedpavlic.com> References: <492DF6C1.7060205@tedpavlic.com> <492DF7D4.4070705@tedpavlic.com> Message-ID: <49301A37.6060700@vimperator.org> On 2008-11-27 02:28, Ted Pavlic wrote: > Note that searchreplace.js is still being carried along with the CVS > repository. > > That is, I found it in the old "www/scripts" directory (note: I'm using > a Mercurial mirror of the CVS repo). Hmm, I probably will delete all the scripts there (or let it bitrot, when we move to git). In the searchreplace case, just upload it yourself at vimperator.org, no need for a patch. -- Martin From ervandew at gmail.com Fri Nov 28 10:05:08 2008 From: ervandew at gmail.com (Eric Van Dewoestine) Date: Fri, 28 Nov 2008 10:05:08 -0800 Subject: [Vimperator] Proposed patch to improve next/prev page key bindings. Message-ID: One very convenient feature of vimperator is the support for key bindings which locate and follow next/prev links while on a multi-page document sequence. However, depending on the site I'm on, these key bindings can be hit or miss. It's not the default search pattern that causes the problem, but the occurrence of a link which is not a next/prev link, but still matches nextpattern/prevpattern. Reddit is one site where I've given up using ']]' to jump to the next page, because too many times there was a story with the word 'next' in it that was followed instead. As a bit of a contrived example, consider a search for the word 'next' on google (http://www.google.com/search?q=next). Almost every search result link has the word 'next' in it, so trying to use ']]' will take you to the first search result instead of taking you to the next page of results. To solve this problem I've created a patch which adds a new option which indicates where on the page (top/bottom) to begin searching for next/prev links. So far it has been working great. All the problematic sites have been those which only have next/prev links at the bottom of the page, and having set the new option to 'bottom', vimperator finds the correct link 100% of the time for me know. I know there is a reluctance to add more options to vimperator, but I really feel that this is a worth while one to have. It can also be used in conjunction with auto commands to set the best value for specific sites, making '[[' and ']]' much more reliable. -- eric -------------- next part -------------- A non-text attachment was scrubbed... Name: next-prev.patch Type: application/octet-stream Size: 6639 bytes Desc: not available URL: From maglione.k at gmail.com Fri Nov 28 21:56:09 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sat, 29 Nov 2008 00:56:09 -0500 Subject: [Vimperator] change mapping of d In-Reply-To: References: Message-ID: On Thu, Nov 27, 2008 at 9:03 AM, ruud grosmann wrote: > I'd like to change the mapping d (delete buffer) to dd. Is there an > *easy* way to do this? In HEAD, it's now possible via :noremap dd d The previous behavior was to ignore any mappings that were substrings of a longer mapping. Now, they're triggered whenever there are no possible longer matches. Unfortunately, the non-matching key ( in this case) is currently discarded. :set timeout is to come, I suppose. From teramako at gmail.com Sat Nov 29 06:02:43 2008 From: teramako at gmail.com (M.Terada) Date: Sat, 29 Nov 2008 23:02:43 +0900 Subject: [Vimperator] [PATCH] Fix a progrem cannot overwrite user-map (the latest version) Message-ID: <6eebba490811290602q18acdcaajd35ec0ac8c56b0de@mail.gmail.com> Hi, developers Please review and apply the bellow patch. diff --git a/content/mappings.js b/content/mappings.js index 145902e..2927e3a 100644 --- a/content/mappings.js +++ b/content/mappings.js @@ -305,7 +305,7 @@ function Mappings() //{{{ for (let [,name] in Iterator(map.names)) { for (let [,mode] in Iterator(map.modes)) - removeMap(mode, map.name); + removeMap(mode, name); } addMap(map, true); Best regards ---- teramako http://d.hatena.ne.jp/teramako/ From ted at tedpavlic.com Sat Nov 29 06:39:59 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sat, 29 Nov 2008 09:39:59 -0500 Subject: [Vimperator] VimpCVS tab numbering breaks proper tab rendering Message-ID: <4931543F.4090906@tedpavlic.com> See this screen shots of Vimperator (CVS HEAD): http://www.tedpavlic.com/examples/vimperator/bad_tabs/bad_tabs.png and Vimeprator (CVS, "macros argCount 1 -> ?", which is just before the first "Fix tab numbering"): http://www.tedpavlic.com/examples/vimperator/bad_tabs/good_tabs.png The fixed tab numbering breaks how the tabs appear. Now they stretch across the entire tab bar, and the tab icon stretches out of proportion. It's possible that this is a Mac-only bug (I haven't tested it on Windows yet). I can file an official bug if it seems like that would be prudent. --Ted -- Ted Pavlic From ted at tedpavlic.com Sat Nov 29 06:46:17 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sat, 29 Nov 2008 09:46:17 -0500 Subject: [Vimperator] VimpCVS tab numbering breaks proper tab rendering In-Reply-To: <4931543F.4090906@tedpavlic.com> References: <4931543F.4090906@tedpavlic.com> Message-ID: <493155B9.8090709@tedpavlic.com> I should note that this bug is actually an improvement (on OS X) from the old tab numbering. On OS X, the old tab numbering didn't show up at **ALL** (with n or N). Finally, I should note that the guioptions were bTn in those. Setting N *does* put a properly sized "1" in the middle of the tab icon. --Ted Ted Pavlic wrote: > See this screen shots of Vimperator (CVS HEAD): > > http://www.tedpavlic.com/examples/vimperator/bad_tabs/bad_tabs.png > > and Vimeprator (CVS, "macros argCount 1 -> ?", which is just before the > first "Fix tab numbering"): > > http://www.tedpavlic.com/examples/vimperator/bad_tabs/good_tabs.png -- Ted Pavlic From ted at tedpavlic.com Sat Nov 29 10:40:21 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sat, 29 Nov 2008 13:40:21 -0500 Subject: [Vimperator] stopped working -- :map D :winclose Message-ID: <49318C95.40908@tedpavlic.com> In my .vimperatorrc, I have: :map D :winclose This mapping used to work. Now it works as if I didn't have the . That is, when I hit "D" I'm presented with a command line that has ":winclose" on it with a cursor after it. Is this a bug? Or should I use a different mapping? -- Ted Pavlic From maglione.k at gmail.com Sat Nov 29 13:27:12 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sat, 29 Nov 2008 16:27:12 -0500 Subject: [Vimperator] VimpCVS tab numbering breaks proper tab rendering In-Reply-To: <493155B9.8090709@tedpavlic.com> References: <4931543F.4090906@tedpavlic.com> <493155B9.8090709@tedpavlic.com> Message-ID: On Sat, Nov 29, 2008 at 9:46 AM, Ted Pavlic wrote: > I should note that this bug is actually an improvement (on OS X) from the > old tab numbering. On OS X, the old tab numbering didn't show up at **ALL** > (with n or N). > > Finally, I should note that the guioptions were bTn in those. Setting N > *does* put a properly sized "1" in the middle of the tab icon. There was no old tab numbering. It's always been the same, but the binding got removed because of a glitch. From ted at tedpavlic.com Sat Nov 29 13:27:11 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sat, 29 Nov 2008 16:27:11 -0500 Subject: [Vimperator] stopped working -- :map D :winclose In-Reply-To: <49318C95.40908@tedpavlic.com> References: <49318C95.40908@tedpavlic.com> Message-ID: <4931B3AF.70209@tedpavlic.com> Fixed as of the most recent changeset ("Kill filterURLArray"). Thanks! --Ted Ted Pavlic wrote: > In my .vimperatorrc, I have: > > :map D :winclose > > This mapping used to work. Now it works as if I didn't have the . > That is, when I hit "D" I'm presented with a command line that has > ":winclose" on it with a cursor after it. > > Is this a bug? Or should I use a different mapping? > -- Ted Pavlic From maglione.k at gmail.com Sat Nov 29 13:32:30 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sat, 29 Nov 2008 16:32:30 -0500 Subject: [Vimperator] [PATCH] Fix a progrem cannot overwrite user-map (the latest version) In-Reply-To: <6eebba490811290602q18acdcaajd35ec0ac8c56b0de@mail.gmail.com> References: <6eebba490811290602q18acdcaajd35ec0ac8c56b0de@mail.gmail.com> Message-ID: Fixed. Thanks. From ted at tedpavlic.com Sat Nov 29 14:40:57 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sat, 29 Nov 2008 17:40:57 -0500 Subject: [Vimperator] VimpCVS tab numbering breaks proper tab rendering In-Reply-To: References: <4931543F.4090906@tedpavlic.com> <493155B9.8090709@tedpavlic.com> Message-ID: <4931C4F9.60502@tedpavlic.com> > On Sat, Nov 29, 2008 at 9:46 AM, Ted Pavlic wrote: >> I should note that this bug is actually an improvement (on OS X) from the >> old tab numbering. On OS X, the old tab numbering didn't show up at **ALL** >> (with n or N). >> >> Finally, I should note that the guioptions were bTn in those. Setting N >> *does* put a properly sized "1" in the middle of the tab icon. > > There was no old tab numbering. It's always been the same, but the > binding got removed because of a glitch. Well, something has changed. Perhaps it was something that changed in Firefox between FF3.0.3 and FF3.0.4? All I know is that with these same settings, I used to get tab numbering in Windows and NO tab numbering in OS X. Later, when tab numbering got removed (due to some Muttator issues, IIRC), neither OS had tab numbering. Now that it's put back, the OS X Firefox has tab numbering with those "stretched out" tabs. Earlier (back when tab numbering was turned on), I reported (in a response in the "Numbered tabs" thread) that no numbers showed up in OS X. I received the response (from Daniel Bainton) that patches were welcome. SO... Something has changed. --Ted -- Ted Pavlic From ted at tedpavlic.com Sat Nov 29 14:48:01 2008 From: ted at tedpavlic.com (Ted Pavlic) Date: Sat, 29 Nov 2008 17:48:01 -0500 Subject: [Vimperator] VimpCVS tab numbering breaks proper tab rendering In-Reply-To: <4931C4F9.60502@tedpavlic.com> References: <4931543F.4090906@tedpavlic.com> <493155B9.8090709@tedpavlic.com> <4931C4F9.60502@tedpavlic.com> Message-ID: <4931C6A1.5040308@tedpavlic.com> > All I know is that with these same settings, I used to get tab numbering > in Windows and NO tab numbering in OS X. Later, when tab numbering got > removed (due to some Muttator issues, IIRC), neither OS had tab > numbering. Now that it's put back, the OS X Firefox has tab numbering > with those "stretched out" tabs. (note: tab numbering works fine (no stretched tabs) in Windows... the stretchiness is only a problem in the OS X chrome stuff) --Ted -- Ted Pavlic From edwardzyang at thewritingpot.com Sat Nov 29 18:30:39 2008 From: edwardzyang at thewritingpot.com (Edward Z. Yang) Date: Sat, 29 Nov 2008 21:30:39 -0500 Subject: [Vimperator] New user questions Message-ID: <4931FACF.9000005@thewritingpot.com> Hello all, In order to force myself to learn Vim's navigational keybindings, I've started using Vimtuperator, and I must say it works quite well for thats task. That being said, there are few things I simply must fix in order to prevent Vimtuperator from being swept into the disabled extensions bin. Suggestions/answers for these questions would be greatly appreciated! 1. Many of my extensions feature non-Vim friendly interfaces. :menu and :sidebar have proven to be excellent ways to get into those interfaces, but after I've done this, I have to get out my mouse again. Does Vimputerator offer any way of assigning/detecting appropriate keybindings for these windows? 2. On a similar note, I'd like to bookmark pages using del.icio.us/check pages with Web Developer Toolbar/etc etc. Is there any way of accessing buttons that would be in my toolbar? Same goes for buttons on my context menu. 3. For at least my installation, the help document for searching is a 404. 4. I'm using f to access form elements; how do I access a form element and simultaneously clear it out? In Vim, I'd "S"; in regular Firefox I'd click Ctrl-a ; how do I do this in Vimperator? Cheers, Edward From maglione.k at gmail.com Sat Nov 29 18:58:02 2008 From: maglione.k at gmail.com (Kris Maglione) Date: Sat, 29 Nov 2008 21:58:02 -0500 Subject: [Vimperator] New user questions In-Reply-To: <4931FACF.9000005@thewritingpot.com> References: <4931FACF.9000005@thewritingpot.com> Message-ID: On Sat, Nov 29, 2008 at 9:30 PM, Edward Z. Yang wrote: > 1. Many of my extensions feature non-Vim friendly interfaces. :menu and > :sidebar have proven to be excellent ways to get into those interfaces, > but after I've done this, I have to get out my mouse again. Does > Vimputerator offer any way of assigning/detecting appropriate > keybindings for these windows? Don't know what you mean. > 2. On a similar note, I'd like to bookmark pages using del.icio.us/check > pages with Web Developer Toolbar/etc etc. Is there any way of accessing > buttons that would be in my toolbar? Same goes for buttons on my context > menu. The best way is to open the dom inspector, click the button in the top-left corner, click on the button you want, and look at its oncommand element. Then, just map that to a command. Open the inspector: :js inspectDOMDocument(document) Map: :map :js whatever() :com whatever :js whatever() See also the scripts and tips pages at vimperator.org. > 4. I'm using f to access form elements; how do I access a form element > and simultaneously clear it out? In Vim, I'd "S"; in regular Firefox I'd > click Ctrl-a ; how do I do this in Vimperator? Ctrl-U. From edwardzyang at thewritingpot.com Sat Nov 29 19:23:23 2008 From: edwardzyang at thewritingpot.com (Edward Z. Yang) Date: Sat, 29 Nov 2008 22:23:23 -0500 Subject: [Vimperator] New user questions In-Reply-To: References: <4931FACF.9000005@thewritingpot.com> Message-ID: <4932072B.5030603@thewritingpot.com> Kris Maglione wrote: > The best way is to open the dom inspector, click the button in the > top-left corner, click on the button you want, and look at its > oncommand element. Then, just map that to a command. Sweet! I didn't know DOM Inspector worked on Firefox GUI elements. While my initial try didn't work... > See also the scripts and tips pages at vimperator.org. ...I think I will look at the scripts here and improve my technique. > Ctrl-U. Great! From edwardzyang at thewritingpot.com Sat Nov 29 19:57:07 2008 From: edwardzyang at thewritingpot.com (Edward Z. Yang) Date: Sat, 29 Nov 2008 22:57:07 -0500 Subject: [Vimperator] New user questions In-Reply-To: <4932072B.5030603@thewritingpot.com> References: <4931FACF.9000005@thewritingpot.com> <4932072B.5030603@thewritingpot.com> Message-ID: <49320F13.9060003@thewritingpot.com> I have another question: Ctrl-v Ctrl-v works for URLs that I've yanked, but doesn't seem to do anything with text in my "real clipboard". How do I paste that stuff? Cheers, Edward From r.grosmann at gmail.com Sun Nov 30 04:00:14 2008 From: r.grosmann at gmail.com (ruud grosmann) Date: Sun, 30 Nov 2008 13:00:14 +0100 Subject: [Vimperator] change mapping of d In-Reply-To: References: Message-ID: thanks Kris, thats's great! regards, Ruud On 29/11/2008, Kris Maglione wrote: > In HEAD, it's now possible via > > :noremap dd d From benschni at yahoo.de Sun Nov 30 05:40:40 2008 From: benschni at yahoo.de (Ben ji) Date: Sun, 30 Nov 2008 13:40:40 +0000 (GMT) Subject: [Vimperator] char-hints.js not working Message-ID: <650220.48372.qm@web28512.mail.ukl.yahoo.com> Hello folks, i recently changed to firefox version 3.0.4 and to the new vimperator. Now i would like to have back the old navigation style and tried to use the "char-hints.js"-patch - unfortunatly without success. Opening firefox i only get a small error in the lowermost bar: "missing = in XML attribute". I hope you can help me, Benjamin -------------- next part -------------- An HTML attachment was scrubbed... URL: From mccolingrath at gmail.com Sun Nov 30 16:09:38 2008 From: mccolingrath at gmail.com (Colin McGrath) Date: Sun, 30 Nov 2008 19:09:38 -0500 Subject: [Vimperator] New user questions In-Reply-To: <49320F13.9060003@thewritingpot.com> References: <4931FACF.9000005@thewritingpot.com> <4932072B.5030603@thewritingpot.com> <49320F13.9060003@thewritingpot.com> Message-ID: On Sat, Nov 29, 2008 at 10:57 PM, Edward Z. Yang < edwardzyang at thewritingpot.com> wrote: > I have another question: > > Ctrl-v Ctrl-v works for URLs that I've yanked, but doesn't seem to do > anything with text in my "real clipboard". How do I paste that stuff? > > Cheers, > Edward > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -- Colin George Bernard Shaw - "Youth is a wonderful thing. What a crime to waste it on children." -------------- next part -------------- An HTML attachment was scrubbed... URL: From benjaminschnitzler at googlemail.com Sun Nov 30 05:38:34 2008 From: benjaminschnitzler at googlemail.com (Benjamin Schnitzler) Date: Sun, 30 Nov 2008 14:38:34 +0100 Subject: [Vimperator] char-hints.js not working Message-ID: <20081130133834.GA1129@DrSeltsam> Hello folks, i recently changed to firefox version 3.0.4 and to the new vimperator. Now i would like to have back the old navigation style and tried to use the "char-hints.js"-patch - unfortunatly without success. Opening firefox i only get a small error in the lowermost bar: "missing = in XML attribute". I hope you can help me, Benjamin