From kettler at internode.on.net Sun Jul 5 21:41:52 2009 From: kettler at internode.on.net (David Kettler) Date: Mon, 6 Jul 2009 14:11:52 +0930 Subject: [Conkeror] [PATCH] buttons: use interactive_context In-Reply-To: <1241786525-12105-1-git-send-email-kettler@internode.on.net> References: <1241786525-12105-1-git-send-email-kettler@internode.on.net> Message-ID: <1246855312-7615-1-git-send-email-kettler@internode.on.net> Squash onto parent (Provide buttons on the mode-line for basic browser control, 2009-05-08). Needed after b26bd26 (interactive_context: construct with `new' instead of ad-hoc, 2009-05-29). --- modules/mode-line.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/mode-line.js b/modules/mode-line.js index cbe45b6..591f805 100644 --- a/modules/mode-line.js +++ b/modules/mode-line.js @@ -240,7 +240,7 @@ button_widget.prototype = { var element = create_XUL(window, "image"); element.addEventListener("click", function (event) { - var ctx = { window: window, key_sequence: [], sticky_modifiers: 0 }; + var ctx = new interactive_context(window.buffers.current); call_interactively(ctx, command); }, false); -- 1.6.3.3 From eternalyouth at gmail.com Thu Jul 9 04:48:51 2009 From: eternalyouth at gmail.com (Bibek Paudel) Date: Thu, 9 Jul 2009 17:33:51 +0545 Subject: [Conkeror] New Conkeror User seeking some help Message-ID: Hi all, I just started using Conkeror yesterday and I'm totally in love with it. Thanks a lot to the great team and the community behind it. I've been a long time user of Vim and Vimperator and I've some questions that I'd like to post here. If they are already answered elsewhere, kindly send me the link to those pages. I ried looking at a few places and couldn't find answer to these queries: 1. My .conkerorrc file doesn't seem to work: I've created a .conkerorrc file and entered a few settings like the one mentioned here: http://conkeror.org/Tabs but it seems like it isn't working. Then, I tried replacing the .conkeror file with a simpler one that just defined a couple of keybindings. I entered the file's full path in the start page (C-h i) where a text box for this purpose is located. Somewhere I read that the command to reload the rc file with "rcinit" command but I couldn't understand where to enter that command. 2. How to emulate the right-click functionality? Alright, I don't want to be using my mouse when I use Conkeror, but I would like to copy the URL of links/images etc and so on. I want to bookmark a link present in a webpage or save an image, see more properties associated with an element. Any idea how do I do that? Any additional keybindings I need to include in my rc file? 3. Finally, I want to develop a conkeror for vim users Being a vim user, vimperator was very easy for me to get used to. Not that conkeror is impossible, but it would always be nice for a vim user to search using '/' instead of C-s , open link in new buffer with F instead of C-u f and so on. How do I make conkeror behave like vimperator? Do I need to dig deeper into Conkeror codes or is it just a matter of replacing conkeror keybindings with the appropriate vimperator-style keybindings? Any howto or tutorial available in this regard? If not, I'd like to be spending a few days to do this, if someone would be able to provide me with the existing text and help already available. I think that would be a great step towards making a great tool like Conkeror more popular. Thanks in advance for any help. Bibek -- Disclaimer: By sending an email to any of my addresses you are agreeing that: 1. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. 2. I may take the contents as representing the views of your company. 3. This overrides any disclaimer or statement of confidentiality that may be included on your message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From abe at deuxchevaux.org Thu Jul 9 05:05:03 2009 From: abe at deuxchevaux.org (Axel Beckert) Date: Thu, 9 Jul 2009 14:05:03 +0200 Subject: [Conkeror] New Conkeror User seeking some help In-Reply-To: References: Message-ID: <20090709120503.GW12992@sym.noone.org> Hi, I just skip the questions I can't answer... On Thu, Jul 09, 2009 at 05:33:51PM +0545, Bibek Paudel wrote: > 2. How to emulate the right-click functionality? Use "c". > Alright, I don't want to be using my mouse when I use Conkeror, but I would > like to copy the URL of links/images etc and so on. Use "i c" for images and "c" for links and then the number. Or right click the link and then press "c" and Enter. It's selected by default. > I want to bookmark a link present in a webpage Use "n b" and then the number of the link. (Or "i b" to bookmark images.) > or save an image Use "i s". > 3. Finally, I want to develop a conkeror for vim users > Being a vim user, vimperator was very easy for me to get used to. Not that > conkeror is impossible, but it would always be nice for a vim user to search > using '/' instead of C-s , open link in new buffer with F instead of C-u f > and so on. How do I make conkeror behave like vimperator? I don't know the answer (I'm an Emacs guy, got Emacs Lisp already in the baby bottle ;-), but that's definite FAQ and should be added to the wiki as soon as there's an answer. Got that question, too, on #grml after the inclusion of Conkeror in GRML. Regards, Axel -- Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/ From mashdot at toshine.net Thu Jul 9 05:11:45 2009 From: mashdot at toshine.net ('Mash) Date: Thu, 9 Jul 2009 13:11:45 +0100 Subject: [Conkeror] New Conkeror User seeking some help In-Reply-To: References: Message-ID: <20090709121145.GF11414@grace.toshine.net> A quick answer... The best bet would be to get the latest via git http://conkeror.org/InstallationUnix Then: 1. read http://conkeror.org/ConkerorRC 2. type ?c? to copy links (?0? copies current page url) type ?i s? to copy images The rest other people would be better answering. Also you can have a look at my very simple .conkerorrc file here... http://toshine.net/conkerorrc.txt 'Mash --- Sola fida, Sola Gratia, Soli Deo gloria! On 2009-07-09 17:33+0545, Bibek Paudel wrote: > Hi all, > I just started using Conkeror yesterday and I'm totally in love with it. > Thanks a lot to the great team and the community behind it. I've been a long > time user of Vim and Vimperator and I've some questions that I'd like to > post here. If they are already answered elsewhere, kindly send me the link > to those pages. I ried looking at a few places and couldn't find answer to > these queries: > > 1. My .conkerorrc file doesn't seem to work: > I've created a .conkerorrc file and entered a few settings like the one > mentioned here: http://conkeror.org/Tabs but it seems like it isn't working. > Then, I tried replacing the .conkeror file with a simpler one that just > defined a couple of keybindings. I entered the file's full path in the start > page (C-h i) where a text box for this purpose is located. Somewhere I read > that the command to reload the rc file with "rcinit" command but I couldn't > understand where to enter that command. > > 2. How to emulate the right-click functionality? > Alright, I don't want to be using my mouse when I use Conkeror, but I would > like to copy the URL of links/images etc and so on. I want to bookmark a > link present in a webpage or save an image, see more properties associated > with an element. Any idea how do I do that? Any additional keybindings I > need to include in my rc file? > > 3. Finally, I want to develop a conkeror for vim users > Being a vim user, vimperator was very easy for me to get used to. Not that > conkeror is impossible, but it would always be nice for a vim user to search > using '/' instead of C-s , open link in new buffer with F instead of C-u f > and so on. How do I make conkeror behave like vimperator? Do I need to dig > deeper into Conkeror codes or is it just a matter of replacing conkeror > keybindings with the appropriate vimperator-style keybindings? Any howto or > tutorial available in this regard? If not, I'd like to be spending a few > days to do this, if someone would be able to provide me with the existing > text and help already available. I think that would be a great step towards > making a great tool like Conkeror more popular. > > Thanks in advance for any help. > > Bibek > > -- > Disclaimer: > By sending an email to any of my addresses you are agreeing that: > 1. All information in the email is mine to do with as I see fit and make > such financial profit, political mileage, or good joke as it lends itself > to. > 2. I may take the contents as representing the views of your company. > 3. This overrides any disclaimer or statement of confidentiality that may > be included on your message. > _______________________________________________ > Conkeror mailing list > Conkeror at mozdev.org > https://www.mozdev.org/mailman/listinfo/conkeror From deniz.a.m.dogan at gmail.com Thu Jul 9 05:59:14 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Thu, 9 Jul 2009 14:59:14 +0200 Subject: [Conkeror] New Conkeror User seeking some help In-Reply-To: References: Message-ID: <7b501d5c0907090559mc2e3fe8ud215132067429845@mail.gmail.com> 2009/7/9 Bibek Paudel : > Somewhere I read > that the command to reload the rc file with "rcinit" command but I couldn't > understand where to enter that command. IIRC, the command is called "reinit" (re-initialize), and you invoke it by hitting M-x reinit. -- Deniz Dogan From joe_f at verizon.net Thu Jul 9 07:26:33 2009 From: joe_f at verizon.net (Joe Fineman) Date: Thu, 09 Jul 2009 10:26:33 -0400 Subject: [Conkeror] Pluggers thinks Conkeror is a cellphone? Message-ID: I had been using Conkeror for some time, without difficulty, to access the site gocomics.com. Beginning yesterday, however, attempts to do so have resulted in the message Site unavailable. Please provide a phone number and we will alert you when a version of GoComics suitable for your mobile device is available. Firefox continues to bring up the site, and Conkeror continues to bring up all other sites that I haunt. Can someone here guess what has changed & where? -- --- Joe Fineman joe_f at verizon.net ||: The vast majority of humans have more than the average :|| ||: number of legs. :|| From abe at deuxchevaux.org Thu Jul 9 08:39:10 2009 From: abe at deuxchevaux.org (Axel Beckert) Date: Thu, 9 Jul 2009 17:39:10 +0200 Subject: [Conkeror] Pluggers thinks Conkeror is a cellphone? In-Reply-To: References: Message-ID: <20090709153910.GY12992@sym.noone.org> Hi, On Thu, Jul 09, 2009 at 10:26:33AM -0400, Joe Fineman wrote: > I had been using Conkeror for some time, without difficulty, to access > the site gocomics.com. Beginning yesterday, however, attempts to do > so have resulted in the message > > Site unavailable. Please provide a phone number and we will alert > you when a version of GoComics suitable for your mobile device is > available. Interesting. Do you login and the problem appears afterwards? Or does it appear all over the site independently of logging in or not? Because I can access http://www.gocomics.com/garfield without problems in Conkeror (Snapshot from 2009-Jun-17 on Debian 5.0 Lenny). (I read comics there, too, but mostly via the Liferea feed reader, so I don't browse it very often with Conkeror.) > Firefox continues to bring up the site, and Conkeror continues to > bring up all other sites that I haunt. Can someone here guess what > has changed & where? Not really. On which operating system? Any plugins? Which version of XULRunner? Regards, Axel -- Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/ From jjfoerch at earthlink.net Thu Jul 9 10:04:15 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Thu, 9 Jul 2009 13:04:15 -0400 Subject: [Conkeror] Pluggers thinks Conkeror is a cellphone? In-Reply-To: References: Message-ID: <20090709170415.GA18909@jupiter> On Thu, Jul 09, 2009 at 10:26:33AM -0400, Joe Fineman wrote: > I had been using Conkeror for some time, without difficulty, to access > the site gocomics.com. Beginning yesterday, however, attempts to do > so have resulted in the message > > Site unavailable. Please provide a phone number and we will alert > you when a version of GoComics suitable for your mobile device is > available. > > Firefox continues to bring up the site, and Conkeror continues to > bring up all other sites that I haunt. Can someone here guess what > has changed & where? You can set the user agent string to look like another browser.. set_user_agent(str); -- John Foerch From jjfoerch at earthlink.net Thu Jul 9 10:21:47 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Thu, 9 Jul 2009 13:21:47 -0400 Subject: [Conkeror] New Conkeror User seeking some help In-Reply-To: References: Message-ID: <20090709172147.GB18909@jupiter> Hello, On Thu, Jul 09, 2009 at 05:33:51PM +0545, Bibek Paudel wrote: > 1. My .conkerorrc file doesn't seem to work: > I've created a .conkerorrc file and entered a few settings like the one > mentioned here: http://conkeror.org/Tabs but it seems like it isn't working. > Then, I tried replacing the .conkeror file with a simpler one that just defined > a couple of keybindings. I entered the file's full path in the start page (C-h > i) where a text box for this purpose is located. Somewhere I read that the > command to reload the rc file with "rcinit" command but I couldn't understand > where to enter that command. Current conkeror from git does not require you to enter the filename in the form in the start page. It will automatically load ~/.conkerorrc (if it is a file) or ~/.conkerorrc/*.js (if it is a directory). If you still have trouble getting your rc to load, comment or delete everything in it, and see if you can get some simple terminal output: dumpln("hello, world!"); As someone else mentioned, the command is `M-x reinit'. > search using '/' instead of C-s Some vi-like search bindings: define_key(content_buffer_normal_keymap, "/", "isearch-forward"); define_key(content_buffer_normal_keymap, "?", "isearch-backward"); define_key(content_buffer_normal_keymap, "n", "isearch-continue-forward"); define_key(content_buffer_normal_keymap, "N", "isearch-continue-backward"); The commands isearch-continue-[forward/backward] are bound on S and R by default, and you may just want to use those unless you are planning to make a whole new binding set. > open link in new buffer with F instead of C-u f define_key(default_global_keymap, "F", "follow-new-buffer"); -- John Foerch From jjfoerch at earthlink.net Thu Jul 9 10:24:37 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Thu, 9 Jul 2009 13:24:37 -0400 Subject: [Conkeror] New Conkeror User seeking some help In-Reply-To: <20090709172147.GB18909@jupiter> References: <20090709172147.GB18909@jupiter> Message-ID: <20090709172437.GA19457@jupiter> On Thu, Jul 09, 2009 at 01:21:47PM -0400, John J. Foerch wrote: > > open link in new buffer with F instead of C-u f > > define_key(default_global_keymap, "F", "follow-new-buffer"); Oops, error. It should be this: define_key(content_buffer_normal_keymap, "F", "follow-new-buffer"); -- John Foerch From joe_f at verizon.net Thu Jul 9 10:28:05 2009 From: joe_f at verizon.net (Joe Fineman) Date: Thu, 09 Jul 2009 13:28:05 -0400 Subject: [Conkeror] Pluggers thinks Conkeror is a cellphone? In-Reply-To: (conkeror-request@mozdev.org's message of "Thu\, 09 Jul 2009 09\:55\:09 -0700") References: Message-ID: conkeror-request at mozdev.org, in the person of Axel Beckert, writes: > On Thu, Jul 09, 2009 at 10:26:33AM -0400, Joe Fineman wrote: >> I had been using Conkeror for some time, without difficulty, to >> access the site gocomics.com. Beginning yesterday, however, >> attempts to do so have resulted in the message >> >> Site unavailable. Please provide a phone number and we will >> alert you when a version of GoComics suitable for your mobile >> device is available. > > Interesting. Do you login and the problem appears afterwards? Or > does it appear all over the site independently of logging in or not? I don't log in. It appears with the bare URL gocomics.com. > On which operating system? Sorry -- I should have mentioned that. Windows XP (sigh). > Any plugins? Which version of XULRunner? Alas, I do not know what plugins or XULRunner are. > You can set the user agent string to look like another browser.. > > set_user_agent(str); Once again, I am too ignorant for such concise advice. What string should I set it to, and what file should the command go in? Thank you for your patience. -- --- Joe Fineman joe_f at verizon.net ||: Life is one long process of getting tired. :|| From jjfoerch at earthlink.net Thu Jul 9 10:56:24 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Thu, 9 Jul 2009 13:56:24 -0400 Subject: [Conkeror] Pluggers thinks Conkeror is a cellphone? In-Reply-To: References: Message-ID: <20090709175624.GA20142@jupiter> On Thu, Jul 09, 2009 at 01:28:05PM -0400, Joe Fineman wrote: > > You can set the user agent string to look like another browser.. > > > > set_user_agent(str); > > Once again, I am too ignorant for such concise advice. What string > should I set it to, and what file should the command go in? This would go in your ~/.conkerorrc. You should be able to find Firefox's user-agent string easily with google. -- John Foerch From levy at msri.org Fri Jul 10 01:25:10 2009 From: levy at msri.org (Silvio Levy) Date: Fri, 10 Jul 2009 01:25:10 -0700 Subject: [Conkeror] Help! Conkeror hanging on pdf files Message-ID: <20090710082510.8F2ABDFC6@xi.msri.org> Hello wise folks, Two weeks ago I installed Acrobat Reader 9 on my ubuntu laptop. (I had version 7 before). After that, whenever I clicked on a link to a pdf file in conkeror, I would usually get a blank buffer, and conkeror would crash if I tried to kill the buffer. Then I tried to teach Conkeror not to open pdf files with Acrobat Reader. Googling "conkeror file associations" revealed nothing. Using nautilus to change the default software for opening pdf files had no effect on conkeror. Finally I removed every instance of nppdf.so from the disk, hoping that by not finding a plugin, conkeror would offer to save the file. Now instead of a blank screen, conkeror hangs. I have to use kill -9. Upgrading to the current conkeror from git ("conkeror.mozdev.org conkeror 0.9") didn't help. Putting nppdf.so back in /usr/lib/mozilla/plugins (the value of MOZ_PLUGIN_PATH) didn't help. I'd be very thankful if something could suggest what I'm doing wrong. Silvio From jjfoerch at earthlink.net Fri Jul 10 03:45:32 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Fri, 10 Jul 2009 06:45:32 -0400 Subject: [Conkeror] Help! Conkeror hanging on pdf files In-Reply-To: <20090710082510.8F2ABDFC6@xi.msri.org> References: <20090710082510.8F2ABDFC6@xi.msri.org> Message-ID: <20090710104532.GA31952@jupiter> On Fri, Jul 10, 2009 at 01:25:10AM -0700, Silvio Levy wrote: > > Hello wise folks, > > Two weeks ago I installed Acrobat Reader 9 on my ubuntu laptop. > (I had version 7 before). After that, whenever I clicked on a link to a > pdf file in conkeror, I would usually get a blank buffer, and conkeror > would crash if I tried to kill the buffer. > > Then I tried to teach Conkeror not to open pdf files with Acrobat > Reader. Googling "conkeror file associations" revealed nothing. > Using nautilus to change the default software for opening pdf files > had no effect on conkeror. > > Finally I removed every instance of nppdf.so from the disk, hoping that > by not finding a plugin, conkeror would offer to save the file. > > Now instead of a blank screen, conkeror hangs. I have to use > kill -9. > > Upgrading to the current conkeror from git ("conkeror.mozdev.org > conkeror 0.9") didn't help. Putting nppdf.so back in > /usr/lib/mozilla/plugins (the value of MOZ_PLUGIN_PATH) didn't help. > > I'd be very thankful if something could suggest what I'm doing wrong. Hi Silvio, Conkeror has its own registry of mime-type handlers, separate from those defined at the OS level. See http://conkeror.org/MimeTypeHandlers for details. Also http://conkeror.org/UserVariables. -- John Foerch From eternalyouth at gmail.com Fri Jul 10 10:01:59 2009 From: eternalyouth at gmail.com (Bibek Paudel) Date: Fri, 10 Jul 2009 22:46:59 +0545 Subject: [Conkeror] New Conkeror User seeking some help In-Reply-To: <20090709172437.GA19457@jupiter> References: <20090709172147.GB18909@jupiter> <20090709172437.GA19457@jupiter> Message-ID: Wow, Thanks to all of your help, my conkeror experience is a lot better now ! On 2009/7/9 Axel Beckert wrote: >Hi, >I just skip the questions I can't answer... Your answers were very helpful. I can now save, bookmark or look at the links and pictures. But I still haven't figured out how to emulate the right click functionality. Maybe, I need to see more into the docs (and I am doing that), but if anybody knows how do I inspect some element, for example (an functionality achieved by right-click in firefox), it would be great. As an example, you can see the dimensions of an image this way in firefox, is there someway i can do something similar in conkeror? >I don't know the answer (I'm an Emacs guy, got Emacs Lisp already in >the baby bottle ;-), but that's definite FAQ and should be added to >the wiki as soon as there's an answer. Got that question, too, on >#grml after the inclusion of Conkeror in GRML. I didn't exactly get this. Can conkeror be extended by programming in Emacs Lisp ? On Thu, Jul 9, 2009 at 5:56 PM, 'Mash wrote: >A quick answer... >The best bet would be to get the latest via git http://conkeror.org/InstallationUnix Thanks, I did indeed (re)install it from there. For some reason, the conkeror I had installed from my package manager (in Debian Lenny) wasn't accepting the configuration in my .conkerorrc. The new one is perfectly working the way it should have been. On Thu, Jul 9, 2009 at 11:09 PM, John J. Foerch wrote: > On Thu, Jul 09, 2009 at 01:21:47PM -0400, John J. Foerch wrote: > > > open link in new buffer with F instead of C-u f > > > > define_key(default_global_keymap, "F", "follow-new-buffer"); > Thanks for the tips. I understand that conkeror could be made to behave like vimperator by changing keybindings. What I actually wanted to know is if it is possible to make conkeror "completely" behave like Vimperator "only" by changing the keybindings or does one need to do more than that (for example, some deeper hacking)? Btw, your dumpln trick is great. Thanks. The newer conkeror (from the snapshot) works so neat. Btw, I wanted to ask a few more things too. Hope nobody minds :) 1. The main reason I tried Conkeror is the configuration of machine I use. It's an old box with memory and CPU freq a lot lesser than of modern machines. When I use firefox with many tabs, it really slows down the computer and often brings it to knees. I hope conkeror is lighter in comparision and faster too. My experience so far suggests the same. If somebody knows of some benchmarks, comparision or statistics related to this, it would be nice to have a look. 2. How do I emulate the "awesome bar" of firefox (ie the address bar) ? Like suggesting me the websites already visited or bookmarked. 3. If there's someway in which I can add the "restore tabs from last session" feature to conkeror, would be glad to know how. 4. How/where to add bookmarklets. I had a few bookmarklets in Firefox that I miss now. How do I bring them back in conkeror? Is it by creating additional keybindinds for the code of bookmarklet (they are javacsripts) or is there some other way? Any help will be highly appreciated. Thanks in advance. Bibek -- Disclaimer: By sending an email to any of my addresses you are agreeing that: 1. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. 2. I may take the contents as representing the views of your company. 3. This overrides any disclaimer or statement of confidentiality that may be included on your message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy at jeremyms.com Fri Jul 10 13:21:28 2009 From: jeremy at jeremyms.com (Jeremy Maitin-Shepard) Date: Fri, 10 Jul 2009 13:21:28 -0700 Subject: [Conkeror] New Conkeror User seeking some help In-Reply-To: (Bibek Paudel's message of "Fri, 10 Jul 2009 22:46:59 +0545") References: <20090709172147.GB18909@jupiter> <20090709172437.GA19457@jupiter> Message-ID: <873a945lx3.fsf@jeremyms.com> Bibek Paudel writes: > Wow, Thanks to all of your help, my conkeror experience is a lot better now > ! > On 2009/7/9 Axel Beckert wrote: >> Hi, >> I just skip the questions I can't answer... > Your answers were very helpful. I can now save, bookmark or look at the > links and pictures. But I still haven't figured out how to emulate the right > click functionality. Maybe, I need to see more into the docs (and I am doing > that), but if anybody knows how do I inspect some element, for example (an > functionality achieved by right-click in firefox), it would be great. As an > example, you can see the dimensions of an image this way in firefox, is > there someway i can do something similar in conkeror? This feature does not exist in Conkeror. (Except by using the DOM inspector interface in Conkeror, which though it would give you image size, is surely not what you were looking for.) An analogue in Conkeror for inspecting some element would likely make use of the browser object/hints systems. This would require some programming, though. >> I don't know the answer (I'm an Emacs guy, got Emacs Lisp already in >> the baby bottle ;-), but that's definite FAQ and should be added to >> the wiki as soon as there's an answer. Got that question, too, on >> #grml after the inclusion of Conkeror in GRML. > I didn't exactly get this. Can conkeror be extended by programming in Emacs > Lisp ? No, for Conkeror, the language JavaScript plays the role that Emacs Lisp plays for Emacs. However, JavaScript is not such a bad language. > On Thu, Jul 9, 2009 at 5:56 PM, 'Mash wrote: >> A quick answer... >> The best bet would be to get the latest via git > http://conkeror.org/InstallationUnix > Thanks, I did indeed (re)install it from there. For some reason, the > conkeror I had installed from my package manager (in Debian Lenny) wasn't > accepting the configuration in my .conkerorrc. The new one is perfectly > working the way it should have been. > On Thu, Jul 9, 2009 at 11:09 PM, John J. Foerch wrote: >> On Thu, Jul 09, 2009 at 01:21:47PM -0400, John J. Foerch wrote: >> > > open link in new buffer with F instead of C-u f >> > >> > define_key(default_global_keymap, "F", "follow-new-buffer"); >> > Thanks for the tips. I understand that conkeror could be made to behave like > vimperator by changing keybindings. What I actually wanted to know is if it > is possible to make conkeror "completely" behave like Vimperator "only" by > changing the keybindings or does one need to do more than that (for example, > some deeper hacking)? Changing key bindings will likely get you much of the way to vimperator, but it will indeed not get you an exact clone of vimperator. For one thing, not all UI decisions are represented as key binding choices, and for another, there are some features in vimperator not supported in Conkeror (though also some things in Conkeror not supported in Vimperator). I would think that changing the key bindings would be mostly sufficient, though. > Btw, your dumpln trick is great. Thanks. The newer conkeror (from the > snapshot) works so neat. > Btw, I wanted to ask a few more things too. Hope nobody minds :) > 1. The main reason I tried Conkeror is the configuration of machine I use. > It's an old box with memory and CPU freq a lot lesser than of modern > machines. When I use firefox with many tabs, it really slows down the > computer and often brings it to knees. I hope conkeror is lighter in > comparision and faster too. My experience so far suggests the same. If > somebody knows of some benchmarks, comparision or statistics related to > this, it would be nice to have a look. It might be slightly faster. Unfortunately, though, the same Mozilla code underlies both Conkeror and Firefox, and therefore the performance and memory use are necessarily going to be very similar. > 2. How do I emulate the "awesome bar" of firefox (ie the address bar) ? Like > suggesting me the websites already visited or bookmarked. This is already supported to some extent. If you want to suggest sites from history, you can specify: url_completion_use_bookmarks = false; url_completion_use_history = true; Unfortunately, bookmarks and history cannot be used at once, but bookmarks are included in history, though the title you specify when creating the bookmark is not used when bookmarked sites are obtained from history. > 3. If there's someway in which I can add the "restore tabs from last > session" feature to conkeror, would be glad to know how. There is now session management support in Conkeror. See http://conkeror.org/Sessions > 4. How/where to add bookmarklets. I had a few bookmarklets in Firefox that I > miss now. How do I bring them back in conkeror? Is it by creating additional > keybindinds for the code of bookmarklet (they are javacsripts) or is there > some other way? You can use a facility called webjumps, though it is generally better to just define a command. See the wiki. -- Jeremy Maitin-Shepard From abe at deuxchevaux.org Fri Jul 10 15:01:54 2009 From: abe at deuxchevaux.org (Axel Beckert) Date: Sat, 11 Jul 2009 00:01:54 +0200 Subject: [Conkeror] New Conkeror User seeking some help In-Reply-To: References: <20090709172147.GB18909@jupiter> <20090709172437.GA19457@jupiter> Message-ID: <20090710220154.GB12992@sym.noone.org> Hi, On Fri, Jul 10, 2009 at 10:46:59PM +0545, Bibek Paudel wrote: [vi/vim/vimperator related questions] > >I don't know the answer (I'm an Emacs guy, got Emacs Lisp already in > >the baby bottle ;-), but that's definite FAQ and should be added to > >the wiki as soon as there's an answer. Got that question, too, on > >#grml after the inclusion of Conkeror in GRML. > > I didn't exactly get this. Can conkeror be extended by programming in Emacs > Lisp ? No. I just wanted to emphasise that I don't have a clue of vim and vimperator because I grew up with Emacs. > >The best bet would be to get the latest via git > >http://conkeror.org/InstallationUnix > > Thanks, I did indeed (re)install it from there. For some reason, the > conkeror I had installed from my package manager (in Debian Lenny) wasn't > accepting the configuration in my .conkerorrc. There were changes on where conkeror looks for the conkerorrc after the version released with Debian Lenny. The first version in Debian Testing/Unstable which uses the new conkerorrc places is 0.9~git090223-1. In case you want to follow the conkeror development using .deb packages, there are nightly build .debs at http://noone.org/conkeror-nightly-debs/ They usually work, but they're completely automatically built and untested. > 3. If there's someway in which I can add the "restore tabs from last > session" feature to conkeror, would be glad to know how. See http://conkeror.org/Sessions#sessionautosaveautoload > 4. How/where to add bookmarklets. They are usually offered as "javascript:" link to bookmark. Use "n b" to bookmark that link. > I had a few bookmarklets in Firefox that I > miss now. How do I bring them back in conkeror? Is it by creating additional > keybindinds for the code of bookmarklet (they are javacsripts) or is there > some other way? Defining them as webjump may help here. See http://conkeror.org/Webjumps Regards, Axel -- Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/ From levy at msri.org Sat Jul 11 16:35:08 2009 From: levy at msri.org (Silvio Levy) Date: Sat, 11 Jul 2009 16:35:08 -0700 Subject: [Conkeror] Help! Conkeror hanging on pdf files Message-ID: <20090711233508.47E11DFC6@xi.msri.org> Hello wise folks, [short version: how can I control what Conkeror does when I tell it to follow a link that serves a pdf file.] Two weeks ago I installed Acrobat Reader 9 on my ubuntu laptop. (I had version 7 before). After that, whenever I clicked on a link to a pdf file in conkeror, I would usually get a blank buffer, and conkeror would crash if I tried to kill the buffer. Then I tried to teach Conkeror not to open pdf files with Acrobat Reader. Googling "conkeror file associations" revealed nothing. Using nautilus to change the default software for opening pdf files had no effect on conkeror. Finally I removed every instance of nppdf.so from the disk, hoping that by not finding a plugin, conkeror would offer to save the file. Now instead of a blank screen, conkeror hangs. I have to use kill -9. Upgrading to the current conkeror from git ("conkeror.mozdev.org conkeror 0.9") didn't help. Putting nppdf.so back in /usr/lib/mozilla/plugins (the value of MOZ_PLUGIN_PATH) didn't help. I'd be very thankful if something could suggest what I'm doing wrong. Silvio From levy at msri.org Sat Jul 11 22:58:49 2009 From: levy at msri.org (Silvio Levy) Date: Sat, 11 Jul 2009 22:58:49 -0700 Subject: [Conkeror] Help! Conkeror hanging on pdf files In-Reply-To: Your message of Sun, 12 Jul 2009 10:53:08 +0530 Message-ID: <20090712055849.B0CF8DFC6@xi.msri.org> > Hit 'ns' and then select the pdf link. That's how you save a link to disk. Thanks Rankumar but this doesn't work for hidden "links" (i.e., instead of an href, the link is calls a php script or whatever that serves the file, like this: