From nemolivier at gmail.com Wed Jul 1 12:04:05 2009 From: nemolivier at gmail.com (=?ISO-8859-1?Q?Olivier_Gu=E9ry?=) Date: Wed, 1 Jul 2009 21:04:05 +0200 Subject: [Vimperator] feedsomekeys.js and last git Message-ID: <5c2c86e70907011204o55189423ja94f511ca822502a@mail.gmail.com> Hello, The feedsomekeys? plugin stop working for me with the last git? Is there something I can do to make it work again?? Cheers, Olivier. [1] http://vimperator.org/trac/ticket/48 [2] commit b60221675e3900e6371fd1c406a74c3b8886b763 Author: Doug Kearns Date: Mon Jun 29 19:06:40 2009 +1000 -- [Message tap? sur un clavier B?po : http://www.bepo.fr ] http://nemolivier.blogspot.com From snaka.gml at gmail.com Wed Jul 1 15:39:10 2009 From: snaka.gml at gmail.com (Nakamatsu Shinji) Date: Thu, 2 Jul 2009 07:39:10 +0900 Subject: [Vimperator] feedsomekeys.js and last git In-Reply-To: <5c2c86e70907011204o55189423ja94f511ca822502a@mail.gmail.com> References: <5c2c86e70907011204o55189423ja94f511ca822502a@mail.gmail.com> Message-ID: <1b9889850907011539k45ca36a8hacfc9515caa58026@mail.gmail.com> HI, Olivier. Here is the patch that Mr. Teramako who is the plugin's author published on his blog : Index: feedSomeKeys_2.js =================================================================== --- feedSomeKeys_2.js (????? 34207) +++ feedSomeKeys_2.js (?????) @@ -206,7 +206,14 @@ origMap.names.map(function(n) n), origMap.description, origMap.action, - { flags:origMap.flags, rhs:origMap.rhs, noremap:origMap.noremap }); + { + flags:origMap.flags, + rhs:origMap.rhs, + noremap:origMap.noremap, + count: origMap.cout, + arg: origMap.arg, + motion: origMap.motion + }); origMaps.push(clone); } } @@ -216,7 +223,7 @@ for (var i=0; i: > Hello, > > The feedsomekeys? plugin stop working for me with the last git? > > Is there something I can do to make it work again?? > > Cheers, > Olivier. > > [1] http://vimperator.org/trac/ticket/48 > [2] commit b60221675e3900e6371fd1c406a74c3b8886b763 > Author: Doug Kearns > Date: ? Mon Jun 29 19:06:40 2009 +1000 > > > -- > [Message tap? sur un clavier B?po : http://www.bepo.fr ] > http://nemolivier.blogspot.com > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -- snaka http://sumimasen2.blogspot.com/ http://d.hatena.ne.jp/snaka72/ From ye.xu.hdm at gmail.com Thu Jul 2 14:21:26 2009 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Thu, 2 Jul 2009 23:21:26 +0200 Subject: [Vimperator] preference window always open in new window? Message-ID: Hello everyone, After upgrade to vimperator 2.1 with firefox 3.5, the command :pref will always open firefox preference in new window, even though I had already :set newtab=all. and also tried :set newtab=pref, the same, so is it an existing bug or I had missed something? thx a lot! regards ye ------------------------ K.I.S.S. From maglione.k at gmail.com Thu Jul 2 14:25:06 2009 From: maglione.k at gmail.com (Kris Maglione) Date: Thu, 2 Jul 2009 17:25:06 -0400 Subject: [Vimperator] preference window always open in new window? In-Reply-To: References: Message-ID: <20090702212506.GA8223@jg.domain_not_set.invalid> On Thu, Jul 02, 2009 at 11:21:26PM +0200, Ye Xu wrote: >After upgrade to vimperator 2.1 with firefox 3.5, the command :pref >will always open firefox preference in new window, even though I had >already :set newtab=all. and also tried :set newtab=pref, the same, so >is it an existing bug or I had missed something? thx a lot! It's the specified behavior and always has been (see :h :pref). 'newtab' has no effect since it always opens a dialog, never a buffer. -- Kris Maglione Question with boldness even the existence of God; because if there be one, He must approve the homage of Reason rather than that of blindfolded Fear. --Thomas Jefferson From nemolivier at gmail.com Thu Jul 2 16:02:57 2009 From: nemolivier at gmail.com (=?ISO-8859-1?Q?Olivier_Gu=E9ry?=) Date: Fri, 3 Jul 2009 01:02:57 +0200 Subject: [Vimperator] feedsomekeys.js and last git In-Reply-To: <1b9889850907011539k45ca36a8hacfc9515caa58026@mail.gmail.com> References: <5c2c86e70907011204o55189423ja94f511ca822502a@mail.gmail.com> <1b9889850907011539k45ca36a8hacfc9515caa58026@mail.gmail.com> Message-ID: <5c2c86e70907021602r5c8281d9k552daeed7c77b690@mail.gmail.com> Thank?s a lot. But this patch doesn?t seems to apply to the feedSomeKeys_2.js I found on the web page?. Is there a newer version I should use ? Olivier. [1] http://vimperator.org/trac/ticket/48 2009/7/2 Nakamatsu Shinji : > HI, Olivier. > > Here is the patch that Mr. Teramako who is the ?plugin's author > published on his blog : > > ?Index: feedSomeKeys_2.js > =================================================================== > --- feedSomeKeys_2.js ? (????? 34207) > +++ feedSomeKeys_2.js ? (?????) > @@ -206,7 +206,14 @@ > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? origMap.names.map(function(n) n), > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? origMap.description, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? origMap.action, > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?{ flags:origMap.flags, > rhs:origMap.rhs, noremap:origMap.noremap }); > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?{ > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?flags:origMap.flags, > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?rhs:origMap.rhs, > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?noremap:origMap.noremap, > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?count: origMap.cout, > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?arg: origMap.arg, > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?motion: origMap.motion > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?}); > ? ? ? ? ? ? origMaps.push(clone); > ? ? ? ? } > ? ? } > @@ -216,7 +223,7 @@ > ? ? ? ? ? ? for (var i=0; i ? ? ? ? ? ? ? ? feedKeyIntoContent(feedKey, useVkey, eventName); > ? ? ? ? ? ? } > - ? ? ? ?}, { flags:Mappings.flags.COUNT, rhs:feedKey, noremap:true }); > + ? ? ? ?}, { flags:(Mappings.flags ? Mappings.flags.COUNT : null), > rhs:feedKey, noremap:true, count:true }); > ? ? addUserMap(map); > ? ? if (feedMaps.some(function(fmap){ > ? ? ? ? if (fmap.names[0] != origKey) return false; > @@ -238,7 +245,9 @@ > ? ? feedMaps = []; > ?} > ?function addUserMap(map){ > - ? ?mappings.addUserMap(map.modes, map.names, map.description, > map.action, { flags:map.flags,noremap:map.noremap,rhs:map.rhs }); > + ? ?mappings.addUserMap(map.modes, map.names, map.description, map.action, { > + ? ? ? ?flags:map.flags,noremap:map.noremap,rhs:map.rhs,count:map.count,arg:map.arg,motion:map.motion > + ? ?}); > ?} > ?function parseKeys(keys){ > ? ? var matches = /^\d+(?=\D)/.exec(keys); > > --- > > Best regards. > > > 2009/7/2 Olivier Gu?ry : >> Hello, >> >> The feedsomekeys? plugin stop working for me with the last git? >> >> Is there something I can do to make it work again?? >> >> Cheers, >> Olivier. >> >> [1] http://vimperator.org/trac/ticket/48 >> [2] commit b60221675e3900e6371fd1c406a74c3b8886b763 >> Author: Doug Kearns >> Date: ? Mon Jun 29 19:06:40 2009 +1000 >> >> >> -- >> [Message tap? sur un clavier B?po : http://www.bepo.fr ] >> http://nemolivier.blogspot.com >> _______________________________________________ >> Vimperator mailing list >> Vimperator at mozdev.org >> https://www.mozdev.org/mailman/listinfo/vimperator >> > > > -- > snaka > http://sumimasen2.blogspot.com/ > http://d.hatena.ne.jp/snaka72/ > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -- [Message tap? sur un clavier B?po : http://www.bepo.fr ] http://nemolivier.blogspot.com From stubenschrott at vimperator.org Fri Jul 3 00:08:17 2009 From: stubenschrott at vimperator.org (Martin Stubenschrott) Date: Fri, 03 Jul 2009 09:08:17 +0200 Subject: [Vimperator] preference window always open in new window? In-Reply-To: References: Message-ID: <4A4DAE61.7030801@vimperator.org> On 07/02/2009 11:21 PM, Ye Xu wrote: > Hello everyone, > > After upgrade to vimperator 2.1 with firefox 3.5, the command :pref > will always open firefox preference in new window, even though I had > already :set newtab=all. and also tried :set newtab=pref, the same, so > is it an existing bug or I had missed something? thx a lot! Of course it would be nice if :prefs would work in a tab rather than a dialog, but it had bugs (e.g. crashing firefox, or not enumerating fonts in the font chooser), so we left it as a dialog. Also it probably would not work well as a tab in other vimperator-like applications like muttator or xulmus. From ye.xu.hdm at gmail.com Fri Jul 3 00:10:27 2009 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Fri, 3 Jul 2009 09:10:27 +0200 Subject: [Vimperator] preference window always open in new window? In-Reply-To: <4A4DAE61.7030801@vimperator.org> References: <4A4DAE61.7030801@vimperator.org> Message-ID: thx both of you for the quick answers, :) ------------------------ K.I.S.S. On Fri, Jul 3, 2009 at 09:08, Martin Stubenschrott wrote: > On 07/02/2009 11:21 PM, Ye Xu wrote: > >> Hello everyone, >> >> After upgrade to vimperator 2.1 with firefox 3.5, the command :pref >> will always open firefox preference in new window, even though I had >> already :set newtab=all. and also tried :set newtab=pref, the same, so >> is it an existing bug or I had missed something? thx a lot! > > > Of course it would be nice if :prefs would work in a tab rather than a dialog, > but it had bugs (e.g. crashing firefox, or not enumerating fonts in the font > chooser), so we left it as a dialog. > > Also it probably would not work well as a tab in other vimperator-like applications > like muttator or xulmus. > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From jerome at aranha.fr Fri Jul 3 02:26:35 2009 From: jerome at aranha.fr (=?ISO-8859-1?Q?J=E9r=F4me?=) Date: Fri, 03 Jul 2009 11:26:35 +0200 Subject: [Vimperator] help! Message-ID: <1246613195.15978.7.camel@jdautz.aranha.ici> I like this command : :help! ^_^ -- J?r?me Dautzenberg "N?attribuez jamais ? la malveillance ce qui peut s?expliquer par la stupidit?." From maxauthority at vimperator.org Fri Jul 3 02:40:15 2009 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 3 Jul 2009 11:40:15 +0200 Subject: [Vimperator] help! In-Reply-To: <1246613195.15978.7.camel@jdautz.aranha.ici> References: <1246613195.15978.7.camel@jdautz.aranha.ici> Message-ID: That's why it's here :) Best regards On Fri, Jul 3, 2009 at 11:26 AM, J?r?me wrote: > I like this command : > > :help! > > ^_^ > > -- > J?r?me Dautzenberg > "N?attribuez jamais ? la malveillance ce qui > peut s?expliquer par la ?stupidit?." > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From ye.xu.hdm at gmail.com Fri Jul 3 02:41:58 2009 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Fri, 3 Jul 2009 11:41:58 +0200 Subject: [Vimperator] help! In-Reply-To: References: <1246613195.15978.7.camel@jdautz.aranha.ici> Message-ID: don't panic! ------------------------ K.I.S.S. On Fri, Jul 3, 2009 at 11:40, Martin Stubenschrott wrote: > That's why it's here :) > > Best regards > > On Fri, Jul 3, 2009 at 11:26 AM, J?r?me wrote: >> I like this command : >> >> :help! >> >> ^_^ >> >> -- >> J?r?me Dautzenberg >> "N?attribuez jamais ? la malveillance ce qui >> peut s?expliquer par la ?stupidit?." >> >> _______________________________________________ >> 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 Florian.Schmidt at cs.rwth-aachen.de Fri Jul 3 07:14:32 2009 From: Florian.Schmidt at cs.rwth-aachen.de (Florian Schmidt) Date: Fri, 03 Jul 2009 16:14:32 +0200 Subject: [Vimperator] d/D/bdelete/... behavior Message-ID: Hi, I've been using vimperator for some time now, and I love being able to control my browser without reaching for the mouse every time, and in vim syntax. I had used 1.2 for some time. Due to the problems with other extensions breaking vim and/or vice versa, I kept at that version for a long time; actually, all the way until 2.1 was released. I now realized what seems to be a change in behavior by the two versions: Before, "d" (and I assume the full commands too, I rarely used them) closed a tab, and I assume did not explicitly choose a new tab to display. This meant that the user returned the to last tab focused before the current (just closed) tab. I liked this very much for most situations. Now, I like the new behavior too, because sometimes it's exactly what I want. But I'd bind it to a different hotkey, and prefer to have "d" behave as before. However, I can't figure out how to do that. Is there a way to change back to the old behavior? I don't mind much if it means creating a small script in my .vimperatorrc myself, but I'm lost where to start. It seems "d" is a hotkey for "bdelete", and that has the new behavior inside its function without an easy way to change it from outside. Thanks in advance for any pointers. Florian -- Florian Schmidt, Ph.D. Student Distributed Systems Group Chair for Computer Science IV, RWTH Aachen, Germany http://ds.cs.rwth-aachen.de/members/schmidt -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2478 bytes Desc: not available URL: From maxauthority at vimperator.org Fri Jul 3 07:29:05 2009 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 3 Jul 2009 16:29:05 +0200 Subject: [Vimperator] d/D/bdelete/... behavior In-Reply-To: References: Message-ID: :map d should restore the old behavior (just mapping d to firefox's ctrl-w behavior) On Fri, Jul 3, 2009 at 4:14 PM, Florian Schmidt wrote: > Hi, > > I've been using vimperator for some time now, and I love being able to > control my browser without reaching for the mouse every time, and in vim > syntax. > I had used 1.2 for some time. Due to the problems with other extensions > breaking vim and/or vice versa, I kept at that version for a long time; > actually, all the way until 2.1 was released. I now realized what seems to > be a change in behavior by the two versions: > > Before, "d" (and I assume the full commands too, I rarely used them) closed > a tab, and I assume did not explicitly choose a new tab to display. This > meant that the user returned the to last tab focused before the current > (just closed) tab. I liked this very much for most situations. > Now, I like the new behavior too, because sometimes it's exactly what I > want. But I'd bind it to a different hotkey, and prefer to have "d" behave > as before. However, I can't figure out how to do that. Is there a way to > change back to the old behavior? I don't mind much if it means creating a > small script in my .vimperatorrc myself, but I'm lost where to start. It > seems "d" is a hotkey for "bdelete", and that has the new behavior inside > its function without an easy way to change it from outside. > > Thanks in advance for any pointers. > > Florian > > -- > Florian Schmidt, Ph.D. Student > Distributed Systems Group > Chair for Computer Science IV, RWTH Aachen, Germany > http://ds.cs.rwth-aachen.de/members/schmidt > > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > > From Florian.Schmidt at cs.rwth-aachen.de Fri Jul 3 08:00:38 2009 From: Florian.Schmidt at cs.rwth-aachen.de (Florian Schmidt) Date: Fri, 03 Jul 2009 17:00:38 +0200 Subject: [Vimperator] d/D/bdelete/... behavior In-Reply-To: References: Message-ID: <303E2D36-C69A-4611-AA61-30676B1D1B3C@cs.rwth-aachen.de> On Jul 3, 2009, at 4:29 PM, Martin Stubenschrott wrote: > :map d should restore the old behavior (just mapping d to > firefox's ctrl-w behavior) That sounds like it's the way to go, thanks. One question and one problem though: 1) Why the before the ? 2) I'm running firefox with vimperator on a Mac. the shortcut there is Option-W instead of Ctrl-W. vi documents tell me that using a D instead of a C should work. However, it doesn't do anything. Not even an error bell. Which makes me wonder whether I'm having a fundamental problem there? Other :maps seem to work, e.g. I tried ":map d HH" and ended up going back twice when hitting d. Florian -- Florian Schmidt, Ph.D. Student Distributed Systems Group Chair for Computer Science IV, RWTH Aachen, Germany http://ds.cs.rwth-aachen.de/members/schmidt -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2478 bytes Desc: not available URL: From maglione.k at gmail.com Fri Jul 3 08:04:51 2009 From: maglione.k at gmail.com (Kris Maglione) Date: Fri, 3 Jul 2009 11:04:51 -0400 Subject: [Vimperator] d/D/bdelete/... behavior In-Reply-To: <303E2D36-C69A-4611-AA61-30676B1D1B3C@cs.rwth-aachen.de> References: <303E2D36-C69A-4611-AA61-30676B1D1B3C@cs.rwth-aachen.de> Message-ID: <20090703150451.GA22764@jg.domain_not_set.invalid> On Fri, Jul 03, 2009 at 05:00:38PM +0200, Florian Schmidt wrote: > 1) Why the before the ? :help > 2) I'm running firefox with vimperator on a Mac. the shortcut there is > Option-W instead of Ctrl-W. vi documents tell me that using a D instead > of a C should work. However, it doesn't do anything. Not even an error > bell. Which makes me wonder whether I'm having a fundamental problem > there? Other :maps seem to work, e.g. I tried ":map d HH" and ended up > going back twice when hitting d. Isn't it Command-W? In which case, use instead of . -- Kris Maglione I can hardly see how anyone ought to wish Christianity to be true; for if so the plain language of the text seems to show that the men who do not believe, and this would include my Father, Brother, and almost all my best friends, will be everlastingly punished. And this is a damnable doctrine. --Charles Darwin From Florian.Schmidt at cs.rwth-aachen.de Fri Jul 3 08:12:10 2009 From: Florian.Schmidt at cs.rwth-aachen.de (Florian Schmidt) Date: Fri, 03 Jul 2009 17:12:10 +0200 Subject: [Vimperator] d/D/bdelete/... behavior In-Reply-To: <20090703150451.GA22764@jg.domain_not_set.invalid> References: <303E2D36-C69A-4611-AA61-30676B1D1B3C@cs.rwth-aachen.de> <20090703150451.GA22764@jg.domain_not_set.invalid> Message-ID: <5184DCCD-6C30-4D57-9022-B78A50C12D97@cs.rwth-aachen.de> On Jul 3, 2009, at 5:04 PM, Kris Maglione wrote: > On Fri, Jul 03, 2009 at 05:00:38PM +0200, Florian Schmidt wrote: >> 1) Why the before the ? > > :help Whoops... yeah, I could've thought of trying that... my fault. >> 2) I'm running firefox with vimperator on a Mac. the shortcut there >> is Option-W instead of Ctrl-W. vi documents tell me that using a D >> instead of a C should work. However, it doesn't do anything. Not >> even an error bell. Which makes me wonder whether I'm having a >> fundamental problem there? Other :maps seem to work, e.g. I tried >> ":map d HH" and ended up going back twice when hitting d. > Isn't it Command-W? In which case, use instead of . And... umm... you're right again. I'll blame it on not being able to think straight because of the heat in my office. Thanks a lot, both of you, "map d " solved all my needs. Florian -- Florian Schmidt, Ph.D. Student Distributed Systems Group Chair for Computer Science IV, RWTH Aachen, Germany http://ds.cs.rwth-aachen.de/members/schmidt -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2478 bytes Desc: not available URL: From chousuke at gmail.com Sat Jul 4 07:07:50 2009 From: chousuke at gmail.com (Jarkko Oranen) Date: Sat, 4 Jul 2009 17:07:50 +0300 Subject: [Vimperator] [PATCH] Make the "empty page" configurable Message-ID: Hi. Currently, Liberator hardcodes "about:blank" as the URL opened when a new empty tab is created or when the last tab is deleted. I find about:blank a bit boring; thus, the attached patch adds an 'emptypage' option (defaulting to "about:blank") for specifying an arbitrary URL. (Actually, anything that :open accepts will work) To prevent funky behaviour, 'emptypage' defaults to the user's homepage setting if the variable is set to an empty string. If this is wrong for non-firefox liberated apps, it'll be trivial to change that to "about:blank". I didn't test this on Xulmus or Muttator, but the changes are rather simple, so hopefully it will not break anything. :) -- Jarkko From chousuke at gmail.com Sat Jul 4 07:18:38 2009 From: chousuke at gmail.com (Jarkko Oranen) Date: Sat, 4 Jul 2009 17:18:38 +0300 Subject: [Vimperator] [PATCH] Make the "empty page" configurable, take two References: Message-ID: <221DB3AB-95BB-4A0D-92E6-D4C7C963143C@gmail.com> Aaand here's the actual patch... > Hi. > > Currently, Liberator hardcodes "about:blank" as the URL opened when > a new empty tab is created or when the last tab is deleted. I find > about:blank a bit boring; thus, the attached patch > adds an 'emptypage' option (defaulting to "about:blank") for > specifying an arbitrary URL. (Actually, anything that :open accepts > will work) > > To prevent funky behaviour, 'emptypage' defaults to the user's > homepage setting if the variable > is set to an empty string. If this is wrong for non-firefox > liberated apps, it'll be trivial to change that to "about:blank". > > I didn't test this on Xulmus or Muttator, but the changes are rather > simple, so hopefully it will not break anything. :) > > -- > Jarkko -------------- next part -------------- A non-text attachment was scrubbed... Name: add-emptypage-option.patch Type: application/octet-stream Size: 6534 bytes Desc: not available URL: From stubenschrott at vimperator.org Sat Jul 4 07:47:43 2009 From: stubenschrott at vimperator.org (Martin Stubenschrott) Date: Sat, 04 Jul 2009 16:47:43 +0200 Subject: [Vimperator] [PATCH] Make the "empty page" configurable, take two In-Reply-To: <221DB3AB-95BB-4A0D-92E6-D4C7C963143C@gmail.com> References: <221DB3AB-95BB-4A0D-92E6-D4C7C963143C@gmail.com> Message-ID: <4A4F6B8F.3070806@vimperator.org> I still have to do a thorough analysis of the patch, but 2 things which i immediately saw: 1.) indention is sometimes wrong, see HACKING file in the repo 2.) default should probably be "", so that it inherits from browser.startup.homepage by default. However, shouldn't we generally just change browser.startup.homepage? I mean, it's wrong to do something different on :tabopen than with File->New tab. Then a ":set homepage" would just be a shortcut to :set! browser.startup.homepage (which would be ok for me, to make such things like changing the homepage easier/clearer). -- Martin From chousuke at gmail.com Sat Jul 4 08:12:19 2009 From: chousuke at gmail.com (Jarkko Oranen) Date: Sat, 4 Jul 2009 18:12:19 +0300 Subject: [Vimperator] [PATCH] Make the "empty page" configurable, take two In-Reply-To: <4A4F6B8F.3070806@vimperator.org> References: <221DB3AB-95BB-4A0D-92E6-D4C7C963143C@gmail.com> <4A4F6B8F.3070806@vimperator.org> Message-ID: <64DF8262-FFA5-4EF4-AC3E-4D6471BFE9EE@gmail.com> On 4 Jul 2009, at 17:47, Martin Stubenschrott wrote: > I still have to do a thorough analysis of the patch, > but 2 things which i immediately saw: > > 1.) indention is sometimes wrong, see HACKING file in the repo > 2.) default should probably be "", so that it inherits > from browser.startup.homepage by default. My vim doesn't seem to respect the modeline at the end of the file. I don't know why that is. :/ Anyway, making the default browser.startup.homepage breaks current default behaviour (about:blank) > However, shouldn't we generally just change browser.startup.homepage? > I mean, it's wrong to do something different on :tabopen than with > File->New tab. Vimperator already does something different. It ignores the user's home page and opens about:blank; But of course, it would be easy to change that. Though for new tabs my FF seems to open about:blank anyway, and I don't know where to configure that. > Then a ":set homepage" would just be a shortcut to :set! > browser.startup.homepage > (which would be ok for me, to make such things like changing the > homepage > easier/clearer). > > -- > Martin > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator From hessiess at hessiess.com Sat Jul 4 10:08:17 2009 From: hessiess at hessiess.com (hessiess at hessiess.com) Date: Sat, 4 Jul 2009 18:08:17 +0100 (BST) Subject: [Vimperator] Major problems with vimp and firefox 3.5 Message-ID: <465749f3766ac0229064cefe1c5da746.squirrel@www.hessiess.dyndns.org> Don't know if this is a known issue, but I have bean having massive problems with Vimp and ff3.5. firstly the page keeps unfocusing, making the movement keys do nothing. Pressing f often does not display hints and I keep getting ``type error: window content is null'' errors with the o and t commands to open a new page. From hessiess at hessiess.com Sat Jul 4 10:08:20 2009 From: hessiess at hessiess.com (hessiess at hessiess.com) Date: Sat, 4 Jul 2009 18:08:20 +0100 (BST) Subject: [Vimperator] Major problems with vimp and firefox 3.5 Message-ID: <874e44b9bf45d16c9f53b16bf2fb11a8.squirrel@www.hessiess.dyndns.org> Don't know if this is a known issue, but I have bean having massive problems with Vimp and ff3.5. firstly the page keeps unfocusing, making the movement keys do nothing. Pressing f often does not display hints and I keep getting ``type error: window content is null'' errors with the o and t commands to open a new page. From gary.katsevman at gmail.com Sat Jul 4 11:31:11 2009 From: gary.katsevman at gmail.com (Gary Katsevman) Date: Sat, 4 Jul 2009 14:31:11 -0400 Subject: [Vimperator] [PATCH] Make the "empty page" configurable, take two In-Reply-To: <64DF8262-FFA5-4EF4-AC3E-4D6471BFE9EE@gmail.com> References: <221DB3AB-95BB-4A0D-92E6-D4C7C963143C@gmail.com> <4A4F6B8F.3070806@vimperator.org> <64DF8262-FFA5-4EF4-AC3E-4D6471BFE9EE@gmail.com> Message-ID: <97265dfa0907041131m454effdaha9616f34a27c726f@mail.gmail.com> By default vim does not accept modelines. ------------------------ Gary Katsevman Computer Science Undergraduate Northeastern University gkatsev at ccs.neu.edu gary.katsevman.com On Sat, Jul 4, 2009 at 11:12, Jarkko Oranen wrote: > On 4 Jul 2009, at 17:47, Martin Stubenschrott wrote: >> >> I still have to do a thorough analysis of the patch, >> but 2 things which i immediately saw: >> >> 1.) indention is sometimes wrong, see HACKING file in the repo >> 2.) default should probably be "", so that it inherits >> from browser.startup.homepage by default. > > My vim doesn't seem to respect the modeline at the end of the file. I don't > know why that is. :/ > > Anyway, making the default browser.startup.homepage breaks current default > behaviour (about:blank) > >> However, shouldn't we generally just change browser.startup.homepage? >> I mean, it's wrong to do something different on :tabopen than with >> File->New tab. > > Vimperator already does something different. It ignores the user's home page > and opens about:blank; ?But of course, it would be easy to change that. > Though for new tabs my FF seems to open about:blank anyway, and I don't know > where to configure that. > >> Then a ":set homepage" would just be a shortcut to :set! >> browser.startup.homepage >> (which would be ok for me, to make such things like changing the homepage >> easier/clearer). >> >> -- >> Martin >> _______________________________________________ >> 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 mftian at gmail.com Sat Jul 4 11:32:47 2009 From: mftian at gmail.com (Xie&Tian) Date: Sun, 5 Jul 2009 02:32:47 +0800 Subject: [Vimperator] [plugin] search marker clone Message-ID: Hello everybody Attached is a plug-in which migrates Search Marker by Mattk(https://addons.mozilla.org/en-US/firefox/addon/1823). It is the one feature that I miss in Vimperator. The code is ugly but it works. Hope it would be helpful :p -- Xie From mftian at gmail.com Sat Jul 4 11:34:13 2009 From: mftian at gmail.com (Xie&Tian) Date: Sun, 5 Jul 2009 02:34:13 +0800 Subject: [Vimperator] [plugin] search marker clone In-Reply-To: References: Message-ID: 2009/7/5 Xie&Tian : > Hello everybody > > Attached is a plug-in which migrates Search Marker by > Mattk(https://addons.mozilla.org/en-US/firefox/addon/1823). It is the > one feature that I miss in Vimperator. The code is ugly but it works. > Hope it would be helpful :p > > > -- Xie > Oops, here it is -------------- next part -------------- A non-text attachment was scrubbed... Name: searchmarker.js Type: application/x-javascript Size: 3693 bytes Desc: not available URL: From maglione.k at gmail.com Sat Jul 4 11:39:10 2009 From: maglione.k at gmail.com (Kris Maglione) Date: Sat, 4 Jul 2009 14:39:10 -0400 Subject: [Vimperator] [plugin] search marker clone In-Reply-To: References: Message-ID: <20090704183910.GC22764@jg.domain_not_set.invalid> On Sun, Jul 05, 2009 at 02:34:13AM +0800, Xie&Tian wrote: >2009/7/5 Xie&Tian : >> Hello everybody >> >> Attached is a plug-in which migrates Search Marker by >> Mattk(https://addons.mozilla.org/en-US/firefox/addon/1823). It is the >> one feature that I miss in Vimperator. The code is ugly but it works. >> Hope it would be helpful :p > >Oops, here it is I just feel the need to mention that the closure is unnecessary. Vimperator plugins get their own namespaces. -- Kris Maglione One of my most productive days was throwing away 1000 lines of code. --Ken Thompson From mftian at gmail.com Sat Jul 4 11:47:16 2009 From: mftian at gmail.com (Xie&Tian) Date: Sun, 5 Jul 2009 02:47:16 +0800 Subject: [Vimperator] [plugin] search marker clone In-Reply-To: <20090704183910.GC22764@jg.domain_not_set.invalid> References: <20090704183910.GC22764@jg.domain_not_set.invalid> Message-ID: 2009/7/5 Kris Maglione : > On Sun, Jul 05, 2009 at 02:34:13AM +0800, Xie&Tian wrote: >> >> 2009/7/5 Xie&Tian : >>> >>> Hello everybody >>> >>> Attached is a plug-in which migrates Search Marker by >>> Mattk(https://addons.mozilla.org/en-US/firefox/addon/1823). It is the >>> one feature that I miss in Vimperator. The code is ugly but it works. >>> Hope it would be helpful :p >> >> Oops, here it is > > I just feel the need to mention that the closure is unnecessary. Vimperator > plugins get their own namespaces. > Thanks Kris. I'd say that I'm quite impressed by Vimperator's way to encapsulate everything. > -- > Kris Maglione > > One of my most productive days was throwing away 1000 lines of code. > ? ? ? ?--Ken Thompson > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From stubenschrott at vimperator.org Sat Jul 4 12:45:10 2009 From: stubenschrott at vimperator.org (Martin Stubenschrott) Date: Sat, 04 Jul 2009 21:45:10 +0200 Subject: [Vimperator] Major problems with vimp and firefox 3.5 In-Reply-To: <465749f3766ac0229064cefe1c5da746.squirrel@www.hessiess.dyndns.org> References: <465749f3766ac0229064cefe1c5da746.squirrel@www.hessiess.dyndns.org> Message-ID: <4A4FB146.4050300@vimperator.org> On 07/04/2009 07:08 PM, hessiess at hessiess.com wrote: > Don't know if this is a known issue, but I have bean having massive > problems with Vimp and ff3.5. firstly the page keeps unfocusing, making > the movement keys do nothing. Pressing f often does not display hints and > I keep getting ``type error: window content is null'' errors with the o > and t commands to open a new page. Please try a new profile or at least disabling all other add-ons as it's probably a conflict with another extension. From snaka.gml at gmail.com Sat Jul 4 14:32:22 2009 From: snaka.gml at gmail.com (Nakamatsu Shinji) Date: Sun, 5 Jul 2009 06:32:22 +0900 Subject: [Vimperator] feedsomekeys.js and last git In-Reply-To: <5c2c86e70907021602r5c8281d9k552daeed7c77b690@mail.gmail.com> References: <5c2c86e70907011204o55189423ja94f511ca822502a@mail.gmail.com> <1b9889850907011539k45ca36a8hacfc9515caa58026@mail.gmail.com> <5c2c86e70907021602r5c8281d9k552daeed7c77b690@mail.gmail.com> Message-ID: <1b9889850907041432u2ddfc788vd9a3678842a380b@mail.gmail.com> feedSomeKeys_2.js's source code is published on the repository as follows. http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/feedSomeKeys_2.js A few day ago, The change seems to follow Vimperators's HEAD was added. Best regards. 2009/7/3 Olivier Gu?ry : > Thank?s a lot. > But this patch doesn?t seems to apply to the feedSomeKeys_2.js I found > on the web page?. > Is there a newer version I should use ? > > Olivier. > > [1] http://vimperator.org/trac/ticket/48 > > 2009/7/2 Nakamatsu Shinji : >> HI, Olivier. >> >> Here is the patch that Mr. Teramako who is the ?plugin's author >> published on his blog : >> >> ?Index: feedSomeKeys_2.js >> =================================================================== >> --- feedSomeKeys_2.js ? (????? 34207) >> +++ feedSomeKeys_2.js ? (?????) >> @@ -206,7 +206,14 @@ >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? origMap.names.map(function(n) n), >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? origMap.description, >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? origMap.action, >> - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?{ flags:origMap.flags, >> rhs:origMap.rhs, noremap:origMap.noremap }); >> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?{ >> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?flags:origMap.flags, >> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?rhs:origMap.rhs, >> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?noremap:origMap.noremap, >> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?count: origMap.cout, >> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?arg: origMap.arg, >> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?motion: origMap.motion >> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?}); >> ? ? ? ? ? ? origMaps.push(clone); >> ? ? ? ? } >> ? ? } >> @@ -216,7 +223,7 @@ >> ? ? ? ? ? ? for (var i=0; i> ? ? ? ? ? ? ? ? feedKeyIntoContent(feedKey, useVkey, eventName); >> ? ? ? ? ? ? } >> - ? ? ? ?}, { flags:Mappings.flags.COUNT, rhs:feedKey, noremap:true }); >> + ? ? ? ?}, { flags:(Mappings.flags ? Mappings.flags.COUNT : null), >> rhs:feedKey, noremap:true, count:true }); >> ? ? addUserMap(map); >> ? ? if (feedMaps.some(function(fmap){ >> ? ? ? ? if (fmap.names[0] != origKey) return false; >> @@ -238,7 +245,9 @@ >> ? ? feedMaps = []; >> ?} >> ?function addUserMap(map){ >> - ? ?mappings.addUserMap(map.modes, map.names, map.description, >> map.action, { flags:map.flags,noremap:map.noremap,rhs:map.rhs }); >> + ? ?mappings.addUserMap(map.modes, map.names, map.description, map.action, { >> + ? ? ? ?flags:map.flags,noremap:map.noremap,rhs:map.rhs,count:map.count,arg:map.arg,motion:map.motion >> + ? ?}); >> ?} >> ?function parseKeys(keys){ >> ? ? var matches = /^\d+(?=\D)/.exec(keys); >> >> --- >> >> Best regards. >> >> >> 2009/7/2 Olivier Gu?ry : >>> Hello, >>> >>> The feedsomekeys? plugin stop working for me with the last git? >>> >>> Is there something I can do to make it work again?? >>> >>> Cheers, >>> Olivier. >>> >>> [1] http://vimperator.org/trac/ticket/48 >>> [2] commit b60221675e3900e6371fd1c406a74c3b8886b763 >>> Author: Doug Kearns >>> Date: ? Mon Jun 29 19:06:40 2009 +1000 >>> >>> >>> -- >>> [Message tap? sur un clavier B?po : http://www.bepo.fr ] >>> http://nemolivier.blogspot.com >>> _______________________________________________ >>> Vimperator mailing list >>> Vimperator at mozdev.org >>> https://www.mozdev.org/mailman/listinfo/vimperator >>> >> >> >> -- >> snaka >> http://sumimasen2.blogspot.com/ >> http://d.hatena.ne.jp/snaka72/ >> _______________________________________________ >> Vimperator mailing list >> Vimperator at mozdev.org >> https://www.mozdev.org/mailman/listinfo/vimperator >> > > > > -- > [Message tap? sur un clavier B?po : http://www.bepo.fr ] > http://nemolivier.blogspot.com > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -- snaka http://sumimasen2.blogspot.com/ http://d.hatena.ne.jp/snaka72/ From jan.h.xie at gmail.com Sat Jul 4 20:43:35 2009 From: jan.h.xie at gmail.com (Jan) Date: Sun, 5 Jul 2009 11:43:35 +0800 Subject: [Vimperator] [plugin] search marker clone In-Reply-To: References: Message-ID: <20090705034335.GA6739@aiur> Pretty cool. One problem: if there's no match on the page, the grey vertical bar will still be shown on the right. Would it be better to hide it in such case? -J * Xie&Tian [2009-07-05 02:34:13 +0800]: > 2009/7/5 Xie&Tian : > > Hello everybody > > > > Attached is a plug-in which migrates Search Marker by > > Mattk(https://addons.mozilla.org/en-US/firefox/addon/1823). It is the > > one feature that I miss in Vimperator. The code is ugly but it works. > > Hope it would be helpful :p > > > > > > -- Xie > > > > Oops, here it is > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator -- jan=callcc{|jan|jan};jan.call(jan) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: From mftian at gmail.com Sat Jul 4 21:35:21 2009 From: mftian at gmail.com (Xie&Tian) Date: Sun, 5 Jul 2009 12:35:21 +0800 Subject: [Vimperator] [plugin] search marker clone In-Reply-To: <20090705034335.GA6739@aiur> References: <20090705034335.GA6739@aiur> Message-ID: 2009/7/5 Jan : > Pretty cool. One problem: if there's no match on the page, the grey vertical > bar will still be shown on the right. Would it be better to hide it in > such case? > > -J You're right. Here is the new version. > > * Xie&Tian [2009-07-05 02:34:13 +0800]: > >> 2009/7/5 Xie&Tian : >> > Hello everybody >> > >> > Attached is a plug-in which migrates Search Marker by >> > Mattk(https://addons.mozilla.org/en-US/firefox/addon/1823). It is the >> > one feature that I miss in Vimperator. The code is ugly but it works. >> > Hope it would be helpful :p >> > >> > >> > -- Xie >> > >> >> Oops, here it is > > >> _______________________________________________ >> Vimperator mailing list >> Vimperator at mozdev.org >> https://www.mozdev.org/mailman/listinfo/vimperator > > > -- > jan=callcc{|jan|jan};jan.call(jan) > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > > -------------- next part -------------- A non-text attachment was scrubbed... Name: searchmarker.js Type: application/x-javascript Size: 3650 bytes Desc: not available URL: From jan.h.xie at gmail.com Sat Jul 4 22:51:13 2009 From: jan.h.xie at gmail.com (Jan) Date: Sun, 5 Jul 2009 13:51:13 +0800 Subject: [Vimperator] [plugin] search marker clone In-Reply-To: References: <20090705034335.GA6739@aiur> Message-ID: <20090705055113.GA20059@aiur> * Xie&Tian [2009-07-05 12:35:21 +0800]: > 2009/7/5 Jan : > > Pretty cool. One problem: if there's no match on the page, the grey vertical > > bar will still be shown on the right. Would it be better to hide it in > > such case? > > > > -J > > You're right. Here is the new version. Thanks for the quick patch :-) -- jan=callcc{|jan|jan};jan.call(jan) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: From hessiess at hessiess.com Sun Jul 5 14:33:22 2009 From: hessiess at hessiess.com (hessiess at hessiess.com) Date: Sun, 5 Jul 2009 22:33:22 +0100 (BST) Subject: [Vimperator] Major problems with vimp and firefox 3.5 In-Reply-To: <4A4FB146.4050300@vimperator.org> References: <465749f3766ac0229064cefe1c5da746.squirrel@www.hessiess.dyndns.org> <4A4FB146.4050300@vimperator.org> Message-ID: > On 07/04/2009 07:08 PM, hessiess at hessiess.com wrote: > >> Don't know if this is a known issue, but I have bean having massive >> problems with Vimp and ff3.5. firstly the page keeps unfocusing, making >> the movement keys do nothing. Pressing f often does not display hints >> and >> I keep getting ``type error: window content is null'' errors with the o >> and t commands to open a new page. > > > Please try a new profile or at least disabling all other add-ons as it's > probably a conflict with another extension. > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > Thanks, creating a new profile did fix the problem. From norm at gnurple.net Tue Jul 7 06:45:42 2009 From: norm at gnurple.net (Josh Audette) Date: Tue, 07 Jul 2009 09:45:42 -0400 Subject: [Vimperator] Ff 3.5 - tab count update issue Message-ID: <4A535186.9050909@gnurple.net> The Vimperator status bar used to be perfect at keeping track of how many tabs are open and which one you're on (e.g. 8/15, visible in the bottom right of the status bar). I've noticed after upgrading to Ff 3.5 that when you delete tabs, the count is consistently off by one and stays that way until you change tabs. For example, I see [11/11]. I hit "d". Now I see [10/11]. I hit "d" again. I see [9/10]. I do CTRL+PgUp to view tab 8. Now I see [8/9]. Strange, no? I didn't see this mentioned in earlier posts so I thought I'd bring it up. Cheers, Josh From ted at tedpavlic.com Tue Jul 7 14:16:18 2009 From: ted at tedpavlic.com (Ted Pavlic) Date: Tue, 07 Jul 2009 17:16:18 -0400 Subject: [Vimperator] Ff 3.5 - tab count update issue In-Reply-To: <4A535186.9050909@gnurple.net> References: <4A535186.9050909@gnurple.net> Message-ID: <4A53BB22.9030307@tedpavlic.com> I think this has been discussed, but it was discussed in reference to guioptions+=n. The number associated with each tab doesn't get updated on every event that it should be. For example, create four tabs. Click on tab #2. Delete it (using FF hotkeys, mouse, or "d"). Tabs 1, 3, and 4 keep their number. Likewise, the tab count in the status bar doesn't get updated. Now click on tab 4. Everything will get updated when tab 4 is focused. In the guioptions+=n discussion, there was some consensus that this was a problem in FF introduced by FF3.5. It's only Vimperator users who were sensitive enough to notice it. --Ted On 7/7/09 9:45 AM, Josh Audette wrote: > The Vimperator status bar used to be perfect at keeping track of how > many tabs are open and which one you're on (e.g. 8/15, visible in the > bottom right of the status bar). > > I've noticed after upgrading to Ff 3.5 that when you delete tabs, the > count is consistently off by one and stays that way until you change tabs. > > For example, I see [11/11]. I hit "d". > Now I see [10/11]. I hit "d" again. > I see [9/10]. I do CTRL+PgUp to view tab 8. > Now I see [8/9]. > > Strange, no? I didn't see this mentioned in earlier posts so I thought > I'd bring it up. > > Cheers, > Josh > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -- Ted Pavlic Please visit my 2009 d'Feet ALS walk page: http://web.alsa.org/goto/tedp My family appreciates your support in the fight to defeat ALS. From ted at tedpavlic.com Wed Jul 8 06:13:22 2009 From: ted at tedpavlic.com (Ted Pavlic) Date: Wed, 08 Jul 2009 09:13:22 -0400 Subject: [Vimperator] Error console on Windows with Vimp-HEAD Message-ID: <4A549B72.2010000@tedpavlic.com> Has anyone noticed that the Error Console pops up when the latest Vimperator-git loads on Windows? It has no errors listed. I haven't had a chance to investigate (e.g., look at the console while the Windows version is starting), but this behavior was definitely introduced when I updated to HEAD today. --Ted -- Ted Pavlic Please visit my 2009 d'Feet ALS walk page: http://web.alsa.org/goto/tedp My family appreciates your support in the fight to defeat ALS. From ted at tedpavlic.com Wed Jul 8 06:57:56 2009 From: ted at tedpavlic.com (Ted Pavlic) Date: Wed, 08 Jul 2009 09:57:56 -0400 Subject: [Vimperator] Error console on Windows with Vimp-HEAD In-Reply-To: <4A549B72.2010000@tedpavlic.com> References: <4A549B72.2010000@tedpavlic.com> Message-ID: <4A54A5E4.8050208@tedpavlic.com> Strangely, I don't have this problem on the 7/8 nightly available from vimperator.org. It's only the vimperator-2.2a1pre.xpi built locally from git... --Ted On 7/8/09 9:13 AM, Ted Pavlic wrote: > Has anyone noticed that the Error Console pops up when the latest > Vimperator-git loads on Windows? It has no errors listed. > > I haven't had a chance to investigate (e.g., look at the console while > the Windows version is starting), but this behavior was definitely > introduced when I updated to HEAD today. > > --Ted > -- Ted Pavlic Please visit my 2009 d'Feet ALS walk page: http://web.alsa.org/goto/tedp My family appreciates your support in the fight to defeat ALS. From norm at gnurple.net Wed Jul 8 07:35:27 2009 From: norm at gnurple.net (Josh Audette) Date: Wed, 08 Jul 2009 10:35:27 -0400 Subject: [Vimperator] Ff 3.5 - tab count update issue In-Reply-To: <4A53BB22.9030307@tedpavlic.com> References: <4A535186.9050909@gnurple.net> <4A53BB22.9030307@tedpavlic.com> Message-ID: <4A54AEAF.8000602@gnurple.net> Ted Pavlic wrote: > In the guioptions+=n discussion, there was some consensus that this > was a problem in FF introduced by FF3.5. It's only Vimperator users > who were sensitive enough to notice it. Thanks, Ted! Hopefully this will be resolved in the next Ff 3.5.x release, then. I also hope that the next release will have an option to bring back he mouse cursor loading throbber. Apparently Ff. got rid of this because the two throbbers in the tabs and toolbar were enough. I suspect most Vimperator users (Vimperatorers?) don't see either of those, though. Perhaps, if they don't restore this, we could put some indication in the Vimp. status bar that the page is completely loaded. (maybe there's a way to do that already that I don't know of) Best regards, Josh Audette From maxauthority at vimperator.org Wed Jul 8 07:44:46 2009 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Wed, 8 Jul 2009 16:44:46 +0200 Subject: [Vimperator] Ff 3.5 - tab count update issue In-Reply-To: <4A54AEAF.8000602@gnurple.net> References: <4A535186.9050909@gnurple.net> <4A53BB22.9030307@tedpavlic.com> <4A54AEAF.8000602@gnurple.net> Message-ID: The tab throbbing is/was our problem and should be fixed in vimp 2.1 unless you have guioptions=n, where this doesn't work, and can't be easily fixed i think. On Wed, Jul 8, 2009 at 4:35 PM, Josh Audette wrote: > Ted Pavlic wrote: >> In the guioptions+=n discussion, there was some consensus that this >> was a problem in FF introduced by FF3.5. It's only Vimperator users >> who were sensitive enough to notice it. > > Thanks, Ted! > > Hopefully this will be resolved in the next Ff 3.5.x release, then. > > I also hope that the next release will have an option to bring back he > mouse cursor loading throbber. ?Apparently Ff. got rid of this because > the two throbbers in the tabs and toolbar were enough. > > I suspect most Vimperator users (Vimperatorers?) don't see either of > those, though. ?Perhaps, if they don't restore this, we could put some > indication in the Vimp. status bar that the page is completely loaded. > > (maybe there's a way to do that already that I don't know of) > > > Best regards, > Josh Audette > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From dougkearns at gmail.com Wed Jul 8 07:48:17 2009 From: dougkearns at gmail.com (Doug Kearns) Date: Thu, 9 Jul 2009 00:48:17 +1000 Subject: [Vimperator] Error console on Windows with Vimp-HEAD In-Reply-To: <4A549B72.2010000@tedpavlic.com> References: <4A549B72.2010000@tedpavlic.com> Message-ID: <644fc65e0907080748k7c1cae5cofeb0f21322212a60@mail.gmail.com> On 7/8/09, Ted Pavlic wrote: > Has anyone noticed that the Error Console pops up when the latest > Vimperator-git loads on Windows? It has no errors listed. > > I haven't had a chance to investigate (e.g., look at the console while the > Windows version is starting), but this behavior was definitely introduced > when I updated to HEAD today. I just noticed an incompatibility with Console2 0.5. For reasons I haven't investigated it seems to try and merge Vimperator commandline with the search box. You didn't just update Console2 did you? Doug From dougkearns at gmail.com Wed Jul 8 07:58:02 2009 From: dougkearns at gmail.com (Doug Kearns) Date: Thu, 9 Jul 2009 00:58:02 +1000 Subject: [Vimperator] Ff 3.5 - tab count update issue In-Reply-To: References: <4A535186.9050909@gnurple.net> <4A53BB22.9030307@tedpavlic.com> <4A54AEAF.8000602@gnurple.net> Message-ID: <644fc65e0907080758p53111441h76242fa8e014dbaf@mail.gmail.com> On 7/9/09, Martin Stubenschrott wrote: > The tab throbbing is/was our problem and should be fixed in vimp 2.1 > unless you have guioptions=n, > where this doesn't work, and can't be easily fixed i think. No, what Josh said was right. This time... ;-) Doug From norm at gnurple.net Wed Jul 8 08:11:49 2009 From: norm at gnurple.net (Josh Audette) Date: Wed, 08 Jul 2009 11:11:49 -0400 Subject: [Vimperator] Ff 3.5 - tab count update issue In-Reply-To: References: <4A535186.9050909@gnurple.net> <4A53BB22.9030307@tedpavlic.com> <4A54AEAF.8000602@gnurple.net> Message-ID: <4A54B735.4020704@gnurple.net> Martin Stubenschrott wrote: > The tab throbbing is/was our problem and should be fixed in vimp 2.1 > unless you have guioptions=n, where this doesn't work, and can't be > easily fixed i think. I was referring to the mouse throbber which was removed in 3.5. (I do run Vimp. 2.1 with 'guioptions=') Best regards, Josh Audette From dougkearns at gmail.com Thu Jul 9 02:10:55 2009 From: dougkearns at gmail.com (Doug Kearns) Date: Thu, 9 Jul 2009 19:10:55 +1000 Subject: [Vimperator] [PATCH] Make the "empty page" configurable, take two In-Reply-To: <221DB3AB-95BB-4A0D-92E6-D4C7C963143C@gmail.com> References: <221DB3AB-95BB-4A0D-92E6-D4C7C963143C@gmail.com> Message-ID: <644fc65e0907090210s74fa4221qd00c06a09d86420e@mail.gmail.com> On 7/5/09, Jarkko Oranen wrote: > Aaand here's the actual patch... > > > > Hi. > > > > Currently, Liberator hardcodes "about:blank" as the URL opened when a new > empty tab is created or when the last tab is deleted. I find about:blank a > bit boring; thus, the attached patch > > adds an 'emptypage' option (defaulting to "about:blank") for specifying an > arbitrary URL. (Actually, anything that :open accepts will work) > > > > To prevent funky behaviour, 'emptypage' defaults to the user's homepage > setting if the variable > > is set to an empty string. If this is wrong for non-firefox liberated > apps, it'll be trivial to change that to "about:blank". > > > > I didn't test this on Xulmus or Muttator, but the changes are rather > simple, so hopefully it will not break anything. :) Wouldn't using an autocommand be sufficient? Something like: :au DOMLoad about:blank js .location = "http://www.slashdot.org" Doug From chousuke at gmail.com Thu Jul 9 04:33:51 2009 From: chousuke at gmail.com (Jarkko Oranen) Date: Thu, 9 Jul 2009 14:33:51 +0300 Subject: [Vimperator] [PATCH] Make the "empty page" configurable, take two In-Reply-To: <644fc65e0907090210s74fa4221qd00c06a09d86420e@mail.gmail.com> References: <221DB3AB-95BB-4A0D-92E6-D4C7C963143C@gmail.com> <644fc65e0907090210s74fa4221qd00c06a09d86420e@mail.gmail.com> Message-ID: On 9 Jul 2009, at 12:10, Doug Kearns wrote: > Wouldn't using an autocommand be sufficient? Something like: > > :au DOMLoad about:blank js .location = "http://www.slashdot.org" > > Doug That's probably good enough for me. Though I'll get some unnecessary reloads if I press d on the "empty tab" page. :/ There's still the problem of vimp hardcoding about:blank on :tabopen though; It's not the same as opening a new tab in firefox, as evidenced by an extension called about:tab which overrides tab opening behaviour, but fails to work with vimperator's :tabopen. My patch doesn't fix it though; it'll need something else :) -- Jarkko From dougkearns at gmail.com Thu Jul 9 05:32:02 2009 From: dougkearns at gmail.com (Doug Kearns) Date: Thu, 9 Jul 2009 22:32:02 +1000 Subject: [Vimperator] [PATCH] Make the "empty page" configurable, take two In-Reply-To: References: <221DB3AB-95BB-4A0D-92E6-D4C7C963143C@gmail.com> <644fc65e0907090210s74fa4221qd00c06a09d86420e@mail.gmail.com> Message-ID: <644fc65e0907090532g6d1c37fdna14d8226ae428065@mail.gmail.com> On 7/9/09, Jarkko Oranen wrote: > > On 9 Jul 2009, at 12:10, Doug Kearns wrote: > > > > Wouldn't using an autocommand be sufficient? Something like: > > > > :au DOMLoad about:blank js .location = "http://www.slashdot.org" > > > > Doug > > > > That's probably good enough for me. Though I'll get some unnecessary > reloads if I press d on the "empty tab" page. :/ Whatever takes your fancy. You don't put empty garbage bins out for collection too do you? ;) > There's still the problem of vimp hardcoding about:blank on :tabopen > though; It's not the same as opening a new tab in firefox, as evidenced by > an extension called about:tab which overrides tab opening behaviour, but > fails to work with vimperator's :tabopen. > > My patch doesn't fix it though; it'll need something else :) I don't think it's a problem. In fact it's the proper proper implementation for Liberator, I think, given how the host apps work. Firefox 'hardcodes' it everywhere as does Gecko. All AboutTab does is redefine openURI to hardcode "about:tab" instead. We may have to track that for Vimperator in later releases if it's integrated into Firefox - depending on the implementation. :open is arguably inconsistent though. Doug From maxauthority at vimperator.org Thu Jul 9 06:33:08 2009 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Thu, 9 Jul 2009 15:33:08 +0200 Subject: [Vimperator] [PATCH] Make the "empty page" configurable, take two In-Reply-To: <644fc65e0907090532g6d1c37fdna14d8226ae428065@mail.gmail.com> References: <221DB3AB-95BB-4A0D-92E6-D4C7C963143C@gmail.com> <644fc65e0907090210s74fa4221qd00c06a09d86420e@mail.gmail.com> <644fc65e0907090532g6d1c37fdna14d8226ae428065@mail.gmail.com> Message-ID: > :open is arguably inconsistent though. Right, we should probably change that to be equivalent to :open "about:blank" in future vimp releases. Actually then a ":set defopen" similar to "set defsearch" would again make sense maybe... From mcsontos at redhat.com Fri Jul 10 03:05:02 2009 From: mcsontos at redhat.com (Marian Csontos) Date: Fri, 10 Jul 2009 12:05:02 +0200 Subject: [Vimperator] Rant: Remapping c_ - bug or a feature? Message-ID: <4A57124E.5090403@redhat.com> Hi folks, I noticed it is possible to cmap : :cmap " space will not expand abbreviations now :cmap " whoops, now space will delete command line Cheers, Marian From dougkearns at gmail.com Fri Jul 10 03:36:02 2009 From: dougkearns at gmail.com (Doug Kearns) Date: Fri, 10 Jul 2009 20:36:02 +1000 Subject: [Vimperator] Rant: Remapping c_ - bug or a feature? In-Reply-To: <4A57124E.5090403@redhat.com> References: <4A57124E.5090403@redhat.com> Message-ID: <644fc65e0907100336r1dadf195lea223c3494041eb4@mail.gmail.com> On 7/10/09, Marian Csontos wrote: > Hi folks, I noticed it is possible to cmap : > > :cmap > > " space will not expand abbreviations now > > :cmap > > " whoops, now space will delete command line Well Vim doesn't expand in the RHS of a mapping so I guess it's a bug. Vim does, however, allow mapping which doesn't strike me as particularly useful. Doug PS. Your subject had me excited but that had to be one of the worst rants I've ever read. Please do better next time. From maxauthority at vimperator.org Fri Jul 10 03:56:43 2009 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 10 Jul 2009 12:56:43 +0200 Subject: [Vimperator] Rant: Remapping c_ - bug or a feature? In-Reply-To: <644fc65e0907100336r1dadf195lea223c3494041eb4@mail.gmail.com> References: <4A57124E.5090403@redhat.com> <644fc65e0907100336r1dadf195lea223c3494041eb4@mail.gmail.com> Message-ID: On Fri, Jul 10, 2009 at 12:36 PM, Doug Kearns wrote: > PS. Your subject had me excited but that had to be one of the worst > rants I've ever read. Please do better next time. I agree :) Otherwise cool to see, that even employee's of RedHat seem to use vimperator. Soon we all will get funded to do vimp development by them, so we can bring it forward even more :) From mcsontos at redhat.com Fri Jul 10 04:53:13 2009 From: mcsontos at redhat.com (Marian Csontos) Date: Fri, 10 Jul 2009 13:53:13 +0200 Subject: [Vimperator] Someone's eating my keys ; -) Some C-* chars not passed to CommandLine...onEvent Message-ID: <4A572BA9.8060701@redhat.com> Hi, I tried to fix missing c_ and c_ to allow browsing command line history as in Vim [ see attached diff ] I realized some keystrokes are not passed to CommandLine().onEvent(event). This seems to apply mostly to combinations. Some keystrokes work though, but seems only those which are assigned already, e.g. What's wrong with me? [ To check it, apply the diff and try: :mes ] My config: vimperator: latest from git FF: 3.0.11 OS: Fedora10 x86_64 Cheers, -- Marian -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: fix-c_C-n.patch URL: From maglione.k at gmail.com Fri Jul 10 08:38:57 2009 From: maglione.k at gmail.com (Kris Maglione) Date: Fri, 10 Jul 2009 11:38:57 -0400 Subject: [Vimperator] Someone's eating my keys ; -) Some C-* chars not passed to CommandLine...onEvent In-Reply-To: <4A572BA9.8060701@redhat.com> References: <4A572BA9.8060701@redhat.com> Message-ID: <20090710153857.GA6353@jg.domain_not_set.invalid> On Fri, Jul 10, 2009 at 01:53:13PM +0200, Marian Csontos wrote: > Hi, I tried to fix missing c_ and c_ to allow browsing command > line history as in Vim [ see attached diff ] This is silly. Just add this to your .vimperatorrc, like the rest of us: cnoremap cnoremap -- Kris Maglione Simplicity is prerequisite for reliability. --Edsger W. Dijkstra From maglione.k at gmail.com Fri Jul 10 08:46:35 2009 From: maglione.k at gmail.com (Kris Maglione) Date: Fri, 10 Jul 2009 11:46:35 -0400 Subject: [Vimperator] Rant: Remapping c_ - bug or a feature? In-Reply-To: <644fc65e0907100336r1dadf195lea223c3494041eb4@mail.gmail.com> References: <4A57124E.5090403@redhat.com> <644fc65e0907100336r1dadf195lea223c3494041eb4@mail.gmail.com> Message-ID: <20090710154635.GB6353@jg.domain_not_set.invalid> On Fri, Jul 10, 2009 at 08:36:02PM +1000, Doug Kearns wrote: >Well Vim doesn't expand in the RHS of a mapping so I guess it's >a bug. Vim does, however, allow mapping which doesn't strike me >as particularly useful. I don't think there's especially any use for remapping , but this just seems a silly special case to me. -- 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 maxauthority at vimperator.org Mon Jul 13 01:35:55 2009 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Mon, 13 Jul 2009 10:35:55 +0200 Subject: [Vimperator] Someone's eating my keys ; -) Some C-* chars not passed to CommandLine...onEvent In-Reply-To: <20090710153857.GA6353@jg.domain_not_set.invalid> References: <4A572BA9.8060701@redhat.com> <20090710153857.GA6353@jg.domain_not_set.invalid> Message-ID: On Fri, Jul 10, 2009 at 5:38 PM, Kris Maglione wrote: > This is silly. Just add this to your .vimperatorrc, like the rest of us: > > cnoremap > cnoremap We could also add them by default, if nobody complains... From mcsontos at redhat.com Mon Jul 13 02:19:33 2009 From: mcsontos at redhat.com (Marian Csontos) Date: Mon, 13 Jul 2009 11:19:33 +0200 Subject: [Vimperator] Rant: Remapping c_ - bug or a feature? Message-ID: <4A5AFC25.8050400@redhat.com> > On 7/10/09, Marian Csontos > wrote: > >/ Hi folks, I noticed it is possible to cmap : /> > >// >/ :cmap /> >/ /> >/ " space will not expand abbreviations now /> >/ />/ > :cmap /> >/ />/ > " whoops, now space will delete command line /> > Well Vim doesn't expand in the RHS of a mapping so I guess it's > a bug. Vim does, however, allow mapping which doesn't strike me > as particularly useful. Yes, it does allow in lhs, but it is considered as 5 keystrokes, thus id does not affect at rhs. > > Doug > > PS. Your subject had me excited but that had to be one of the worst > rants I've ever read. Please do better next time. :-( I am sorry for disappointing you, I will try harder! -- Marian PS: Sorry for not answering the post, but I just subscribed now and missed all replies... I hope mailman will manage From mcsontos at redhat.com Mon Jul 13 02:38:35 2009 From: mcsontos at redhat.com (Marian Csontos) Date: Mon, 13 Jul 2009 11:38:35 +0200 Subject: [Vimperator] Someone's eating my keys ; -) Some C-* chars not passed to CommandLine...onEvent Message-ID: <4A5B009B.5070002@redhat.com> > On Fri, Jul 10, 2009 at 01:53:13PM +0200, Marian Csontos wrote: > >/ Hi, I tried to fix missing c_ and c_ to allow browsing command /> >/ line history as in Vim [ see attached diff ] /> > This is silly. Hi Kris, what's the point of having _everyone_ to add these two mappings to .vimperatorrc oneself? That's silly ;-) > Just add this to your .vimperatorrc > like the _rest of us_: And you said it yourself - everyone is doing so. Thus it is a very good candidate for default. > > cnoremap > cnoremap -- Marian PS: Sorry for not answering the post directly, but I just subscribed now and missed all replies... From isaac.yc at gmail.com Mon Jul 13 09:36:40 2009 From: isaac.yc at gmail.com (pchu/ YU Chao) Date: Mon, 13 Jul 2009 18:36:40 +0200 Subject: [Vimperator] problem of the session manager caused by vimperator Message-ID: <857be9700907130936ib2c6a90tbf5551d625426628@mail.gmail.com> With the extension "session manager" installed, one can let firefox "prompt for session to load" at startup. But tests have shown that the vimperator makes it load the homepage at startup. However, the option "load the windows and the tabs from last time" still works. If I enable the vimperator and select "ask whether to backup the current session" at shutdown for the session manager, a dialog shows up to ask whether to backup at shutdown. Then at startup, firefox still remembers this option, but forgets the option "prompt for session to load". Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1) Gecko/20090624 Firefox/3.5 Another problem here: the mapping map :tabm doesn't work anymore (in most of the time, except for some cases) Anyone knows why? Cheers, YU Chao From isaac.yc at gmail.com Wed Jul 15 10:30:47 2009 From: isaac.yc at gmail.com (YU Chao (pchu)) Date: Wed, 15 Jul 2009 19:30:47 +0200 Subject: [Vimperator] problem of the session manager caused by vimperator Message-ID: <857be9700907151030o6d8d5c11sf64dac932175e495@mail.gmail.com> Reply to "pchu/ YU Chao" (sorry I'm using Gmail) > With the extension "session manager" installed, one can let firefox > "prompt for session to load" at startup. But tests have shown that the > vimperator makes it load the homepage at startup. However, the option > "load the windows and the tabs from last time" still works. > > If I enable the vimperator and select "ask whether to backup the > current session" at shutdown for the session manager, a dialog shows > up to ask whether to backup at shutdown. Then at startup, firefox > still remembers this option, but forgets the option "prompt for > session to load". > > Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1) > Gecko/20090624 Firefox/3.5 > > Another problem here: the mapping > map :tabm > doesn't work anymore (in most of the time, except for some cases) > > Anyone knows why? > > Cheers, > YU Chao I was haunted by the mapping problem for a long time, but somehow after posting it to the mailing list, I happened to know the origine of the problem. I bet many of you cannot reproduce it, because actually my Chinese IM (Input Method) blocked the command. When I type ":" , a floating toolbar also shows up and eats "tabm", trying to turn it into Chinese. But sometimes the toolbar doesn't appear, because last time I left the command mode while the IM was turned off. Finally, I don't remember the same issue exists for Firefox 3.0. I don't know how to solve it either. YU Chao From rz at linux-m68k.org Sat Jul 18 12:48:08 2009 From: rz at linux-m68k.org (Richard Zidlicky) Date: Sat, 18 Jul 2009 21:48:08 +0200 Subject: [Vimperator] Vimperator impressions & suggestions Message-ID: <20090718194807.GA3960@linux-m68k.org> Hi, started using vimperator as I hoped it would singificatnly improve usability of my Netbook, I think it has the potential to be the perfect extension for netbooks. Some points that would be nice to have and perhaps not too difficult? And some questions where I am just too lazy to RTFS. * arrow keys and similar do not honour numeric arguments. * text search - can not figure out how to perform commands on search hit(s), like :g/http:.*\.jpg/tabopen could open all matching hits in tabs. For such application it would also require to have modifiers to search either "hintable elements" or plaintext. Running external commands on search hits would be obviously also very appreciated. * ;F works quite nicely for opening many links, I read somewhere that using letters instead of numbers for hints is now beeing implemented - or is it already there and needs to be turned on by some magic? * I like the standard bookmark dialog pretty well, the possibility to (re)enable the ctrl-d binding should be probably mentioned in some prominent place, for me it is map :dialog addbookmark * I would like to perform commands on link under the mouse pointer, how do I program that? * the documentation for "!" is somewhat lost in the "Various" section, not sure where to fit it best but a pointer from the "eval" section would certainly help finding it. Imho it is one of the most usefull capabilities of the extension and some more examples would be certainly apreciated - especially how to pass eg url, title and other attributes of the current page to the external command. * the "eval" section could also contain information how to define new vimperator commands? Regards Richard From emailorama at yahoo.com.au Sun Jul 19 05:14:27 2009 From: emailorama at yahoo.com.au (emailorama) Date: Sun, 19 Jul 2009 05:14:27 -0700 (PDT) Subject: [Vimperator] vimperator to org-mode -- location.href, etc. Message-ID: <707336.5092.qm@web111304.mail.gq1.yahoo.com> I've been looking at this: http://orgmode.org/worg/org-contrib/org-protocol.php By clicking on a bookmark in firefox, information about the current page is loaded into an org-mode remember template. I'd like to get this working in vimperator. And I'm not sure how to set up the vimperator side. (I know it may seem a strange to be connecting a vim-style interface to an emacs mode.) I started by following the instructions in the link above to get it working in regular (non-vimperator) firefox. [After some other configuration] A bookmark is set up with location: javascript:location.href='org-protocol://remember://'+ encodeURIComponent(location.href)+'/'+ encodeURIComponent(document.title)+'/'+ encodeURIComponent(window.getSelection()) This works fine when the bookmark is selected from the "Bookmarks" menu. But in vimperator, I need a way of getting the desired effect without using the mouse (and the menu bar is switched off anyway). I tried: :js < References: <707336.5092.qm@web111304.mail.gq1.yahoo.com> Message-ID: <20090719231043.GA5800@jg.domain_not_set.invalid> On Sun, Jul 19, 2009 at 05:14:27AM -0700, emailorama wrote: >But in vimperator, I need a way of getting the desired >effect without using the mouse (and the menu bar is switched >off anyway). There are two possibilities. The first is to just open the bookmark (as in, :bmarks! -m 1, or just the javascript: URI). The second is to just wrap the javascript code with "with (content) { ... }", sans quotes, and replacing the ellipsis with the function body. -- Kris Maglione For a long time it puzzled me how something so expensive, so leading edge, could be so useless, and then it occurred to me that a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match. --Bill Bryson From emailorama at yahoo.com.au Mon Jul 20 00:13:34 2009 From: emailorama at yahoo.com.au (emailorama) Date: Mon, 20 Jul 2009 00:13:34 -0700 (PDT) Subject: [Vimperator] vimperator to org-mode -- location.href, etc. Message-ID: <983458.33577.qm@web111305.mail.gq1.yahoo.com> Kris Maglione writes: > There are two possibilities. The first is to just open the bookmark > (as in, :bmarks! -m 1, or just the javascript: URI). The second is to > just wrap the javascript code with "with (content) { ... }", sans > quotes, and replacing the ellipsis with the function body. Hello Kris, Thanks for your clear answer. Following your second approach, I ended up with the following, which seems to work. Al -------------------------------------------------- /* add to .vimperatorrc */ /* The following functions are used with org-mode. */ /* See http://orgmode.org/worg/org-contrib/org-protocol.php */ javascript < map S :javascript org_remember() From benisty.e at gmail.com Wed Jul 22 11:01:54 2009 From: benisty.e at gmail.com (Emmanuel Benisty) Date: Thu, 23 Jul 2009 01:01:54 +0700 Subject: [Vimperator] NS_ERROR_INVALID_POINTER Message-ID: Hi List, This happens to me quite often when using TAB completion. New profile won't help. Processing keypress event: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIEditor.deleteNode]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://liberator/content/ui.js :: previewClear :: line 318" data: no] $ uname -a Linux blackout 2.6.31-rc3-mm1 #1 SMP PREEMPT Wed Jul 22 01:52:03 ICT 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux $ firefox -v Mozilla Firefox 3.6a1pre, Copyright (c) 1998 - 2009 mozilla.org TIA. From maglione.k at gmail.com Wed Jul 22 11:08:30 2009 From: maglione.k at gmail.com (Kris Maglione) Date: Wed, 22 Jul 2009 14:08:30 -0400 Subject: [Vimperator] NS_ERROR_INVALID_POINTER In-Reply-To: References: Message-ID: <20090722180830.GA2088@jg.domain_not_set.invalid> On Thu, Jul 23, 2009 at 01:01:54AM +0700, Emmanuel Benisty wrote: >$ uname -a >Linux blackout 2.6.31-rc3-mm1 #1 SMP PREEMPT Wed Jul 22 01:52:03 ICT >2009 x86_64 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel >GNU/Linux > >$ firefox -v >Mozilla Firefox 3.6a1pre, Copyright (c) 1998 - 2009 mozilla.org :version -- Kris Maglione It is best to read the weather forecast before praying for rain. --Mark Twain From benisty.e at gmail.com Wed Jul 22 11:13:42 2009 From: benisty.e at gmail.com (Emmanuel Benisty) Date: Thu, 23 Jul 2009 01:13:42 +0700 Subject: [Vimperator] NS_ERROR_INVALID_POINTER In-Reply-To: <20090722180830.GA2088@jg.domain_not_set.invalid> References: <20090722180830.GA2088@jg.domain_not_set.invalid> Message-ID: On Thu, Jul 23, 2009 at 1:08 AM, Kris Maglione wrote: > On Thu, Jul 23, 2009 at 01:01:54AM +0700, Emmanuel Benisty wrote: >> >> $ uname -a >> Linux blackout 2.6.31-rc3-mm1 #1 SMP PREEMPT Wed Jul 22 01:52:03 ICT >> 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel >> GNU/Linux >> >> $ firefox -v >> Mozilla Firefox 3.6a1pre, Copyright (c) 1998 - 2009 mozilla.org > > :version Vimperator 2.2a1pre (created: 2009/07/22 07:30:46) running on: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2a1pre) Gecko/20090719 Minefield/3.6a1pre From gary.katsevman at gmail.com Wed Jul 22 11:40:21 2009 From: gary.katsevman at gmail.com (Gary Katsevman) Date: Wed, 22 Jul 2009 14:40:21 -0400 Subject: [Vimperator] NS_ERROR_INVALID_POINTER In-Reply-To: References: <20090722180830.GA2088@jg.domain_not_set.invalid> Message-ID: <97265dfa0907221140k1bf9ca4ay3a2e29e33aa0394d@mail.gmail.com> Yeah, I had the same or similar problem with FF3.6 and Vimp 2.2a1pre, downgrading to FF3.5 and Vimp2.1 fixed it. ------------------------ Gary Katsevman Computer Science Undergraduate Northeastern University gkatsev at ccs.neu.edu gary.katsevman.com On Wed, Jul 22, 2009 at 14:13, Emmanuel Benisty wrote: > On Thu, Jul 23, 2009 at 1:08 AM, Kris Maglione wrote: >> On Thu, Jul 23, 2009 at 01:01:54AM +0700, Emmanuel Benisty wrote: >>> >>> $ uname -a >>> Linux blackout 2.6.31-rc3-mm1 #1 SMP PREEMPT Wed Jul 22 01:52:03 ICT >>> 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel >>> GNU/Linux >>> >>> $ firefox -v >>> Mozilla Firefox 3.6a1pre, Copyright (c) 1998 - 2009 mozilla.org >> >> :version > > Vimperator 2.2a1pre (created: 2009/07/22 07:30:46) running on: > Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2a1pre) > Gecko/20090719 Minefield/3.6a1pre > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From trsten at science-computing.de Wed Jul 22 05:19:44 2009 From: trsten at science-computing.de (Daniel Trstenjak) Date: Wed, 22 Jul 2009 14:19:44 +0200 Subject: [Vimperator] Exception on Message-ID: <20090722121944.GB4913@bug.science-computing.de> Hi all, I can't reproduce it, but sometimes I'm getting the following exception when pressing : Processing keypress event: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.gotoIndex]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://vimperator/content/bookmarks.js :: stepTo :: line 838" data: no] And I'm getting a file open dialog?? Any ideas? :version Vimperator 2.1 (created: 2009/05/21 13:13:06) running on: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.11) Gecko/2009060200 SUSE/3.0.11-0.1.1 (CK-s+c) (CK-s+c) Firefox/3.0.11 Greetings, Daniel -- Daniel Trstenjak Tel : +49 (0)7071-9457-264 science + computing ag FAX : +49 (0)7071-9457-511 Hagellocher Weg 73 mailto: Daniel.Trstenjak at science-computing.de D-72070 T?bingen WWW : http://www.science-computing.de/ -- Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Michel Lepert Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196 From maxauthority at vimperator.org Thu Jul 23 02:44:07 2009 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Thu, 23 Jul 2009 11:44:07 +0200 Subject: [Vimperator] Vimperator impressions & suggestions In-Reply-To: <20090718194807.GA3960@linux-m68k.org> References: <20090718194807.GA3960@linux-m68k.org> Message-ID: Hi, > * arrow keys and similar do not honour numeric arguments. that's because arrow keys are just passed through to Firefox, since hjkl scrolling does not work in very few special cases. > * text search - ?can not figure out how to perform commands on search hit(s), like > ? ?:g/http:.*\.jpg/tabopen > ?could open all matching hits in tabs. For such application it would also require to > ?have modifiers to search either "hintable elements" or plaintext. Running external > ?commands on search hits would be obviously also very appreciated. Would of course be awesome, but nearly impossible, or at least LOTS of work. > * ;F works quite nicely for opening many links, I read somewhere that using letters instead > ?of numbers for hints is now beeing implemented - or is it already there and needs to be > ?turned on by some magic? Should be there automatically, just type part of the link text, and if it is unique, it is followed. > * I like the standard bookmark dialog pretty well, the possibility to (re)enable the ctrl-d > ?binding ? should be probably mentioned in some prominent place, for me it is > ?map :dialog addbookmark That's why we have :map, to allow such things. You could also do Ctrl-v to pass the next key to firefox, so Ctrl-v, ctrl-d should work. > * I would like to perform commands on link under the mouse pointer, how do I program that? Impossible with vimperator, but possible with JavaScript i guess. > * the documentation for "!" is somewhat lost in the "Various" section, not sure where to fit > ?it best but a pointer from the "eval" section would certainly help finding it. > ?Imho it is one of the most usefull capabilities of the extension and some more examples > ?would be certainly apreciated - especially how to pass eg url, title and other attributes > ?of the current page to the external command. > > * the "eval" section could also contain information how to define new vimperator commands? Organizing docs is harder as you might think, but Doug surely has an opinion on this. Thanks for the input, Martin From pengyu.ut at gmail.com Thu Jul 23 18:40:41 2009 From: pengyu.ut at gmail.com (Peng Yu) Date: Thu, 23 Jul 2009 20:40:41 -0500 Subject: [Vimperator] How to open a group of links? Message-ID: <366c6f340907231840x5d1b4708q8b2d7c9ed78dd42e@mail.gmail.com> Hi, Say I am browsing craigslist. I may want to open many ads on a page. I am wondering if there is a way to open a group of links simultaneously. Regards, Peng From vuinhe at gmail.com Thu Jul 23 20:25:26 2009 From: vuinhe at gmail.com (Vui Nhe) Date: Thu, 23 Jul 2009 20:25:26 -0700 Subject: [Vimperator] How to open a group of links? In-Reply-To: <366c6f340907231840x5d1b4708q8b2d7c9ed78dd42e@mail.gmail.com> References: <366c6f340907231840x5d1b4708q8b2d7c9ed78dd42e@mail.gmail.com> Message-ID: Here's what I used: map ,1 :tabonly:open http://site1:tabopen http://site2, site3, site3,site4g0 Hope that helps. On Thu, Jul 23, 2009 at 6:40 PM, Peng Yu wrote: > Hi, > > Say I am browsing craigslist. I may want to open many ads on a page. I > am wondering if there is a way to open a group of links > simultaneously. > > Regards, > Peng > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maxauthority at vimperator.org Fri Jul 24 00:37:16 2009 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Fri, 24 Jul 2009 09:37:16 +0200 Subject: [Vimperator] How to open a group of links? In-Reply-To: References: <366c6f340907231840x5d1b4708q8b2d7c9ed78dd42e@mail.gmail.com> Message-ID: I don't think this is, what Peng wants. I guess he should take a look at the ;F mapping. On Fri, Jul 24, 2009 at 5:25 AM, Vui Nhe wrote: > Here's what I used: > > map? ,1 :tabonly:open http://site1:tabopen http://site2, site3, > site3,site4g0 > > Hope that helps. > > On Thu, Jul 23, 2009 at 6:40 PM, Peng Yu wrote: >> >> Hi, >> >> Say I am browsing craigslist. I may want to open many ads on a page. I >> am wondering if there is a way to open a group of links >> simultaneously. >> >> Regards, >> Peng >> _______________________________________________ >> 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 pengyu.ut at gmail.com Fri Jul 24 06:48:46 2009 From: pengyu.ut at gmail.com (Peng Yu) Date: Fri, 24 Jul 2009 08:48:46 -0500 Subject: [Vimperator] How to open a group of links? In-Reply-To: References: <366c6f340907231840x5d1b4708q8b2d7c9ed78dd42e@mail.gmail.com> Message-ID: <366c6f340907240648u7ed371fg5f426718ac0e7b0d@mail.gmail.com> Hi, ;F works. But it is not as good as what I want. For example, I am browsing the webpage http://houston.craigslist.org/sss/, and I want to open all the posting shown on that page. If there is an easy way to open multiple links, that would be great. BTW, ;F does not show any links that are beyond the current view. This behavior might not be desirable if I want to open all the postings on that page. Regards, Peng On Fri, Jul 24, 2009 at 2:37 AM, Martin Stubenschrott wrote: > I don't think this is, what Peng wants. > > I guess he should take a look at the ;F mapping. > > On Fri, Jul 24, 2009 at 5:25 AM, Vui Nhe wrote: >> Here's what I used: >> >> map? ,1 :tabonly:open http://site1:tabopen http://site2, site3, >> site3,site4g0 >> >> Hope that helps. >> >> On Thu, Jul 23, 2009 at 6:40 PM, Peng Yu wrote: >>> >>> Hi, >>> >>> Say I am browsing craigslist. I may want to open many ads on a page. I >>> am wondering if there is a way to open a group of links >>> simultaneously. >>> >>> Regards, >>> Peng >>> _______________________________________________ >>> 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 dotancohen at gmail.com Fri Jul 24 07:30:58 2009 From: dotancohen at gmail.com (Dotan Cohen) Date: Fri, 24 Jul 2009 17:30:58 +0300 Subject: [Vimperator] How to open a group of links? In-Reply-To: <366c6f340907240648u7ed371fg5f426718ac0e7b0d@mail.gmail.com> References: <366c6f340907231840x5d1b4708q8b2d7c9ed78dd42e@mail.gmail.com> <366c6f340907240648u7ed371fg5f426718ac0e7b0d@mail.gmail.com> Message-ID: <880dece00907240730x32c9efc4xe8f9aad9507bf789@mail.gmail.com> 2009/7/24 Peng Yu : > Hi, > > ;F works. But it is not as good as what I want. For example, I am > browsing the webpage http://houston.craigslist.org/sss/, and I want to > open all the posting shown on that page. If there is an easy way to > open multiple links, that would be great. > > BTW, ;F does not show any links that are beyond the current view. This > behavior might not be desirable if I want to open all the postings on > that page. > I suppose that the OP is looking for something similar to Snap Links for Vimperator: https://addons.mozilla.org/en-US/firefox/addon/4336 If you can stomach the mouse, Snap Links is a good fix. I personally don't mind (and am physically able) to use the mouse for small tasks like this. For those that must (or prefer to) use only the keyboard maybe an option to highlight part of the page using caret browsing, and opening every link highlighted would help. I'm no programer and I do not know how difficult or feasible this would be to program. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il From conrad.irwin at googlemail.com Fri Jul 24 09:18:09 2009 From: conrad.irwin at googlemail.com (Conrad Irwin) Date: Fri, 24 Jul 2009 17:18:09 +0100 Subject: [Vimperator] How to open a group of links? In-Reply-To: <880dece00907240730x32c9efc4xe8f9aad9507bf789@mail.gmail.com> References: <366c6f340907231840x5d1b4708q8b2d7c9ed78dd42e@mail.gmail.com> <366c6f340907240648u7ed371fg5f426718ac0e7b0d@mail.gmail.com> <880dece00907240730x32c9efc4xe8f9aad9507bf789@mail.gmail.com> Message-ID: <7033a78b0907240918g4d9b48caj50fa7af1f89b47ea@mail.gmail.com> 2009/7/24 Dotan Cohen : > 2009/7/24 Peng Yu : >> Hi, >> >> ;F works. But it is not as good as what I want. For example, I am >> browsing the webpage http://houston.craigslist.org/sss/, and I want to >> open all the posting shown on that page. If there is an easy way to >> open multiple links, that would be great. >> >> BTW, ;F does not show any links that are beyond the current view. This >> behavior might not be desirable if I want to open all the postings on >> that page. >> > > I suppose that the OP is looking for something similar to Snap Links > for Vimperator: > https://addons.mozilla.org/en-US/firefox/addon/4336 > If you can stomach the mouse, Snap Links is a good fix. I personally > don't mind (and am physically able) to use the mouse for small tasks > like this. > > For those that must (or prefer to) use only the keyboard maybe an > option to highlight part of the page using caret browsing, and opening > every link highlighted would help. I'm no programer and I do not know > how difficult or feasible this would be to program. > > -- > Dotan Cohen > > http://what-is-what.com > http://gibberish.co.il > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > In terms of ease-of-use I had the idea of modifying ;F mode so that I could type / to select two links, it would then open all the links in the box with those two links at the corners, I also wanted - to open all the links that had a number between the number of the first link and the number of the second link. (where is what I'd type to follow the link normally). That still leaves the problem with scrolling and hints-mode, but that is a bug that needs fixing anyway. Yours Conrad From maglione.k at gmail.com Fri Jul 24 10:05:06 2009 From: maglione.k at gmail.com (Kris Maglione) Date: Fri, 24 Jul 2009 13:05:06 -0400 Subject: [Vimperator] How to open a group of links? In-Reply-To: <366c6f340907240648u7ed371fg5f426718ac0e7b0d@mail.gmail.com> References: <366c6f340907231840x5d1b4708q8b2d7c9ed78dd42e@mail.gmail.com> <366c6f340907240648u7ed371fg5f426718ac0e7b0d@mail.gmail.com> Message-ID: <20090724165152.GA6748@jg.domain_not_set.invalid> On Fri, Jul 24, 2009 at 08:48:46AM -0500, Peng Yu wrote: >;F works. But it is not as good as what I want. For example, I am >browsing the webpage http://houston.craigslist.org/sss/, and I want to >open all the posting shown on that page. If there is an easy way to >open multiple links, that would be great. > >BTW, ;F does not show any links that are beyond the current view. This >behavior might not be desirable if I want to open all the postings on >that page. I really can't think of any useful way to achieve this. What criterion would we use to decide which links to open? We can't simply open every link on a page, as quite a number of them are utterly useless. In the case of the craigslist results page, there's nothing whatever (other than visual cues, which we can't discern programatically, except by some rather tedious special cases) to distinguish the results links from the, e.g., category links. The ?Snap Links? extension mentioned elsewhere is probably your best bet, if you select down the margin of the page (though I'm not sure how well its heuristic will work in selecting the results links). I personally just middle click the links I want to open. I can't see that you'd need to open every result in any craigslist or other listing, and middle clicking a group of links is, from my point of view, simple and efficient in most cases. -- Kris Maglione It's always good to take an orthogonal view of something. It develops ideas. --Ken Thompson From rz at linux-m68k.org Fri Jul 24 13:00:50 2009 From: rz at linux-m68k.org (Richard Zidlicky) Date: Fri, 24 Jul 2009 22:00:50 +0200 Subject: [Vimperator] How to open a group of links? In-Reply-To: <366c6f340907240648u7ed371fg5f426718ac0e7b0d@mail.gmail.com> References: <366c6f340907231840x5d1b4708q8b2d7c9ed78dd42e@mail.gmail.com> <366c6f340907240648u7ed371fg5f426718ac0e7b0d@mail.gmail.com> Message-ID: <20090724200050.GA7430@linux-m68k.org> On Fri, Jul 24, 2009 at 08:48:46AM -0500, Peng Yu wrote: > Hi, > > ;F works. But it is not as good as what I want. For example, I am > browsing the webpage http://houston.craigslist.org/sss/, and I want to > open all the posting shown on that page. If there is an easy way to > open multiple links, that would be great. I would too enjoy such a feature - this was the main motivation for my suggestion that there should be a way to apply commands to search hints. Search for all links or a subclass of them and apply tabopen to them.. Richard From rz at linux-m68k.org Sat Jul 25 06:41:09 2009 From: rz at linux-m68k.org (Richard Zidlicky) Date: Sat, 25 Jul 2009 15:41:09 +0200 Subject: [Vimperator] Map Bookmarklets to keys? Message-ID: <20090725134109.GC10354@linux-m68k.org> Hi, I have a few javascripts that work fine as bookmarklets but when I try to define them in .vimperatorrc and bind to a key (or autocmd) they do not work. More precise, the scripts get executed apparently without error but have not the desired effect of changing the page style. Are the scripts evaluated in a different context than bookmarklets? Can anyone give me a clue how to achieve the intended behaviour? " ZapWhite from Bookmarklet javascript <= 2.8) { n.style.backgroundColor = '#FFD3A7';/*Moz 1.0*/ n.style.setProperty('background-color', '#FFD3A7', 'important');/*Moz 1.4 after zap colors*/ } } } } R(document.documentElement); return "Zapped"; } EOF map z :echo ZapWhite() Thanks Richard From rz at linux-m68k.org Sat Jul 25 06:18:33 2009 From: rz at linux-m68k.org (Richard Zidlicky) Date: Sat, 25 Jul 2009 15:18:33 +0200 Subject: [Vimperator] Vimperator impressions & suggestions In-Reply-To: References: <20090718194807.GA3960@linux-m68k.org> Message-ID: <20090725131833.GB10354@linux-m68k.org> Hi, > > * text search - ?can not figure out how to perform commands on search hit(s), like > > ? ?:g/http:.*\.jpg/tabopen > > ?could open all matching hits in tabs. For such application it would also require to > > ?have modifiers to search either "hintable elements" or plaintext. Running external > > ?commands on search hits would be obviously also very appreciated. > > Would of course be awesome, but nearly impossible, or at least LOTS of work. just wondering, what would make it so hard? Richard From stubenschrott at vimperator.org Sat Jul 25 06:55:29 2009 From: stubenschrott at vimperator.org (Martin Stubenschrott) Date: Sat, 25 Jul 2009 15:55:29 +0200 Subject: [Vimperator] Vimperator impressions & suggestions In-Reply-To: <20090725131833.GB10354@linux-m68k.org> References: <20090718194807.GA3960@linux-m68k.org> <20090725131833.GB10354@linux-m68k.org> Message-ID: <4A6B0ED1.4030102@vimperator.org> On 07/25/2009 03:18 PM, Richard Zidlicky wrote: > Hi, > >> > * text search - can not figure out how to perform commands on search hit(s), like >> > :g/http:.*\.jpg/tabopen >> > could open all matching hits in tabs. For such application it would also require to >> > have modifiers to search either "hintable elements" or plaintext. Running external >> > commands on search hits would be obviously also very appreciated. >> >> Would of course be awesome, but nearly impossible, or at least LOTS of work. > > just wondering, what would make it so hard? well, first you have to make a design decision whether to only match URLs or also hint text, or both. Another problem is (as always) escaping, so to extract "http:.*\.jpg" and "tabopen" from the above url, but still allowing \/ in a regexp. But you are right, probably it's not that hard, we could just ":execute $1 $2", where $1 is 'tabopen' and $2 is the url in that case. So probably it wouldn't be that hard, but still somebody will have to write that code. You could open a feature request, so it at least doesn't get forgotton. It would also make a nice use case for adding a ":get " command :) Anyway, I am not going to write that command anytime soon, but yeah, would be nice. -- Martin From ilmari.vacklin at cs.helsinki.fi Sun Jul 26 10:57:14 2009 From: ilmari.vacklin at cs.helsinki.fi (Ilmari Vacklin) Date: Sun, 26 Jul 2009 20:57:14 +0300 Subject: [Vimperator] Switch to last buffer Message-ID: I have the following mapping: map # b# Is this functionality already mapped to some other key? I didn't see it in :help with a quick look. Thanks, -- Ilmari Vacklin From gary.katsevman at gmail.com Sun Jul 26 11:35:57 2009 From: gary.katsevman at gmail.com (Gary Katsevman) Date: Sun, 26 Jul 2009 14:35:57 -0400 Subject: [Vimperator] Switch to last buffer In-Reply-To: References: Message-ID: <97265dfa0907261135u7c702f90o25a84f8e84204b9e@mail.gmail.com> or is mapped to it. # is backwards search/select word. ------------------------ Gary Katsevman Computer Science Undergraduate Northeastern University gkatsev at ccs.neu.edu gary.katsevman.com On Sun, Jul 26, 2009 at 13:57, Ilmari Vacklin wrote: > I have the following mapping: > > map # b# > > Is this functionality already mapped to some other key? I didn't see > it in :help with a quick look. > > Thanks, > -- > Ilmari Vacklin > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From dougkearns at gmail.com Mon Jul 27 01:44:44 2009 From: dougkearns at gmail.com (Doug Kearns) Date: Mon, 27 Jul 2009 18:44:44 +1000 Subject: [Vimperator] Vimperator impressions & suggestions In-Reply-To: <20090718194807.GA3960@linux-m68k.org> References: <20090718194807.GA3960@linux-m68k.org> Message-ID: <644fc65e0907270144q2799631aw3dfb401c34084ae9@mail.gmail.com> On 7/19/09, Richard Zidlicky wrote: > * text search - can not figure out how to perform commands on search hit(s), like > :g/http:.*\.jpg/tabopen > could open all matching hits in tabs. For such application it would also require to > have modifiers to search either "hintable elements" or plaintext. Running external > commands on search hits would be obviously also very appreciated. http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/lo.js might be of some interest to you for the specific case. Doug From siadat at gmail.com Mon Jul 27 15:43:01 2009 From: siadat at gmail.com (Sina Siadatnejad) Date: Tue, 28 Jul 2009 02:43:01 +0400 Subject: [Vimperator] Getting current file name Message-ID: (My first post; apologies if sent to the wrong recipients.) Hey guys, I am trying to save the current page with its filename, only slightly modified. For example, when looking at an "index.html" :write "my %" would save it as "my index.html" (replacing % with the filename). Alternatively, how can I get the current page's filename in my .vimoeratirrc? Thanks :o) Sina From mcsontos at redhat.com Tue Jul 28 01:36:28 2009 From: mcsontos at redhat.com (Marian Csontos) Date: Tue, 28 Jul 2009 10:36:28 +0200 Subject: [Vimperator] Getting current file name In-Reply-To: References: Message-ID: <4A6EB88C.6010800@redhat.com> Sina Siadatnejad wrote: > (My first post; apologies if sent to the wrong recipients.) > > Hey guys, > > I am trying to save the current page with its filename, only slightly > modified. For example, when looking at an "index.html" > > :write "my %" > Hi Sina, I think you are after something like this: :execute "write my-"+content.location.pathname.split("/").pop() I am not a JS guy, there might be a better way for parsing filenames/URLs... BTW, are you sure, you want a space in your filename? [ "I 'ate them!" as my French colleague used to say ;-) ] And you might want to handle other special characters not allowed in filesystem (or allowed, but not loveable) as well. In DOS/Windows filesystem e.g. '%' character is good candidate to replace. Cheers, Marian > would save it as "my index.html" (replacing % with the filename). > Alternatively, how can I get the current page's filename in my > .vimoeratirrc? > > Thanks :o) > Sina > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > From ilmari.vacklin at cs.helsinki.fi Tue Jul 28 04:56:50 2009 From: ilmari.vacklin at cs.helsinki.fi (Ilmari Vacklin) Date: Tue, 28 Jul 2009 14:56:50 +0300 Subject: [Vimperator] Switch to last buffer In-Reply-To: <97265dfa0907261135u7c702f90o25a84f8e84204b9e@mail.gmail.com> References: <97265dfa0907261135u7c702f90o25a84f8e84204b9e@mail.gmail.com> Message-ID: 2009/7/26 Gary Katsevman : > ?or is mapped to it. # is backwards search/select word. Thanks! -- Ilmari Vacklin From scrotty at gmail.com Tue Jul 28 09:42:58 2009 From: scrotty at gmail.com (Sean Crotty) Date: Tue, 28 Jul 2009 10:42:58 -0600 Subject: [Vimperator] Surround with www and .com/.org/.net? Message-ID: <4A6F2A92.10503@gmail.com> When using the Firefox Ultimate Bar, you can type a domain name, say, gizmodo and then type ctrl- and that domain name is wrapped with www and .com to become www.gizmodo.com and is submitted for retrieval. (Using shift-ctrl- and shift- wraps with .net and .org.) Is there a way to achieve the same thing in Vimperator with the "open" or "tabopen" commands? I'd love to be able to do this: :open gizmodo And then just type ctrl- to retrieve www.gizmodo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at danderson1.plus.com Tue Jul 28 12:08:59 2009 From: dave at danderson1.plus.com (Dave Anderson) Date: Tue, 28 Jul 2009 20:08:59 +0100 Subject: [Vimperator] Surround with www and .com/.org/.net? In-Reply-To: <4A6F2A92.10503@gmail.com> References: <4A6F2A92.10503@gmail.com> Message-ID: <20090728190859.GA5234@crunchbang.Belkin> I've got this line in my vimperatorrc which works for me: :cnoremap .com www. You can adapt it for .org or .net HTH sfb On Tue, Jul 28, 2009 at 10:42:58AM -0600, Sean Crotty wrote: > When using the Firefox Ultimate Bar, you can type a domain name, say, > gizmodo and then type ctrl- and that domain name is wrapped with > www and .com to become www.gizmodo.com and is > submitted for retrieval. (Using shift-ctrl- and shift- > wraps with .net and .org.) > > Is there a way to achieve the same thing in Vimperator with the "open" > or "tabopen" commands? I'd love to be able to do this: > > :open gizmodo > > And then just type ctrl- to retrieve www.gizmodo.com > > > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator -- Nil Illegitimus Carborundum From maglione.k at gmail.com Tue Jul 28 12:08:52 2009 From: maglione.k at gmail.com (Kris Maglione) Date: Tue, 28 Jul 2009 15:08:52 -0400 Subject: [Vimperator] Surround with www and .com/.org/.net? In-Reply-To: <4A6F2A92.10503@gmail.com> References: <4A6F2A92.10503@gmail.com> Message-ID: <20090728190852.GA18992@jg.domain_not_set.invalid> On Tue, Jul 28, 2009 at 10:42:58AM -0600, Sean Crotty wrote: > Is there a way to achieve the same thing in Vimperator with the "open" > or "tabopen" commands? I'd love to be able to do this: > > :open gizmodo > > And then just type ctrl- to retrieve www.gizmodo.com > :cnoremap .comwww. -- Kris Maglione It is difficult to get a man to understand something when his salary depends on his not understanding it. --Upton Sinclair From scrotty at gmail.com Tue Jul 28 12:34:16 2009 From: scrotty at gmail.com (Sean Crotty) Date: Tue, 28 Jul 2009 13:34:16 -0600 Subject: [Vimperator] Surround with www and .com/.org/.net? In-Reply-To: <20090728190859.GA5234@crunchbang.Belkin> References: <4A6F2A92.10503@gmail.com> <20090728190859.GA5234@crunchbang.Belkin> Message-ID: <4A6F52B8.3070005@gmail.com> Thank you Kris and Dave. That works great! :) Dave Anderson wrote: > I've got this line in my vimperatorrc which works for me: > > :cnoremap .comwww. > > You can adapt it for .org or .net > > HTH > > sfb > > On Tue, Jul 28, 2009 at 10:42:58AM -0600, Sean Crotty wrote: > >> When using the Firefox Ultimate Bar, you can type a domain name, say, >> gizmodo and then type ctrl- and that domain name is wrapped with >> www and .com to become www.gizmodo.com and is >> submitted for retrieval. (Using shift-ctrl- and shift- >> wraps with .net and .org.) >> >> Is there a way to achieve the same thing in Vimperator with the "open" >> or "tabopen" commands? I'd love to be able to do this: >> >> :open gizmodo >> >> And then just type ctrl- to retrieve www.gizmodo.com >> >> >> > > >> _______________________________________________ >> Vimperator mailing list >> Vimperator at mozdev.org >> https://www.mozdev.org/mailman/listinfo/vimperator >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From siadat at gmail.com Wed Jul 29 04:37:02 2009 From: siadat at gmail.com (Sina Siadatnejad) Date: Wed, 29 Jul 2009 15:37:02 +0400 Subject: [Vimperator] Getting current file name In-Reply-To: References: Message-ID: I got no replies. But I am getting similar results by getting the current buffer title, instead of filename. With the following map: map \s :exe ":normal :write '" + buffer.title +"'" when the "s" key is pressed, you will have ":write the-buffer-title" in the command line, and then the caret sits on the first character of the title. The quotes are required for names with space. I am not very experienced in writing vimperatorrc's, so I think there must be a nicer solution for this. Sina 2009/7/28 Sina Siadatnejad : > (My first post; apologies if sent to the wrong recipients.) > > Hey guys, > > I am trying to save the current page with its filename, only slightly > modified. For example, when looking at an "index.html" > > ? ? :write "my %" > > would save it as "my index.html" (replacing % with the filename). > Alternatively, how can I get the current page's filename in my > .vimoeratirrc? > > Thanks :o) > Sina > From bluenote27 at yahoo.com Wed Jul 29 05:06:14 2009 From: bluenote27 at yahoo.com (Robert John) Date: Wed, 29 Jul 2009 05:06:14 -0700 (PDT) Subject: [Vimperator] Vimperator Digest, Vol 28, Issue 24 In-Reply-To: References: Message-ID: <222677.68473.qm@web33607.mail.mud.yahoo.com> Problem: I upgraded to Firefox 3.5, and have lost my Right scrollbar. Due Dilligence: - Googled various combos of vimperator and scrollbar and Firefox 3.5 and disappear - searched "scrollbar +Firefox 3.5" on vimperator.org Unsuccessful Attempts to solve - :set guioptions +=r - Tried a few different themes - New Firefox profile Particulars - Windows XP SP3 Upgrade path - Firefox 3 to 3.5 General Comment - Excellent extension. I've been using for about 2 years Thank you ________________________________ From: "vimperator-request at mozdev.org" To: vimperator at mozdev.org Sent: Tuesday, July 28, 2009 9:43:14 AM Subject: Vimperator Digest, Vol 28, Issue 24 Send Vimperator mailing list submissions to vimperator at mozdev.org To subscribe or unsubscribe via the World Wide Web, visit https://www.mozdev.org/mailman/listinfo/vimperator or, via email, send a message with subject or body 'help' to vimperator-request at mozdev.org You can reach the person managing the list at vimperator-owner at mozdev.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Vimperator digest..." Today's Topics: 1. Getting current file name (Sina Siadatnejad) 2. Re: Getting current file name (Marian Csontos) 3. Re: Switch to last buffer (Ilmari Vacklin) 4. Surround with www and .com/.org/.net? (Sean Crotty) ---------------------------------------------------------------------- Message: 1 Date: Tue, 28 Jul 2009 02:43:01 +0400 From: Sina Siadatnejad Subject: [Vimperator] Getting current file name To: vimperator at mozdev.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 (My first post; apologies if sent to the wrong recipients.) Hey guys, I am trying to save the current page with its filename, only slightly modified. For example, when looking at an "index.html" :write "my %" would save it as "my index.html" (replacing % with the filename). Alternatively, how can I get the current page's filename in my .vimoeratirrc? Thanks :o) Sina ------------------------------ Message: 2 Date: Tue, 28 Jul 2009 10:36:28 +0200 From: Marian Csontos Subject: Re: [Vimperator] Getting current file name To: vimperator at mozdev.org Message-ID: <4A6EB88C.6010800 at redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sina Siadatnejad wrote: > (My first post; apologies if sent to the wrong recipients.) > > Hey guys, > > I am trying to save the current page with its filename, only slightly > modified. For example, when looking at an "index.html" > > :write "my %" > Hi Sina, I think you are after something like this: :execute "write my-"+content.location.pathname.split("/").pop() I am not a JS guy, there might be a better way for parsing filenames/URLs... BTW, are you sure, you want a space in your filename? [ "I 'ate them!" as my French colleague used to say ;-) ] And you might want to handle other special characters not allowed in filesystem (or allowed, but not loveable) as well. In DOS/Windows filesystem e.g. '%' character is good candidate to replace. Cheers, Marian > would save it as "my index.html" (replacing % with the filename). > Alternatively, how can I get the current page's filename in my > .vimoeratirrc? > > Thanks :o) > Sina > _______________________________________________ > Vimperator mailing list > Vimperator at mozdev.org > https://www.mozdev.org/mailman/listinfo/vimperator > ------------------------------ Message: 3 Date: Tue, 28 Jul 2009 14:56:50 +0300 From: Ilmari Vacklin Subject: Re: [Vimperator] Switch to last buffer To: vimperator at mozdev.org Message-ID: Content-Type: text/plain; charset=UTF-8 2009/7/26 Gary Katsevman : > ?or is mapped to it. # is backwards search/select word. Thanks! -- Ilmari Vacklin ------------------------------ Message: 4 Date: Tue, 28 Jul 2009 10:42:58 -0600 From: Sean Crotty Subject: [Vimperator] Surround with www and .com/.org/.net? To: vimperator at mozdev.org Message-ID: <4A6F2A92.10503 at gmail.com> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" When using the Firefox Ultimate Bar, you can type a domain name, say, gizmodo and then type ctrl- and that domain name is wrapped with www and .com to become www.gizmodo.com and is submitted for retrieval. (Using shift-ctrl- and shift- wraps with .net and .org.) Is there a way to achieve the same thing in Vimperator with the "open" or "tabopen" commands? I'd love to be able to do this: :open gizmodo And then just type ctrl-to retrieve www.gizmodo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ _______________________________________________ Vimperator mailing list Vimperator at mozdev.org https://www.mozdev.org/mailman/listinfo/vimperator End of Vimperator Digest, Vol 28, Issue 24 ****************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From maxauthority at vimperator.org Wed Jul 29 06:01:31 2009 From: maxauthority at vimperator.org (Martin Stubenschrott) Date: Wed, 29 Jul 2009 15:01:31 +0200 Subject: [Vimperator] Vimperator Digest, Vol 28, Issue 24 In-Reply-To: <222677.68473.qm@web33607.mail.mud.yahoo.com> References: <222677.68473.qm@web33607.mail.mud.yahoo.com> Message-ID: On Wed, Jul 29, 2009 at 2:06 PM, Robert John wrote: > Problem: I upgraded to Firefox 3.5, and have lost my Right scrollbar. > > Due Dilligence: > ? - Googled various combos of? vimperator and scrollbar and Firefox 3.5 and > disappear > ? - searched "scrollbar +Firefox 3.5" on vimperator.org > > Unsuccessful Attempts to solve > ?- :set guioptions +=r > ?- Tried a few different themes > ?- New Firefox profile after doing guioptions+=r, you'll have to reload that tab. (or put it in your .vimperatorrc). From siadat at gmail.com Wed Jul 29 09:17:20 2009 From: siadat at gmail.com (Sina Siadatnejad) Date: Wed, 29 Jul 2009 20:17:20 +0400 Subject: [Vimperator] Getting current file name In-Reply-To: <4A703B21.2040700@redhat.com> References: <4A6EB88C.6010800@redhat.com> <4A703B21.2040700@redhat.com> Message-ID: Thanks Marian for your reply. I like the way you get the last bit of the URL, I was not aware of the "content" object. I was looking for that one, as well. :o) I don't like spaces in file names either! I just want to be able to modify the default file name (the one suggested in Firefox's "Save As" dialogue) before saving. Unfortunately, not all file names are visible in the url, and it seems like Firefox uses the page title in those cases, with the page type appended. 2009/7/29 Marian Csontos : > Hi Sina, unfortunately the mailing list does not do "Reply to all" and I > forgot to reply directly to you. > The same had happened to me a week ago before I subscribed :-( > > Cheers, > > -- Marian > > Marian Csontos wrote: >> >> Sina Siadatnejad wrote: >>> >>> (My first post; apologies if sent to the wrong recipients.) >>> >>> Hey guys, >>> >>> I am trying to save the current page with its filename, only slightly >>> modified. For example, when looking at an "index.html" >>> >>> ? ? :write "my %" >>> >> >> Hi Sina, I think you are after something like this: >> ? :execute "write my-"+content.location.pathname.split("/").pop() >> I am not a JS guy, there might be a better way for parsing >> filenames/URLs... >> >> BTW, are you sure, you want a space in your filename? [ "I 'ate them!" as >> my French colleague used to say ;-) ] >> And you might want to handle other special characters not allowed in >> filesystem (or allowed, but not loveable) as well. In DOS/Windows filesystem >> e.g. '%' character is good candidate to replace. >> >> Cheers, >> >> Marian >>> >>> would save it as "my index.html" (replacing % with the filename). >>> Alternatively, how can I get the current page's filename in my >>> .vimoeratirrc? >>> >>> Thanks :o) >>> Sina >>> _______________________________________________ >>> 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 mcsontos at redhat.com Wed Jul 29 10:05:57 2009 From: mcsontos at redhat.com (Marian Csontos) Date: Wed, 29 Jul 2009 19:05:57 +0200 Subject: [Vimperator] Getting current file name In-Reply-To: References: <4A6EB88C.6010800@redhat.com> <4A703B21.2040700@redhat.com> Message-ID: <4A708175.80709@redhat.com> Sina Siadatnejad wrote: > Thanks Marian for your reply. > > I like the way you get the last bit of the URL, I was not aware of the > "content" object. I was looking for that one, as well. :o) > > I don't like spaces in file names either! I just want to be able to > modify the default file name (the one suggested in Firefox's "Save As" > dialogue) before saving. Unfortunately, not all file names are visible > in the url, and it seems like Firefox uses the page title in those > cases, with the page type appended. > Hi Sina, just add a function to your .vimperatorrc or plugin directory [1] and you can use URL, title or combination... If you are skilled in js, you can do pretty much anything you wish. And share your solution, please. :-) [1] You can do everything on one line, of course, but both readability and performance suffers that way: the function has to be parsed each time... Cheers, -- Marian > 2009/7/29 Marian Csontos : > >> Hi Sina, unfortunately the mailing list does not do "Reply to all" and I >> forgot to reply directly to you. >> The same had happened to me a week ago before I subscribed :-( >> >> Cheers, >> >> -- Marian >> >> Marian Csontos wrote: >> >>> Sina Siadatnejad wrote: >>> >>>> (My first post; apologies if sent to the wrong recipients.) >>>> >>>> Hey guys, >>>> >>>> I am trying to save the current page with its filename, only slightly >>>> modified. For example, when looking at an "index.html" >>>> >>>> :write "my %" >>>> >>>> >>> Hi Sina, I think you are after something like this: >>> :execute "write my-"+content.location.pathname.split("/").pop() >>> I am not a JS guy, there might be a better way for parsing >>> filenames/URLs... >>> >>> BTW, are you sure, you want a space in your filename? [ "I 'ate them!" as >>> my French colleague used to say ;-) ] >>> And you might want to handle other special characters not allowed in >>> filesystem (or allowed, but not loveable) as well. In DOS/Windows filesystem >>> e.g. '%' character is good candidate to replace. >>> >>> Cheers, >>> >>> Marian >>> >>>> would save it as "my index.html" (replacing % with the filename). >>>> Alternatively, how can I get the current page's filename in my >>>> .vimoeratirrc? >>>> >>>> Thanks :o) >>>> Sina >>>> _______________________________________________ >>>> 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 rz at linux-m68k.org Wed Jul 29 14:51:06 2009 From: rz at linux-m68k.org (Richard Zidlicky) Date: Wed, 29 Jul 2009 23:51:06 +0200 Subject: [Vimperator] Vimperator impressions & suggestions In-Reply-To: <644fc65e0907270144q2799631aw3dfb401c34084ae9@mail.gmail.com> References: <20090718194807.GA3960@linux-m68k.org> <644fc65e0907270144q2799631aw3dfb401c34084ae9@mail.gmail.com> Message-ID: <20090729215106.GA11688@linux-m68k.org> On Mon, Jul 27, 2009 at 06:44:44PM +1000, Doug Kearns wrote: > On 7/19/09, Richard Zidlicky wrote: > > > > > * text search - can not figure out how to perform commands on search hit(s), like > > :g/http:.*\.jpg/tabopen > > could open all matching hits in tabs. For such application it would also require to > > have modifiers to search either "hintable elements" or plaintext. Running external > > commands on search hits would be obviously also very appreciated. > > http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/lo.js > might be of some interest to you for the specific case. thanks, this looks very promising. Richard