New Conkeror User seeking some help

View: New views
9 Messages — Rating Filter:   Alert me  

New Conkeror User seeking some help

by Bibek Paudel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: New Conkeror User seeking some help

by Axel Beckert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@..., abe@... - http://noone.org/abe/
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: New Conkeror User seeking some help

by 'Mash-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
> https://www.mozdev.org/mailman/listinfo/conkeror

_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: New Conkeror User seeking some help

by Deniz Dogan-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/9 Bibek Paudel <eternalyouth@...>:
> 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
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: New Conkeror User seeking some help

by John J. Foerch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: New Conkeror User seeking some help

by John J. Foerch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: New Conkeror User seeking some help

by Bibek Paudel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Wow, Thanks to all of your help, my conkeror experience is a lot better now !

On 2009/7/9 Axel Beckert <abe@...> 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 <mashdot@...> 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 <jjfoerch@...> 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.

_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: New Conkeror User seeking some help

by Jeremy Maitin-Shepard-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bibek Paudel <eternalyouth@...> writes:

> Wow, Thanks to all of your help, my conkeror experience is a lot better now
> !

> On 2009/7/9 Axel Beckert <abe@...> 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 <mashdot@...> 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 <jjfoerch@...>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
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: New Conkeror User seeking some help

by Axel Beckert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@..., abe@... - http://noone.org/abe/
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror