From dcl441-bugs at yahoo.com Thu Mar 5 11:28:51 2009 From: dcl441-bugs at yahoo.com (Daniel Clemente) Date: Thu, 05 Mar 2009 20:28:51 +0100 Subject: [Conkeror] Styling scroll bars in Conkeror's blackened theme Message-ID: <87ljrj4vm4.fsf@CPU107.opentrends.net> Hi, I have just discovered that changing the colors of the user interface (minibuffer, mode line, new-tabs bar) was very easy; just do this: load_theme("blackened"); However, I still see both scrollbars in their original GTK colors (light gray), and this creates a very sharp contrast. Can they be styled to black too? I know that web pages can't change their colours, but I suppose that the user agent has the right to do it. Thanks, Daniel From deniz.a.m.dogan at gmail.com Thu Mar 5 11:35:42 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Thu, 5 Mar 2009 20:35:42 +0100 Subject: [Conkeror] Styling scroll bars in Conkeror's blackened theme In-Reply-To: <87ljrj4vm4.fsf@CPU107.opentrends.net> References: <87ljrj4vm4.fsf@CPU107.opentrends.net> Message-ID: <7b501d5c0903051135k22609898tc2bab68566d679a8@mail.gmail.com> 2009/3/5 Daniel Clemente : > > ?Hi, I have just discovered that changing the colors of the user interface (minibuffer, mode line, new-tabs bar) was very easy; just do this: > load_theme("blackened"); > > ?However, I still see both scrollbars in their original GTK colors (light gray), and this creates a very sharp contrast. Can they be styled to black too? > ?I know that web pages can't change their colours, but I suppose that the user agent has the right to do it. > > > ?Thanks, > Daniel Hi, Daniel I was the original author of the theme and I had actually planned on styling the scrollbars, but unfortunately I couldn't find out how. I believe that the user agent *can* style the scrollbars (cf. Firefox themes), but as far as I know websites cannot (only in IE). There are even more things that need to be done, e.g. the completion list, so please, contribute as much as you can! :) Cheers, Deniz From dcl441-bugs at yahoo.com Thu Mar 5 11:53:13 2009 From: dcl441-bugs at yahoo.com (Daniel Clemente) Date: Thu, 05 Mar 2009 20:53:13 +0100 Subject: [Conkeror] Styling scroll bars in Conkeror's blackened theme References: <87ljrj4vm4.fsf@CPU107.opentrends.net> <7b501d5c0903051135k22609898tc2bab68566d679a8@mail.gmail.com> Message-ID: <87hc274uhi.fsf@CPU107.opentrends.net> >> load_theme("blackened"); By the way, I meant theme_load("blackened"); > > Hi, Daniel > > I was the original author of the theme and I had actually planned on > styling the scrollbars, but unfortunately I couldn't find out how. I I supposed you had run into that problem as well? I couldn't style the GTK scrollbars in Emacs either. :-( Does someone in the list know the trick to do it? Are there other GTK applications who can do it? -- Daniel From jjfoerch at earthlink.net Thu Mar 5 14:23:09 2009 From: jjfoerch at earthlink.net (John J Foerch) Date: Thu, 05 Mar 2009 17:23:09 -0500 Subject: [Conkeror] Styling scroll bars in Conkeror's blackened theme References: <87ljrj4vm4.fsf@CPU107.opentrends.net> <7b501d5c0903051135k22609898tc2bab68566d679a8@mail.gmail.com> <87hc274uhi.fsf@CPU107.opentrends.net> Message-ID: <87k573sj76.fsf@earthlink.net> Daniel Clemente writes: >>> load_theme("blackened"); > > By the way, I meant theme_load("blackened"); > >> >> Hi, Daniel >> >> I was the original author of the theme and I had actually planned on >> styling the scrollbars, but unfortunately I couldn't find out how. I > > I supposed you had run into that problem as well? I couldn't style the GTK scrollbars in Emacs either. :-( > > Does someone in the list know the trick to do it? Are there other GTK applications who can do it? Working on it, but unsolved as yet. -- John Foerch From gzeusmants at gmail.com Fri Mar 6 12:23:57 2009 From: gzeusmants at gmail.com (A.W.) Date: Fri, 6 Mar 2009 14:23:57 -0600 Subject: [Conkeror] Gmail mode Message-ID: <613b861a0903061223o252b797ema25d7c0fba1d61eb@mail.gmail.com> The gmail mode needs serious maintenance. focus and key-grabbing issues. -- TheGZeus: Proof of Ferocious Will -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From x.piter at gmail.com Sat Mar 7 02:03:15 2009 From: x.piter at gmail.com (Piter_) Date: Sat, 7 Mar 2009 12:03:15 +0200 Subject: [Conkeror] gmail problem Message-ID: <6f4f96030903070203n5fccdcf4vc86c32aa32158e79@mail.gmail.com> Hi all. If I login into Gmail, a cannot select links or navigate on this page in any way (but mouse). Is there any solution? Thanks. Petro. From x.piter at gmail.com Sat Mar 7 02:06:41 2009 From: x.piter at gmail.com (Piter_) Date: Sat, 7 Mar 2009 12:06:41 +0200 Subject: [Conkeror] Djvu plugin problem. Message-ID: <6f4f96030903070206u6d1f7a17n74c897fb39e9e06f@mail.gmail.com> Ha all. If I open djvu file in conkeror, it stops to answer to keyboard. Is there any magic keyboard trick to make it work? Thanks. Petro. From jjfoerch at earthlink.net Sat Mar 7 07:14:30 2009 From: jjfoerch at earthlink.net (John J Foerch) Date: Sat, 07 Mar 2009 10:14:30 -0500 Subject: [Conkeror] Djvu plugin problem. References: <6f4f96030903070206u6d1f7a17n74c897fb39e9e06f@mail.gmail.com> Message-ID: <87ab7xcqll.fsf@earthlink.net> Piter_ writes: > Ha all. > If I open djvu file in conkeror, it stops to answer to keyboard. Is > there any magic keyboard trick to make it work? > Thanks. > Petro. What is djvu? A plugin? (like Flash & Java?) If so, the problem and the workaround is explained here: http://conkeror.org/UpstreamBugs#FocusedpluginspreventConkerorkeybindingsfromworking -- John Foerch From philip.weaver at gmail.com Sun Mar 8 04:46:19 2009 From: philip.weaver at gmail.com (Philip Weaver) Date: Sun, 8 Mar 2009 03:46:19 -0800 Subject: [Conkeror] gmail problem In-Reply-To: <6f4f96030903070203n5fccdcf4vc86c32aa32158e79@mail.gmail.com> References: <6f4f96030903070203n5fccdcf4vc86c32aa32158e79@mail.gmail.com> Message-ID: I believe you need to load gmail mode to get the keyboard shortcuts to work. The modes are listed here: http://conkeror.org/PageModes . On Sat, Mar 7, 2009 at 2:03 AM, Piter_ wrote: > Hi all. > If I login into Gmail, a cannot select links or navigate on this page > in any way (but mouse). Is there any solution? > Thanks. > Petro. > _______________________________________________ > Conkeror mailing list > Conkeror at mozdev.org > https://www.mozdev.org/mailman/listinfo/conkeror > -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip.weaver at gmail.com Sun Mar 8 04:47:20 2009 From: philip.weaver at gmail.com (Philip Weaver) Date: Sun, 8 Mar 2009 03:47:20 -0800 Subject: [Conkeror] Gmail mode In-Reply-To: <613b861a0903061223o252b797ema25d7c0fba1d61eb@mail.gmail.com> References: <613b861a0903061223o252b797ema25d7c0fba1d61eb@mail.gmail.com> Message-ID: I use it and have not noticed problems. Can you be more specific? . Thanks. On Fri, Mar 6, 2009 at 12:23 PM, A.W. wrote: > The gmail mode needs serious maintenance. > focus and key-grabbing issues. > -- TheGZeus: Proof of Ferocious Will -- > > _______________________________________________ > Conkeror mailing list > Conkeror at mozdev.org > https://www.mozdev.org/mailman/listinfo/conkeror > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjfoerch at earthlink.net Mon Mar 9 17:17:00 2009 From: jjfoerch at earthlink.net (John J Foerch) Date: Mon, 09 Mar 2009 20:17:00 -0400 Subject: [Conkeror] Styling scroll bars in Conkeror's blackened theme References: <87ljrj4vm4.fsf@CPU107.opentrends.net> Message-ID: <87wsayz0xv.fsf@earthlink.net> Daniel Clemente writes: > Hi, I have just discovered that changing the colors of the user interface (minibuffer, mode line, new-tabs bar) was very easy; just do this: > load_theme("blackened"); > > However, I still see both scrollbars in their original GTK colors (light gray), and this creates a very sharp contrast. Can they be styled to black too? > I know that web pages can't change their colours, but I suppose that the user agent has the right to do it. Conkeror now has this capability. -- John Foerch From dcl441-bugs at yahoo.com Tue Mar 10 02:52:49 2009 From: dcl441-bugs at yahoo.com (Daniel Clemente) Date: Tue, 10 Mar 2009 10:52:49 +0100 Subject: [Conkeror] Styling scroll bars in Conkeror's blackened theme References: <87ljrj4vm4.fsf@CPU107.opentrends.net> <87wsayz0xv.fsf@earthlink.net> Message-ID: <87hc213dse.fsf@CPU107.opentrends.net> > Conkeror now has this capability. Thanks for the new features of the blackened style. The minibuffer completion window seems to have a sharp contrast (white over black, and blue for the current item). Can the selection's background be made less blue (something like #00a), or the text less bright? I also see a white vertical line (~5px) at the left and right side of the completion buffer; it seems the background of the completions pane. I don't know how to change its background color. -- Daniel From deniz.a.m.dogan at gmail.com Tue Mar 10 04:23:01 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Tue, 10 Mar 2009 12:23:01 +0100 Subject: [Conkeror] Styling scroll bars in Conkeror's blackened theme In-Reply-To: <87hc213dse.fsf@CPU107.opentrends.net> References: <87ljrj4vm4.fsf@CPU107.opentrends.net> <87wsayz0xv.fsf@earthlink.net> <87hc213dse.fsf@CPU107.opentrends.net> Message-ID: <7b501d5c0903100423x6f75239cyf3c9b85b62c92076@mail.gmail.com> 2009/3/10 Daniel Clemente : > >> Conkeror now has this capability. > > Thanks for the new features of the blackened style. > > ?The minibuffer completion window seems to have a sharp contrast (white over black, and blue for the current item). Can the selection's background be made less blue (something like #00a), or the text less bright? > > ?I also see a white vertical line (~5px) at the left and right side of the completion buffer; it seems the background of the completions pane. I don't know how to change its background color. > > > -- Daniel I will probably be styling the "completion buffer" later today. I'm confident that we can make it go together well with the rest of the theme. Cheers, Deniz From gzeusmants at gmail.com Wed Mar 11 14:09:45 2009 From: gzeusmants at gmail.com (A.W.) Date: Wed, 11 Mar 2009 16:09:45 -0500 Subject: [Conkeror] gmail-mode problem Message-ID: <613b861a0903111409u39906319p47686bb43a4f6f95@mail.gmail.com> Reproduce: hit c to compose, or r to reply. tab to the message field. try to type. not all letters should get through. I have a signature, if that matters. -- TheGZeus: Proof of Ferocious Will -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip.weaver at gmail.com Wed Mar 11 15:34:09 2009 From: philip.weaver at gmail.com (Philip Weaver) Date: Wed, 11 Mar 2009 15:34:09 -0700 Subject: [Conkeror] gmail-mode problem In-Reply-To: <613b861a0903111409u39906319p47686bb43a4f6f95@mail.gmail.com> References: <613b861a0903111409u39906319p47686bb43a4f6f95@mail.gmail.com> Message-ID: Hmmm... I was not able to reproduce the bug. I do not have a signature, I'm on Mac OS X, version 11735ca of the conkeror git repo, and the only potentially relevant .conkerorrc settings that I have are: require("page-modes/gmail.js"); require("page-modes/google-search-results.js"); google_search_bind_number_shortcuts(); // use G as g in gmail, use g for find-url. define_key(gmail_keymap, "G", null, $fallthrough); define_key(gmail_keymap, "g", "find-url"); - Philip On Wed, Mar 11, 2009 at 2:09 PM, A.W. wrote: > Reproduce: > hit c to compose, or r to reply. > tab to the message field. > try to type. not all letters should get through. > I have a signature, if that matters. > -- TheGZeus: Proof of Ferocious Will -- > > _______________________________________________ > Conkeror mailing list > Conkeror at mozdev.org > https://www.mozdev.org/mailman/listinfo/conkeror > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From phil at shellarchive.co.uk Wed Mar 11 16:27:12 2009 From: phil at shellarchive.co.uk (Phil Jackson) Date: Wed, 11 Mar 2009 23:27:12 +0000 Subject: [Conkeror] [PATCH] More detailed filename for external edits Message-ID: <87fxhj1vzj.fsf@shellarchive.co.uk> Hi, This patch adds the domain to the filename created by `edit_field_in_external_editor'. It means one can choose a mode to edit, specific text from specific domains. Cheers, Phil -------------- next part -------------- A non-text attachment was scrubbed... Name: extern-editor-filename.diff Type: text/x-diff Size: 1346 bytes Desc: not available URL: From pdfinn at uwm.edu Thu Mar 12 13:39:51 2009 From: pdfinn at uwm.edu (pdfinn at uwm.edu) Date: Thu, 12 Mar 2009 15:39:51 -0500 Subject: [Conkeror] Running Conkeror (OS X) in X11 rather than Aqua Message-ID: Hello everyone, I'm running OS X, and am trying to get Conkeror running in the X11 environment instead of Aqua. Running the command: /Library/Frameworks/XUL.framework/xulrunner-bin --install-app /path/to/conkeror creates a Conkorer.app bundle which launches under Aqua not X11. I'm reasonably new to Conkeror and XULRunner; but this is what I have tried: 1) Installing Conkeror using xulrunner (rather than xulrunner-bin) available in the OS X sdk. Doing so provokes the complaint: ``Could not read application.ini''---I'm not sure how to interpret this; the file application.ini, exists and has correct permissions. 2) Installing Conkeror using the Linux version of xulrunner (on the assumption that it launches Conkeror in X11). But there are no make files available through the nightly build, and the binary does not run. Any ideas? Thanks, Peter From phil at shellarchive.co.uk Sat Mar 14 02:38:03 2009 From: phil at shellarchive.co.uk (Phil Jackson) Date: Sat, 14 Mar 2009 09:38:03 +0000 Subject: [Conkeror] [PATCH] More detailed filename for external edits References: <87fxhj1vzj.fsf@shellarchive.co.uk> Message-ID: <87hc1wzbpg.fsf@shellarchive.co.uk> Phil Jackson writes: > This patch adds the domain to the filename created by > `edit_field_in_external_editor'. It means one can choose a mode to edit, > specific text from specific domains. Slightly modified to remove the protocol and tidy up the file name a little. Now has tests. Cheers, Phil -- Philip Jackson web: http://www.shellarchive.co.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: extern-editor-filename.diff Type: text/x-diff Size: 3615 bytes Desc: not available URL: From deniz.a.m.dogan at gmail.com Sat Mar 14 09:36:45 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Sat, 14 Mar 2009 17:36:45 +0100 Subject: [Conkeror] What about jslib? Message-ID: <7b501d5c0903140936m34395cd5u55c855c86cac9186@mail.gmail.com> http://jslib.mozdev.org/ Has anyone taken the time to look at this? Could it be useful for Conkeror? Deniz From phil at shellarchive.co.uk Sun Mar 15 13:58:24 2009 From: phil at shellarchive.co.uk (Phil Jackson) Date: Sun, 15 Mar 2009 20:58:24 +0000 Subject: [Conkeror] Brand spanking new reddit.js Message-ID: <87tz5u8pvz.fsf@shellarchive.co.uk> Hi Conkeror types, What with it being a hot, sunny day outside I thought I'd try and fix reddit.js. What resulted was a complete rewrite to make use of Reddit's jQuery object. This is only my second attempt (first being the patch I sent in the other day) at JS so if I'm doing anything un-idiomatic (or outright silly) then let me know in IRC (pjackson). Cheers, Phil -- Philip Jackson web: http://www.shellarchive.co.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: reddit.js Type: application/javascript Size: 6064 bytes Desc: not available URL: From mckay.marston at gmail.com Thu Mar 19 11:17:49 2009 From: mckay.marston at gmail.com (McKay Marston) Date: Thu, 19 Mar 2009 12:17:49 -0600 Subject: [Conkeror] Download problem on Mac OS X Message-ID: <94a5b7ae0903191117u11046364ja0c3f27fc767ff00@mail.gmail.com> I'm using the git build (updated yesterday - 3/18/09). When I go to download a file, I am presented with the options of save, open, etc, and when I choose 's' (to save it), I get the following in the status bar along the bottom: call interactively: [Exception..."Component returned failure code: 0x8052001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nslLocalFile.initWithPath]" nsresult: "0x8052001 (NS_FILE_UNRECOGNIZED_PATH... I have tried adding the following to my .conkerorrc, but it didn't seem to do anything. set_default_directory("/Users/mckay/Downloads"); Any ideas? -- McKay -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjfoerch at earthlink.net Thu Mar 19 12:24:21 2009 From: jjfoerch at earthlink.net (John J Foerch) Date: Thu, 19 Mar 2009 15:24:21 -0400 Subject: [Conkeror] Download problem on Mac OS X References: <94a5b7ae0903191117u11046364ja0c3f27fc767ff00@mail.gmail.com> Message-ID: <87eiwte2oq.fsf@earthlink.net> McKay Marston writes: > I'm using the git build (updated yesterday - 3/18/09). > > When I go to download a file, I am presented with the options of save, open, etc, and > when I choose 's' (to save it), I get the following in the status bar along the bottom: > > call interactively: [Exception..."Component returned failure code: 0x8052001 > (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nslLocalFile.initWithPath]" nsresult: "0x8052001 > (NS_FILE_UNRECOGNIZED_PATH... > > I have tried adding the following to my .conkerorrc, but it didn't seem to do anything. > > set_default_directory("/Users/mckay/Downloads"); > > Any ideas? This is an open bug. In addition to the set_default_directory call you made, you also need the following: add_hook("create_buffer_hook", function (buf) { buf.configuration.cwd = null; }); -- John Foerch From jjfoerch at earthlink.net Fri Mar 20 08:39:40 2009 From: jjfoerch at earthlink.net (John J Foerch) Date: Fri, 20 Mar 2009 11:39:40 -0400 Subject: [Conkeror] breaking change: themes Message-ID: <8763i4dwzn.fsf@earthlink.net> Hi all, In order to make Conkeror compatible with native toolkit theming, Conkeror's themes have undergone a big rewrite. * Conkeror no longer specifies its own gui colors. * The blackened theme no longer exists. * It is no longer possible to theme scrollbars. From now on, the right way to change Conkeror's gui colors is to do so at the OS level, for example, with a GTK theme. Sorry for any inconvenience. -- John Foerch From abe at deuxchevaux.org Fri Mar 20 09:38:42 2009 From: abe at deuxchevaux.org (Axel Beckert) Date: Fri, 20 Mar 2009 17:38:42 +0100 Subject: [Conkeror] breaking change: themes In-Reply-To: <8763i4dwzn.fsf@earthlink.net> References: <8763i4dwzn.fsf@earthlink.net> Message-ID: <20090320163842.GI3980@sym.noone.org> On Fri, Mar 20, 2009 at 11:39:40AM -0400, John J Foerch wrote: > In order to make Conkeror compatible with native toolkit theming, > Conkeror's themes have undergone a big rewrite. > > * Conkeror no longer specifies its own gui colors. > > * The blackened theme no longer exists. > > * It is no longer possible to theme scrollbars. > > From now on, the right way to change Conkeror's gui colors is to do so > at the OS level, for example, with a GTK theme. For someone who uses conkeror that way since a long time this is good news. I though wonder if the previous way could be available as plugin, add-on, module or so since I can imagine that there are people who prefer to style conkeror differently than the reminder of their desktop. Regards, Axel -- Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/ From deniz.a.m.dogan at gmail.com Fri Mar 20 10:41:36 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Fri, 20 Mar 2009 18:41:36 +0100 Subject: [Conkeror] breaking change: themes In-Reply-To: <8763i4dwzn.fsf@earthlink.net> References: <8763i4dwzn.fsf@earthlink.net> Message-ID: <7b501d5c0903201041v7b97e551p1cd54a1c11f2e9e3@mail.gmail.com> 2009/3/20 John J Foerch : > ?* It is no longer possible to theme scrollbars. This one really bothers me, not because I can't live without themed scrollbars, but because I think they should be available. Is there really *no way* to make this happen? As we always say, how does Firefox do it? Cheers, Deniz From jjfoerch at earthlink.net Fri Mar 20 11:15:30 2009 From: jjfoerch at earthlink.net (John J Foerch) Date: Fri, 20 Mar 2009 14:15:30 -0400 Subject: [Conkeror] breaking change: themes References: <8763i4dwzn.fsf@earthlink.net> <7b501d5c0903201041v7b97e551p1cd54a1c11f2e9e3@mail.gmail.com> Message-ID: <874oxocb7h.fsf@earthlink.net> Deniz Dogan writes: > 2009/3/20 John J Foerch : >> ?* It is no longer possible to theme scrollbars. > > This one really bothers me, not because I can't live without themed > scrollbars, but because I think they should be available. Is there > really *no way* to make this happen? As we always say, how does > Firefox do it? It is necessary to register a chrome overlay in order to theme scrollbars. Firefox does it with a kind of extension package called a "skin". It should also be possible to write skins for Conkeror, so what I could have said to be more specific is that it is no longer possible to use Conkeror's theme system to change the scrollbars. Over the past week or so, I have tried many different GTK themes in order to change Conkeror's chrome to work well with native themes. The opinion I have come away with is that there are many nice themes available--easy to install and use--and being compatible with them gives us more, not less, flexibility to customize the Conkeror's appearance. -- John Foerch From kettler at internode.on.net Fri Mar 20 19:31:28 2009 From: kettler at internode.on.net (David Kettler) Date: Sat, 21 Mar 2009 13:01:28 +1030 Subject: [Conkeror] hooks, functions and features of interactive Message-ID: <87r60r7gjj.fsf@internode.on.net> There are various places in conkeror (some user variables and hooks) where the user specifies a function. Some of the features of interactive commands would be useful for those functions; I wonder if it would be useful to have a callback() function (analogous to interactive) to define such functions. In particular, they could be given documentation in this way (although its not clear how that documentation should be presented). Another feature of interactive that would be useful is the alternates mechanism. For instance I usually want url_remoting_fn to OPEN_NEW_BUFFER. But sometimes I want OPEN_NEW_BUFFER_BACKGROUND. I currently use the code below, but alternates would be nicer. Does this sound like something worth pursuing? Examples of variables, other than hooks, that are expected to be set to a function: media_scrapers read_url_handler_list run_external_editor_function url_remoting_fn Current code that would be neater with alternates: /* For url_remoting_fn; load in a new buffer. If -uu is given on the * command line, do so in the background. */ function load_url_in_new_buffer_perhaps_bg(url, ctx) { create_buffer_in_current_window( buffer_creator(content_buffer, $load = url, $configuration = ctx.config), ctx.prefix_argument ? OPEN_NEW_BUFFER_BACKGROUND : OPEN_NEW_BUFFER, !ctx.prefix_argument); } url_remoting_fn = load_url_in_new_buffer_perhaps_bg; regards, David From kettler at internode.on.net Fri Mar 20 19:34:24 2009 From: kettler at internode.on.net (David Kettler) Date: Sat, 21 Mar 2009 13:04:24 +1030 Subject: [Conkeror] [PATCH] Optionally don't accept partial matches as webjumps. Message-ID: <1237602864-7189-1-git-send-email-kettler@internode.on.net> A variable webjump_partial_match (default true) selects whether a unique prefix is accepted as a webjump. The user may want to set this false because webjumps can get in the way when using the default search feature. Webjumps are easy to complete, so partial matches are not that important. --- modules/webjump.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/modules/webjump.js b/modules/webjump.js index 7ca9c48..dcc570c 100644 --- a/modules/webjump.js +++ b/modules/webjump.js @@ -134,6 +134,11 @@ function define_default_webjumps() define_webjump("kuro5hin", "http://www.kuro5hin.org/?op=search&string=%s"); } +define_variable("webjump_partial_match", true, + "When entering a url, if the input is not a webjump, " + + "but would uniquely complete to a webjump, then accept " + + "that webjump only if this is true."); + function match_webjump(str) { var sp = str.indexOf(' '); @@ -152,7 +157,7 @@ function match_webjump(str) { var match = webjumps[key]; // Look for a partial match - if (!match) { + if (!match && webjump_partial_match) { for (let [k,v] in Iterator(webjumps)) { if (k.substring(0, key.length) == key) { if (match) { -- 1.6.2 From mckay.marston at gmail.com Sat Mar 21 09:57:12 2009 From: mckay.marston at gmail.com (McKay Marston) Date: Sat, 21 Mar 2009 10:57:12 -0600 Subject: [Conkeror] Conkeror Digest, Vol 51, Issue 11 In-Reply-To: References: Message-ID: <146AB97E-623B-424E-BBF7-CACF001EA0B8@gmail.com> > > McKay Marston writes: >> I'm using the git build (updated yesterday - 3/18/09). >> >> When I go to download a file, I am presented with the options of >> save, open, etc, and >> when I choose 's' (to save it), I get the following in the status >> bar along the bottom: >> >> call interactively: [Exception..."Component returned failure code: >> 0x8052001 >> (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nslLocalFile.initWithPath]" >> nsresult: "0x8052001 >> (NS_FILE_UNRECOGNIZED_PATH... >> >> I have tried adding the following to my .conkerorrc, but it didn't >> seem to do anything. >> >> set_default_directory("/Users/mckay/Downloads"); >> >> Any ideas? > > This is an open bug. In addition to the set_default_directory call > you made, you also need the following: > > add_hook("create_buffer_hook", > function (buf) { > buf.configuration.cwd = null; > }); > > -- > John Foerch > > Perfect, that worked. Thanks! -- McKay Marston From jjfoerch at earthlink.net Sat Mar 21 11:15:26 2009 From: jjfoerch at earthlink.net (John J Foerch) Date: Sat, 21 Mar 2009 14:15:26 -0400 Subject: [Conkeror] [PATCH] Optionally don't accept partial matches as webjumps. References: <1237602864-7189-1-git-send-email-kettler@internode.on.net> Message-ID: <87vdq2bv41.fsf@earthlink.net> David Kettler writes: > A variable webjump_partial_match (default true) selects whether a > unique prefix is accepted as a webjump. The user may want to set this > false because webjumps can get in the way when using the default > search feature. Webjumps are easy to complete, so partial matches are > not that important. Thanks -- John Foerch From lists at reinwarth.com Sat Mar 21 14:21:19 2009 From: lists at reinwarth.com (lists at reinwarth.com) Date: Sat, 21 Mar 2009 22:21:19 +0100 Subject: [Conkeror] breaking change: themes Message-ID: <31185783.1548601237670479732.JavaMail.servlet@kundenserver> > * Conkeror no longer specifies its own gui colors. [...] > From now on, the right way to change Conkeror's gui colors is to do so > at the OS level, for example, with a GTK theme. Any hint on styling the tabs under windows xp? BTW: From a mere user's point of view it's a pity that this feature has been thrown away. YMMV certainly. From dcl441-bugs at yahoo.com Sat Mar 21 15:22:47 2009 From: dcl441-bugs at yahoo.com (Daniel Clemente) Date: Sat, 21 Mar 2009 23:22:47 +0100 Subject: [Conkeror] breaking change: themes References: <8763i4dwzn.fsf@earthlink.net> <20090320163842.GI3980@sym.noone.org> Message-ID: <87ljqy4itk.fsf@yahoo.com> El vie, mar 20 2009, Axel Beckert va escriure: > I though wonder if the previous way could be available as plugin, > add-on, module or so since I can imagine that there are people who > prefer to style conkeror differently than the reminder of their > desktop. > I think that it can be possible to create some theme rules specific to Conkeror and store them in your ~/.gtkrc-2.0 As an example, these rules change all colors of all widgets; you can try it: style "mystyle" { xthickness = 1 ythickness = 1 fg[NORMAL] = "#ccc" fg[ACTIVE] = "black" fg[PRELIGHT] = "red" fg[SELECTED] = "#ddbb88" fg[INSENSITIVE] = "#aaf" bg[NORMAL] = "#111" bg[ACTIVE] = "#f70" bg[PRELIGHT] = "#440" bg[SELECTED] = "#4c3" bg[INSENSITIVE] = "#400" text[NORMAL] = "#ffffff" text[ACTIVE] = "yellow" text[PRELIGHT] = "#ffffff" text[SELECTED] = "#ddbb88" text[INSENSITIVE] = "#2ff" base[NORMAL] = "#333" base[ACTIVE] = "red" base[PRELIGHT] = "blue" base[SELECTED] = "#2e2" base[INSENSITIVE] = "#f61618" } widget_class "*" style "mystyle" style "scrollbar-arrows" { GtkScrollbar::has-backward-stepper = 0 # top - up arrow GtkScrollbar::has-forward-stepper = 1 # bottom - down arrow GtkScrollbar::has-secondary-backward-stepper = 1 # bottom - up arrow GtkScrollbar::has-secondary-forward-stepper = 0 # top - down arrow } class "GtkScrollbar" style "scrollbar-arrows" On Gtk theming: - http://ubuntuforums.org/showthread.php?t=377397 - http://live.gnome.org/GnomeArt/Tutorials/GtkThemes For Conkeror: Can someone provide some rules which emulate the former ?blackened? theme but using ~/.gtkrc-2.0? I did not find how to style scrollbars, since the widget GTKScrollbar has no properties related to colors: http://library.gnome.org/devel/gtk/unstable/GtkHScrollbar.html I hope someone finds this interesting -- Daniel From abe at deuxchevaux.org Sun Mar 22 03:34:01 2009 From: abe at deuxchevaux.org (Axel Beckert) Date: Sun, 22 Mar 2009 11:34:01 +0100 Subject: [Conkeror] Braindump about buffer handling Message-ID: <20090322103401.GJ3980@sym.noone.org> Hi, I'm using Conkeror now not only at home ut also at work as default browser. At work I'm used to work a lot with tabs. So having more view space due to the missing tab bar is a fat plus (compared to Opera), but I also noticed that checking if I have some URL already open is a little bit arduous. So the following idea came up in my mind: What if there were a C-x key combination which calls a function which does the following: 1. Opens the minibuffer as C-x C-f or C-x C-b does. 2. Offers all bookmarks AND URLs open in buffers. 3. On selection of an URL checks if the URL is already open in a buffer and if so changes to that buffer, else opens that URL in a new buffer. Emacs has such a feature builtin into C-x C-f by default. And there is (or at least once was) a Firefox plugin which did the same for tabs. But since with firefox you first open a new tab and then an URL in it, this was more nerved so I deinstalled it quite quickly. So I would like to hear what you think about the following two possibilities: + Adding such a feature to C-x C-f so that it works as in Emacs and you can't open one website in two different buffers anymore. + Adding a new C-x keybinding which does as described above, e.g. C-x C-S-f or C-S-x C-S-f. Another thing in that context which I miss from Emacs a little bit is the list-buffers feature with C-x C-b. Regards, Axel -- Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/ From deniz.a.m.dogan at gmail.com Sun Mar 22 07:26:35 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Sun, 22 Mar 2009 15:26:35 +0100 Subject: [Conkeror] Braindump about buffer handling In-Reply-To: <20090322103401.GJ3980@sym.noone.org> References: <20090322103401.GJ3980@sym.noone.org> Message-ID: <7b501d5c0903220726w3cd4bedgb74e75af196a9a38@mail.gmail.com> 2009/3/22 Axel Beckert : > Hi, > > I'm using Conkeror now not only at home ut also at work as default > browser. At work I'm used to work a lot with tabs. So having more view > space due to the missing tab bar is a fat plus (compared to Opera), > but I also noticed that checking if I have some URL already open is a > little bit arduous. > > So the following idea came up in my mind: > > What if there were a C-x key combination which calls a function which does > the following: > > 1. Opens the minibuffer as C-x C-f or C-x C-b does. > > 2. Offers all bookmarks AND URLs open in buffers. > > 3. On selection of an URL checks if the URL is already open in a > ? buffer and if so changes to that buffer, else opens that URL in a > ? new buffer. > > Emacs has such a feature builtin into C-x C-f by default. And there is > (or at least once was) a Firefox plugin which did the same for tabs. > But since with firefox you first open a new tab and then an URL in it, > this was more nerved so I deinstalled it quite quickly. > > So I would like to hear what you think about the following two > possibilities: > > + Adding such a feature to C-x C-f so that it works as in Emacs and > ?you can't open one website in two different buffers anymore. > > + Adding a new C-x keybinding which does as described above, e.g. C-x > ?C-S-f or C-S-x C-S-f. > > Another thing in that context which I miss from Emacs a little bit is > the list-buffers feature with C-x C-b. > > ? ? ? ? ? ? ? ?Regards, Axel Good suggestion! However, I think we should go for a third possibility; having a user variable controlling this. Cheers, Deniz From jeremy at jeremyms.com Sun Mar 22 11:05:33 2009 From: jeremy at jeremyms.com (Jeremy Maitin-Shepard) Date: Sun, 22 Mar 2009 11:05:33 -0700 Subject: [Conkeror] Braindump about buffer handling In-Reply-To: <20090322103401.GJ3980@sym.noone.org> (Axel Beckert's message of "Sun, 22 Mar 2009 11:34:01 +0100") References: <20090322103401.GJ3980@sym.noone.org> Message-ID: <87tz5lzb4i.fsf@jeremyms.com> Probably best to add it as a new command, or as a variable that controls the behavior of the existing command. Due to the way those commands are organized, currently, though, it would probably be easiest to add it as a new command to which users can then rebind C-x C-f if they want to use it. Note that it may be difficult to get it to work in a useful way without a bunch of heuristics, for the reason that what you type to reach a particular web page is not often exactly the URL of the page after it has been opened, due to reasons including: what the user typed may be missing a protocol prefix; the page can be accessed by multiple equivalent URLs; there may have been a redirect of some sort involved; the user may have navigated to a subpage, a #target, or something similar. There is also the issue that the user may indeed want the same URL open twice and the browser may not be displaying the same content despite it being the same URL, particularly when JavaScript is being used to do something fancy, such as with maps.google.com. -- Jeremy Maitin-Shepard From dcl441-bugs at yahoo.com Sun Mar 22 13:31:13 2009 From: dcl441-bugs at yahoo.com (Daniel Clemente) Date: Sun, 22 Mar 2009 21:31:13 +0100 Subject: [Conkeror] Prevent that a website can steal keyboard focus Message-ID: <873ad5cnam.fsf@yahoo.com> Hi. When you enter http://www.google.es/ for instance, you can type directly at the search box, because the website has focused it after load. This can be useful here but it is annoying in pages like http://de.wiktionary.org/ (which also focuses the search field), because you must press Esc each time you enter a page in order to follow links. Is there a way to disable websites from focusing elements? I guess most Conkeror users know better than websites where they want the keyboard focus, so a global ?focus() allowed? / ?focus() not allowed? would help. Thanks Daniel From deniz.a.m.dogan at gmail.com Sun Mar 22 13:37:34 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Sun, 22 Mar 2009 21:37:34 +0100 Subject: [Conkeror] Prevent that a website can steal keyboard focus In-Reply-To: <873ad5cnam.fsf@yahoo.com> References: <873ad5cnam.fsf@yahoo.com> Message-ID: <7b501d5c0903221337g23fe2d06q69087609bc33b11b@mail.gmail.com> 2009/3/22 Daniel Clemente : > > > ?Hi. > > ?When you enter http://www.google.es/ for instance, you can type directly at the search box, because the website has focused it after load. This can be useful here but it is annoying in pages like http://de.wiktionary.org/ (which also focuses the search field), because you must press Esc each time you enter a page in order to follow links. > > ?Is there a way to disable websites from focusing elements? > > ?I guess most Conkeror users know better than websites where they want the keyboard focus, so a global ?focus() allowed? / ?focus() not allowed? would help. > > > ?Thanks > > Daniel (I accidentally replied directly to Daniel, so here it is again...) Hi, Daniel Put this into your rc file: browser_prevent_automatic_form_focus_mode(true); We have been discussing shortening the name, but that's what you use today. :) Deniz From brian at microcomaustralia.com.au Sun Mar 22 16:23:09 2009 From: brian at microcomaustralia.com.au (Brian May) Date: Mon, 23 Mar 2009 10:23:09 +1100 Subject: [Conkeror] command line parsing Message-ID: <49C6C85D.7040504@microcomaustralia.com.au> Hello, I have a script that will start conkeror with: for DISPLAY=":0.0" run-conkeror -P 0.0 for DISPLAY=":0.1" run-conkeror -P 0.1 This gets around the xulrunner limitation of only being able to have one copy of conkeror running on one particular display at the time. This works fine if conkeror is not already running on the display. If conkeror is running though, its like the -P flag is dropped but the 0.0 isn't droped - ie. like I executed: run-conkeror 0.0 Where 0.0 is parsed as an IP address, and becomes localhost (on this computer at least). If I execute: run-conkeror -P 0.0 run-conkeror calls: exec /usr/lib/xulrunner-1.9.0.7/xulrunner /home/brian/tree/conkeror/application.ini -P 0.0 xulrunner calls: /usr/lib/xulrunner-1.9.0.7/run-mozilla.sh /usr/lib/xulrunner-1.9.0.7/xulrunner-bin /home/brian/tree/conkeror/application.ini -P 0.0 run-mozilla.sh calls: /usr/lib/xulrunner-1.9.0.7/xulrunner-bin /home/brian/tree/conkeror/application.ini -P 0.0 conkeror starts and displays the page for 0.0, which somehow translates to localhost. At which stage I am not really sure if the problem is xulrunner or conkeror. --- script --- #!/bin/sh -e CONKEROR="$HOME/tree/conkeror" PROFILE="`echo $DISPLAY | sed 's/^://'`" "$CONKEROR/contrib/run-conkeror" -P "$PROFILE" -- Brian May From jeremy at jeremyms.com Sun Mar 22 20:36:29 2009 From: jeremy at jeremyms.com (Jeremy Maitin-Shepard) Date: Sun, 22 Mar 2009 20:36:29 -0700 Subject: [Conkeror] command line parsing In-Reply-To: <49C6C85D.7040504@microcomaustralia.com.au> (Brian May's message of "Mon, 23 Mar 2009 10:23:09 +1100") References: <49C6C85D.7040504@microcomaustralia.com.au> Message-ID: <87prg8zz9e.fsf@jeremyms.com> You can force xulrunner/Conkeror to not reuse an existing instance by passing the -no-remote flag. It will then interpret any -P argument that you specify. I don't know, however, of a way to direct a remote command to a particular existing process by use of a -P argument or something similar. There is a workaround, though, that I use myself for testing Conkeror: you can change the application Name= field in application.ini; that name determines the subdirectory of ~/.conkeror.mozdev.org/ that the profiles will be placed, and also is used to check for an existing instance, so as long as two Conkeror instances use different application.ini files (with different Name values), there will be no problem, and you don't have to worry about the unreliable -P option. A convenient way to do this is to create a new directory for your second Conkeror instance, copy application.ini and change the Name field, but for every other file in the conkeror root directory, just create a symlink from this new directory to your actual Conkeror directory (e.g. a git working directory). -- Jeremy Maitin-Shepard From dcl441-bugs at yahoo.com Mon Mar 23 02:07:24 2009 From: dcl441-bugs at yahoo.com (Daniel Clemente) Date: Mon, 23 Mar 2009 10:07:24 +0100 Subject: [Conkeror] Prevent that a website can steal keyboard focus References: <873ad5cnam.fsf@yahoo.com> <7b501d5c0903221337g23fe2d06q69087609bc33b11b@mail.gmail.com> Message-ID: <87mybcli9f.fsf@CPU107.opentrends.net> > Put this into your rc file: > browser_prevent_automatic_form_focus_mode(true); Thanks, that was easy. More important than the name is the documentation (there is none yet). I did read the description for browser_automatic_form_focus_window_duration but I couldn't understand why that was needed or what browser_prevent_automatic_form_focus_mode did. -- Daniel From abe at deuxchevaux.org Mon Mar 23 07:26:21 2009 From: abe at deuxchevaux.org (Axel Beckert) Date: Mon, 23 Mar 2009 15:26:21 +0100 Subject: [Conkeror] [SOLVED] Re: The turned off JEMALLOC seems to cause problems In-Reply-To: <20090301134652.GC5399@sym.noone.org> References: <20090210205635.GG5399@sym.noone.org> <87y6we7yeh.fsf@debian.org> <20090211063452.GA24817@glandium.org> <499446E6.6080903@servo.cc> <20090301134652.GC5399@sym.noone.org> Message-ID: <20090323142621.GS3980@sym.noone.org> Hi, JFYI: In the meanwhile we found a fix to that 100% CPU problem in conkeror. On Sun, Mar 01, 2009 at 02:46:52PM +0100, Axel Beckert wrote: > On Thu, Feb 12, 2009 at 10:57:26AM -0500, Nicholas A. Zigarovich wrote: > > It happens for me when MOZILLA_NO_JEMALLOC=1 and > > MOZILLA_DISABLE_PLUGINS=1. Conkeror immediately eats 70% of my CPU while > > sitting at about:blank. > > > > The problem disappears when MOZILLA_NO_JEMALLOC=0. > > In the meanwhile, this doesn't seem to help anymore either for Nick. > AFAIK he now has that problem independently of MOZILLA_NO_JEMALLOC. (Not > sure about other users yet, though.) We still don't know the correlation between MOZILLA_NO_JEMALLOC and the 100% CPU problem, but setting places.frecency.updateIdleTime to 0 solved the issue since conkeror doesn't use the from time to time automatically computed frecency values. Problem was IIRC that although this value is set quite high by default, the calculations have been started every (less than a) second for whatever reason. The problem has been fixed upstream in http://repo.or.cz/w/conkeror.git?a=commitdiff;h=c92814d3c8b72f70e7a0b3fe1708d7c8c275977b and will be fixed in unstable with the next upload, too. The problem hasn't appeared anymore since that fix has been committed about a week ago. Regards, Axel -- Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/ From dcl441-bugs at yahoo.com Wed Mar 25 11:39:22 2009 From: dcl441-bugs at yahoo.com (Daniel Clemente) Date: Wed, 25 Mar 2009 19:39:22 +0100 Subject: [Conkeror] Braindump about buffer handling References: <20090322103401.GJ3980@sym.noone.org> Message-ID: <87ab79xx9h.fsf@CPU107.opentrends.net> What I would like to see is a dialog to switch buffers, but I mean a full-window comfortable dialog, not just little things to do in the minibuffer. Something like ibuffer for Emacs, but adapted to web. Concretely, I would like to see a buffer tree where each buffer hangs on the buffer which opened it. Ex: - Page 1: Google results - Page 2: the first result you opened from page 1 - Page 3: the second result you opened - Page 4: one link from page 3 which you opened in a new tab - Page 5: something else you had open before searching the web in page 1 Note: history isn't involved here; only the state of the current tab set. This is useful because normally you have several navigation threads, each one comprising many tabs. The tab bar fails to represent this because it uses only one line. A buffer selection dialog could show a more descriptive page with links that switch to each buffer. This dialog could be activated by just one key. Further enhancements would be: a checkbox near each buffer's name, so that you can mark many and click ?kill? to kill several buffers at once; being able to change their names, reordering them, ? Should I submit this as a request enhancement? :-) -- Daniel From jeremy at jeremyms.com Wed Mar 25 12:40:51 2009 From: jeremy at jeremyms.com (Jeremy Maitin-Shepard) Date: Wed, 25 Mar 2009 12:40:51 -0700 Subject: [Conkeror] Braindump about buffer handling In-Reply-To: <87ab79xx9h.fsf@CPU107.opentrends.net> (Daniel Clemente's message of "Wed, 25 Mar 2009 19:39:22 +0100") References: <20090322103401.GJ3980@sym.noone.org> <87ab79xx9h.fsf@CPU107.opentrends.net> Message-ID: <87bprpxuf0.fsf@jeremyms.com> Daniel Clemente writes: > What I would like to see is a dialog to switch buffers, but I mean a > full-window comfortable dialog, not just little things to do in the minibuffer. > Something like ibuffer for Emacs, but adapted to web. Concretely, I would like > to see a buffer tree where each buffer hangs on the buffer which opened it. Ex: > - Page 1: Google results > - Page 2: the first result you opened from page 1 > - Page 3: the second result you opened > - Page 4: one link from page 3 which you opened in a new tab > - Page 5: something else you had open before searching the web in page 1 > Note: history isn't involved here; only the state of the current tab > set. I think it is a bit optimistic to assume that forming a tree based on a buffer's parent being defined as the current buffer when that buffer was created will get you anything as nice as this. In particular: - if you manually open a new buffer with C-x C-f, it will show up as a parent of something, even though it may not be at all related to that something. - if you use the "g" binding to browse to a different URL in an existing buffer, the edges in the buffer tree that involve that buffer may likely no longer make sense either. It seems like the history "tree"/"forest" is actually what you are interested in. If we assume that manually typing in a URL creates a new root in the history graph, then perhaps it would make sense to display the history graph, but only show nodes that correspond to (the current page of) a buffer that is open (and optionally certain ancestor nodes as well). It does often seem like it would make more sense if the "current URL" of a given buffer were immutable, but alas that is only partially compatible with how the web works. > This is useful because normally you have several navigation threads, each one > comprising many tabs. The tab bar fails to represent this because it uses only > one line. A buffer selection dialog could show a more descriptive page with > links that switch to each buffer. > This dialog could be activated by just one key. > Further enhancements would be: a checkbox near each buffer's name, so that you > can mark many and click ?kill? to kill several buffers at once; being able to > change their names, reordering them, ? > Should I submit this as a request enhancement? :-) Well, you can try to interest someone enough to implement the idea. I think some issues in the design have to be cleared up. I don't really have the time or interest to implement it myself. -- Jeremy Maitin-Shepard