From deniz.a.m.dogan at gmail.com Sat Aug 1 15:46:24 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Sun, 2 Aug 2009 00:46:24 +0200 Subject: [Conkeror] Command next-heading works poorly on Wikipedia Message-ID: <7b501d5c0908011546t5053897k31d2a85aaa4760f1@mail.gmail.com> Hi I find that when using the next-heading command (bound to > by default), it quite often gets stuck on the "Contents" text of the table of contents. Has anyone else experienced this? -- Deniz Dogan From michael.dylan.zeller at gmail.com Tue Aug 4 04:13:04 2009 From: michael.dylan.zeller at gmail.com (Michael Zeller) Date: Tue, 04 Aug 2009 04:13:04 -0700 Subject: [Conkeror] [PATCH] Bookmark Tags Message-ID: <873a87ygqn.fsf@zeller.michaelzeller.com> Hello all, Let me preface this by saying that this is my first contribution to this amazing project, and in fact, to any open source project. Please let me know if I've made any mistakes in how I communicate my patch, or any feedback you may have. Hopefully this can get accepted =). Additionally, I hope to contribute more in the future to both StumpWM and Conkeror (and Org-mode!), they all rock! ~Michael Zeller * What I've added Support for bookmark tags, in the same way that Firefox supports tags (i.e. you should be able to copy your places.sqlite from Firefox and use the same tags). Essentially, you add the following to your ~/.conkerorrc after this patch is applied. minibuffer_read_tag_enable = true; define_tag("gnu","GNU Not UNIX"); define_tag("uci","University of California, Irvine"); define_tag("r","R language"); define_tag("emacs","Emacs"); define_tag("blog","Interesting Blog"); And you will be prompted for tags when invoking the interactive "bookmark" command. Any number of tags can be added, and the input method works the same as keywords in auto-insert.el in Emacs, i.e. you end input with an empty tag name. To search for tags, just type the tag name, or part of the tag name, in find-url, I didn't change anything there -- it worked out of the box. I've also fixed a typo in minibuffer-read.js. =================== * Notes I'm not sure where I should have put these notes, but here are a few remaining issues: - Not sure what happens if you add a tag twice while bookmarking. - If you add a bookmark twice, it appears twice in the results, this appears to be a general Conkeror bug. I think it should prompt for overwrite if the URI's match, so if this sounds good I can work on this, this would allow adding additional tags. - If you remove a "define_tag" line from your .conkerorrc, the tag will stick around in your places.sqlite, and you can still search for it, but you will not have the option to use it in the minibuffer prompt during "bookmark". - The XULRunner support for Tags is pretty lame, there are a lot of missing methods, for example, there is no way to save a Description for a tag with the tag. And there is no way to get a list of all tags, except to iterate over the "Tags" folder until you hit an Index Out of Bounds error. This is why tags are explicitly defined in the ~/.conkerorrc, with descriptions. - I *don't* think there is any issue with the names of tags, and you could use special characters, if you /really/ wanted to. - I would gladly edit the Wiki Bookmarks page for this, if it gets added. -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Added-support-for-bookmark-tags.patch Type: text/x-diff Size: 5401 bytes Desc: Added support for bookmark tags URL: From michael.dylan.zeller at gmail.com Thu Aug 6 00:29:09 2009 From: michael.dylan.zeller at gmail.com (Michael Zeller) Date: Thu, 06 Aug 2009 00:29:09 -0700 Subject: [Conkeror] Error in Tip 18 on conkeror.org/Tips Message-ID: <87y6pxh03e.fsf@zeller.michaelzeller.com> Hello, I had trouble with "18. Remember the last save directory for downloads", the fix was to change default_directory.path to get_home_directory(); and add a semicolon after the add_hook call, see below. Also, how do I edit the Wiki for User Tips? I made an account, but page is Immutable. Any way to add comments to a page? =) //** remember save directory // http://conkeror.org/Tips#Rememberthelastsavedirectoryfordownloads { let _save_path = get_home_directory(); function update_save_path(info) { _save_path = info.target_file.parent.path; } add_hook("download_added_hook", update_save_path); suggest_save_path_from_file_name = function (filename, buffer) { let file = make_file(_save_path); file.append(filename); return file.path; }; } Hope this helps, ~Michael Zeller From deniz.a.m.dogan at gmail.com Thu Aug 6 00:42:37 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Thu, 6 Aug 2009 09:42:37 +0200 Subject: [Conkeror] Error in Tip 18 on conkeror.org/Tips In-Reply-To: <87y6pxh03e.fsf@zeller.michaelzeller.com> References: <87y6pxh03e.fsf@zeller.michaelzeller.com> Message-ID: <7b501d5c0908060042o131bc68ck79371136b10389ed@mail.gmail.com> 2009/8/6 Michael Zeller : > Also, how do I edit the Wiki for User Tips? I made an account, but page > is Immutable. Any way to add comments to a page? =) You should be able to edit it by clicking "Edit" in the lower left or right corner of the page, after logging in. -- Deniz Dogan From kettler at internode.on.net Fri Aug 7 17:54:22 2009 From: kettler at internode.on.net (David Kettler) Date: Sat, 08 Aug 2009 10:24:22 +0930 Subject: [Conkeror] [PATCH] Bookmark Tags In-Reply-To: <873a87ygqn.fsf@zeller.michaelzeller.com> References: <873a87ygqn.fsf@zeller.michaelzeller.com> Message-ID: <4A7CCCBE.2040404@internode.on.net> G'day Michael, thanks for your contribution. Take my comments below as suggestions; normally John or Jeremy will accept patches. > To: Shawn Betts I don't think Shawn is very much involved in development any more. > Support for bookmark tags, in the same way that Firefox supports tags I think this is a good idea. I normally kludge something similar by editing the bookmark name to make sure it has a few appropriate keywords. > minibuffer_read_tag_enable = true; > define_tag("gnu","GNU Not UNIX"); > define_tag("uci","University of California, Irvine"); > define_tag("r","R language"); > define_tag("emacs","Emacs"); > define_tag("blog","Interesting Blog"); What use is made of the descriptions? > And you will be prompted for tags when invoking the interactive > "bookmark" command. Any number of tags can be added, and the input > method works the same as keywords in auto-insert.el in Emacs, i.e. you > end input with an empty tag name. That sounds awkward. How about just one input line with multiple space-separated tags (I don't know whether tags may contain spaces, but I don't think it would be sensible to use spaces in tag names anyway). > I've also fixed a typo in minibuffer-read.js. It's better not to mix different changes into one patch. Sometimes it's okay if the trivial change is close to another edit. > * Notes > > I'm not sure where I should have put these notes This is fine, but see also below. > - The XULRunner support for Tags is pretty lame, there are a lot of > missing methods, for example, there is no way to save a Description > for a tag with the tag. And there is no way to get a list of all tags, > except to iterate over the "Tags" folder until you hit an Index Out of > Bounds error. This is why tags are explicitly defined in the > ~/.conkerorrc, with descriptions. That's a shame. > - I would gladly edit the Wiki Bookmarks page for this, if it gets > added. Just an idea; I included the intended wiki text in the notes of a recent patch of mine. > Subject: [PATCH] Added support for bookmark tags It's a bit easier for reviewers if the patch text is included inline rather than attached; that way it gets quoted in the reply. A lot of the explanation above would be useful in the commit message. > --- You can include notes that you don't intend to go in the commit message here, after the three dashes; git will elide those when applying the patch. > modules/commands.js | 12 ++++++++++-- > modules/content-buffer.js | 31 +++++++++++++++++++++++++++++++ > modules/history.js | 35 ++++++++++++++++++++++++++++++++--- > modules/minibuffer-read.js | 2 +- > 4 files changed, 74 insertions(+), 6 deletions(-) > + while(true) { > + tag = yield I.minibuffer.read_tag($prompt = "Bookmark with tag:", > + $initial_value = ""); > + if (tag == "") break; else tags.push(tag); > + } > + See above comment about reading all tags on one line. > + $validator = function (x, m) { > + if (x in user_tags || x == "") return true; > + else { m.message("No match"); return false; } If you use $match_required = true then you won't need the validator. > -function add_bookmark(url, title) { > - nav_bookmarks_service.insertBookmark(nav_bookmarks_service.unfiledBookmarksFolder, > - make_uri(url), -1, title); > + nav_bookmarks_service.insertBookmark(nav_bookmarks_service.bookmarksMenuFolder, > + uri, -1, title); Why this change in folder? regards, David. From michael.dylan.zeller at gmail.com Fri Aug 7 19:43:45 2009 From: michael.dylan.zeller at gmail.com (Michael Zeller) Date: Fri, 07 Aug 2009 19:43:45 -0700 Subject: [Conkeror] [PATCH] Bookmark Tags In-Reply-To: <87iqgzf2sj.fsf@zeller.michaelzeller.com> (Michael Zeller's message of "Fri, 07 Aug 2009 19:38:20 -0700") References: <873a87ygqn.fsf@zeller.michaelzeller.com> <4A7CCCBE.2040404@internode.on.net> <87iqgzf2sj.fsf@zeller.michaelzeller.com> Message-ID: <87bpmrf2ji.fsf@zeller.michaelzeller.com> Forgot to do a wide-reply. Michael Zeller writes: > David Kettler writes: > >> G'day Michael, thanks for your contribution. Take my comments below >> as suggestions; normally John or Jeremy will accept patches. >> >>> To: Shawn Betts >> >> I don't think Shawn is very much involved in development any more. > > Oh OK, but hopefully he is still a user =) >> >>> Support for bookmark tags, in the same way that Firefox supports tags >> >> I think this is a good idea. I normally kludge something similar by >> editing the bookmark name to make sure it has a few appropriate >> keywords. > > Me too, and it works, but it wasn't pretty, I was using :tag1:tag2:tag3: TITLE > >> >>> minibuffer_read_tag_enable = true; >>> define_tag("gnu","GNU Not UNIX"); >>> define_tag("uci","University of California, Irvine"); >>> define_tag("r","R language"); >>> define_tag("emacs","Emacs"); >>> define_tag("blog","Interesting Blog"); >> >> What use is made of the descriptions? > > The descriptions are when you hit when prompted for a tag name, > these descriptions appear next to the tag name in the minibuffer window. > >> >>> And you will be prompted for tags when invoking the interactive >>> "bookmark" command. Any number of tags can be added, and the input >>> method works the same as keywords in auto-insert.el in Emacs, i.e. you >>> end input with an empty tag name. >> >> That sounds awkward. How about just one input line with multiple >> space-separated tags (I don't know whether tags may contain spaces, >> but I don't think it would be sensible to use spaces in tag names >> anyway). > > I agree, I would prefer to have it autocomplete for each word, separated > by a comma, but I couldn't figure out how to get this iterative complete > behavior. > >> >>> I've also fixed a typo in minibuffer-read.js. >> >> It's better not to mix different changes into one patch. Sometimes >> it's okay if the trivial change is close to another edit. > > Point taken, I'll submit as a different patch. See last comment. > >> >>> * Notes >>> >>> I'm not sure where I should have put these notes >> >> This is fine, but see also below. >> >>> - The XULRunner support for Tags is pretty lame, there are a lot of >>> missing methods, for example, there is no way to save a Description >>> for a tag with the tag. And there is no way to get a list of all tags, >>> except to iterate over the "Tags" folder until you hit an Index Out of >>> Bounds error. This is why tags are explicitly defined in the >>> ~/.conkerorrc, with descriptions. >> >> That's a shame. >> >>> - I would gladly edit the Wiki Bookmarks page for this, if it gets >>> added. >> >> Just an idea; I included the intended wiki text in the notes of a >> recent patch of mine. >> >> >>> Subject: [PATCH] Added support for bookmark tags >> >> It's a bit easier for reviewers if the patch text is included inline >> rather than attached; that way it gets quoted in the reply. >> >> A lot of the explanation above would be useful in the commit message. >> >>> --- >> >> You can include notes that you don't intend to go in the commit >> message here, after the three dashes; git will elide those when >> applying the patch. >> >>> modules/commands.js | 12 ++++++++++-- >>> modules/content-buffer.js | 31 +++++++++++++++++++++++++++++++ >>> modules/history.js | 35 ++++++++++++++++++++++++++++++++--- >>> modules/minibuffer-read.js | 2 +- >>> 4 files changed, 74 insertions(+), 6 deletions(-) >> >>> + while(true) { >>> + tag = yield I.minibuffer.read_tag($prompt = "Bookmark >> with tag:", >>> + $initial_value = ""); >>> + if (tag == "") break; else tags.push(tag); >>> + } >>> + >> >> See above comment about reading all tags on one line. >> >>> + $validator = function (x, m) { >>> + if (x in user_tags || x == "") return true; >>> + else { m.message("No match"); return false; } >> >> If you use >> $match_required = true >> then you won't need the validator. > > Actually, to be able to check for the "", I had to write this slightly > modified version of the behavior of match, and I couldn't find an > argument for "allow-empty" or equivalent. > >> >>> -function add_bookmark(url, title) { >>> - >> nav_bookmarks_service.insertBookmark(nav_bookmarks_service.unfiledBookmarksFolder, >>> - make_uri(url), -1, title); >> >>> + >> nav_bookmarks_service.insertBookmark(nav_bookmarks_service.bookmarksMenuFolder, >>> + uri, -1, title); >> >> Why this change in folder? > > Oops, could catch. Firefox uses bookmarksMenuFolder when you create a > bookmark (parent == 1 in places.sqlite), whereas Conkeror is using > unfiledBookmarksFolder(5). I changed to test if search still worked with > (1), but I didn't mean to commit this, I'll remove it. > > But that brings up a question of my own: why does Conkeror use (5) and > not (1)? I suppose one advantage to the current way is that (5) would > allow potential differentiation from Firefox bookmarks and Conkeror > bookmarks, if they were to be merged somehow? > >> >> regards, David. >> _______________________________________________ >> Conkeror mailing list >> Conkeror at mozdev.org >> https://www.mozdev.org/mailman/listinfo/conkeror > > Thanks David, I'll make your suggested changes and try to implement the > cleaner tag prompt when I have a chance and resubmit with your > suggestions. > > Thanks! and I hope to contribute more in the future. -- Michael Zeller Institute for Genomics and Bioinformatics University of California, Irvine Message sent from GNU Emacs (uptime: 0d 00h 46m) From jjfoerch at earthlink.net Sat Aug 8 06:20:46 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Sat, 8 Aug 2009 09:20:46 -0400 Subject: [Conkeror] [PATCH] Bookmark Tags In-Reply-To: <87bpmrf2ji.fsf@zeller.michaelzeller.com> References: <873a87ygqn.fsf@zeller.michaelzeller.com> <4A7CCCBE.2040404@internode.on.net> <87iqgzf2sj.fsf@zeller.michaelzeller.com> <87bpmrf2ji.fsf@zeller.michaelzeller.com> Message-ID: <20090808132046.GA4555@jupiter> On Fri, Aug 07, 2009 at 07:43:45PM -0700, Michael Zeller wrote: > >> nav_bookmarks_service.insertBookmark(nav_bookmarks_service.unfiledBookmarksFolder, > >>> - make_uri(url), -1, title); > >> > >>> + > >> nav_bookmarks_service.insertBookmark(nav_bookmarks_service.bookmarksMenuFolder, > >>> + uri, -1, title); > >> > >> Why this change in folder? > > > > Oops, could catch. Firefox uses bookmarksMenuFolder when you create a > > bookmark (parent == 1 in places.sqlite), whereas Conkeror is using > > unfiledBookmarksFolder(5). I changed to test if search still worked with > > (1), but I didn't mean to commit this, I'll remove it. > > > > But that brings up a question of my own: why does Conkeror use (5) and > > not (1)? I suppose one advantage to the current way is that (5) would > > allow potential differentiation from Firefox bookmarks and Conkeror > > bookmarks, if they were to be merged somehow? The mozilla bookmarks API is flawed in the sense that its folders correspond to specific Firefox UI elements, rather than generic concepts. The choice of unfiledBookmarksFolder makes sense with our current bookmarks UI because Conkeror offers no way to "file" a bookmark. I am working on a bookmark manager, though, in which this property will be configurable, so if you want to change it for your own purposes, please just change it in your own copy. Unfortunately for Conkeror, my work has picked up a lot and I don't have the time to put into Conkeror right now as I have in the past, so it may be a long time before I can finish this work. -- John Foerch From x.piter at gmail.com Mon Aug 10 02:20:49 2009 From: x.piter at gmail.com (Piter_) Date: Mon, 10 Aug 2009 11:20:49 +0200 Subject: [Conkeror] Change conkeror "command line" position? Message-ID: <6f4f96030908100220p3c4f77cdx90f6bd93be11aa1f@mail.gmail.com> Hi All. Is there any way to move "conkeror command line" (can't find the correct word for it) from bottom of screen to the top? Thanks. Petro -------------- next part -------------- An HTML attachment was scrubbed... URL: From deniz.a.m.dogan at gmail.com Mon Aug 10 02:23:41 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Mon, 10 Aug 2009 11:23:41 +0200 Subject: [Conkeror] Change conkeror "command line" position? In-Reply-To: <6f4f96030908100220p3c4f77cdx90f6bd93be11aa1f@mail.gmail.com> References: <6f4f96030908100220p3c4f77cdx90f6bd93be11aa1f@mail.gmail.com> Message-ID: <7b501d5c0908100223q7371eea0xb2b6f510a7542f05@mail.gmail.com> 2009/8/10 Piter_ : > Hi All. > Is there any way to move? "conkeror command line" (can't find the correct > word for it) from bottom of screen to the top? > Thanks. > Petro > No, today there is no such functionality. I'm not sure exactly how difficult this would be to implement, given that the completion window and such would have to support it as well. Either way, I don't think this is anywhere near the top of any active developer's TODO list at the moment. But of course, you're very welcome to join in! :) -- Deniz Dogan From dcl441-bugs at yahoo.com Tue Aug 11 04:04:22 2009 From: dcl441-bugs at yahoo.com (Daniel Clemente) Date: Tue, 11 Aug 2009 13:04:22 +0200 Subject: [Conkeror] Change conkeror "command line" position? References: <6f4f96030908100220p3c4f77cdx90f6bd93be11aa1f@mail.gmail.com> Message-ID: <87my66obm1.fsf@CPU107.opentrends.net> Try it, this seems to be rather easy. I changed the order of elements in conkeror.xul (see below) and I have now the mode line above the content bufffer; everything works ok and the autocompletion window shows over the mode line window when needed. But I still prefer it below :-) -- Daniel diff --git a/content/conkeror.xul b/content/conkeror.xul index 24b3559..0b0c009 100644 --- a/content/conkeror.xul +++ b/content/conkeror.xul @@ -41,15 +41,15 @@ COPYING file. - - - - - + + + + + From deniz.a.m.dogan at gmail.com Tue Aug 11 12:07:52 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Tue, 11 Aug 2009 21:07:52 +0200 Subject: [Conkeror] Access "I" given "I.buffer" Message-ID: <7b501d5c0908111207y19c83ac3wd0e2f37d39c734a3@mail.gmail.com> Hi I'm currently writing some stuff for the soon useful Wikipedia mode, but I have a peculiar problem. The $enable function in the define_page_mode receives only the buffer of the window, but I need to access I.local.headings_xpath. How do I do that? -- Deniz Dogan From jeremy at jeremyms.com Tue Aug 11 13:23:50 2009 From: jeremy at jeremyms.com (Jeremy Maitin-Shepard) Date: Tue, 11 Aug 2009 13:23:50 -0700 Subject: [Conkeror] Access "I" given "I.buffer" In-Reply-To: <7b501d5c0908111207y19c83ac3wd0e2f37d39c734a3@mail.gmail.com> (Deniz Dogan's message of "Tue, 11 Aug 2009 21:07:52 +0200") References: <7b501d5c0908111207y19c83ac3wd0e2f37d39c734a3@mail.gmail.com> Message-ID: <871vnihzft.fsf@jeremyms.com> Deniz Dogan writes: > Hi > I'm currently writing some stuff for the soon useful Wikipedia mode, > but I have a peculiar problem. The $enable function in the > define_page_mode receives only the buffer of the window, but I need to > access I.local.headings_xpath. How do I do that? Looking at the definition of I.local in interative.js should give you your answer. You might also try asking retroj since he wrote the current version of local variable support. -- Jeremy Maitin-Shepard From deniz.a.m.dogan at gmail.com Tue Aug 11 16:17:57 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Wed, 12 Aug 2009 01:17:57 +0200 Subject: [Conkeror] Access "I" given "I.buffer" In-Reply-To: <871vnihzft.fsf@jeremyms.com> References: <7b501d5c0908111207y19c83ac3wd0e2f37d39c734a3@mail.gmail.com> <871vnihzft.fsf@jeremyms.com> Message-ID: <7b501d5c0908111617k497212eida7529d35990c053@mail.gmail.com> 2009/8/11 Jeremy Maitin-Shepard : > Deniz Dogan writes: > >> Hi >> I'm currently writing some stuff for the soon useful Wikipedia mode, >> but I have a peculiar problem. The $enable function in the >> define_page_mode receives only the buffer of the window, but I need to >> access I.local.headings_xpath. How do I do that? > > Looking at the definition of I.local in interative.js should give you > your answer. ?You might also try asking retroj since he wrote the > current version of local variable support. > The code in interactive.js made me no wiser, only more confused. When is `interactive_context' called? Should I call it myself to get the interactive context for the given buffer? Because that didn't seem to work. What is `this' in `interactive_context'? -- Deniz Dogan From jeremy at jeremyms.com Tue Aug 11 16:26:50 2009 From: jeremy at jeremyms.com (Jeremy Maitin-Shepard) Date: Tue, 11 Aug 2009 16:26:50 -0700 Subject: [Conkeror] Access "I" given "I.buffer" In-Reply-To: <7b501d5c0908111617k497212eida7529d35990c053@mail.gmail.com> (Deniz Dogan's message of "Wed, 12 Aug 2009 01:17:57 +0200") References: <7b501d5c0908111207y19c83ac3wd0e2f37d39c734a3@mail.gmail.com> <871vnihzft.fsf@jeremyms.com> <7b501d5c0908111617k497212eida7529d35990c053@mail.gmail.com> Message-ID: <87bpmmgced.fsf@jeremyms.com> Deniz Dogan writes: > 2009/8/11 Jeremy Maitin-Shepard : >> Deniz Dogan writes: >> >>> Hi >>> I'm currently writing some stuff for the soon useful Wikipedia mode, >>> but I have a peculiar problem. The $enable function in the >>> define_page_mode receives only the buffer of the window, but I need to >>> access I.local.headings_xpath. How do I do that? >> >> Looking at the definition of I.local in interative.js should give you >> your answer. ?You might also try asking retroj since he wrote the >> current version of local variable support. >> > The code in interactive.js made me no wiser, only more confused. When > is `interactive_context' called? Should I call it myself to get the > interactive context for the given buffer? Because that didn't seem to > work. What is `this' in `interactive_context'? interactive_context is used for interactive commands. It probably shouldn't be used anywhere else. You can find the places that create interactive_context objects by looking for calls to call_interactively. Basically it just stores the buffer on which the command was invoked, any additional information that was recorded while entering the command (e.g. a prefix argument or browser object class), and then also has some convenience properties that provide a shorter syntax for things related to the various state that it encapsulates. The "local" property is one such convenience accessor. Generally interactive_context should not be the primary point of definition of any facilities except if they are solely useful when dealing with interactive commands. Certainly buffer/page-local variables are not solely related to interactive commands, so the primary accessor for them should not be defined in interactive_context, but instead should probably be defined in the buffer class. If it isn't already, it would probably be a good idea to add such a definition. interactive_context could still provide a convenience accessor as well, though. -- Jeremy Maitin-Shepard From deniz.a.m.dogan at gmail.com Tue Aug 11 17:00:33 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Wed, 12 Aug 2009 02:00:33 +0200 Subject: [Conkeror] Access "I" given "I.buffer" In-Reply-To: <87bpmmgced.fsf@jeremyms.com> References: <7b501d5c0908111207y19c83ac3wd0e2f37d39c734a3@mail.gmail.com> <871vnihzft.fsf@jeremyms.com> <7b501d5c0908111617k497212eida7529d35990c053@mail.gmail.com> <87bpmmgced.fsf@jeremyms.com> Message-ID: <7b501d5c0908111700q248979a6x5d5b748937e1e447@mail.gmail.com> 2009/8/12 Jeremy Maitin-Shepard : > Deniz Dogan writes: > >> 2009/8/11 Jeremy Maitin-Shepard : >>> Deniz Dogan writes: >>> >>>> Hi >>>> I'm currently writing some stuff for the soon useful Wikipedia mode, >>>> but I have a peculiar problem. The $enable function in the >>>> define_page_mode receives only the buffer of the window, but I need to >>>> access I.local.headings_xpath. How do I do that? >>> >>> Looking at the definition of I.local in interative.js should give you >>> your answer. ?You might also try asking retroj since he wrote the >>> current version of local variable support. >>> > >> The code in interactive.js made me no wiser, only more confused. When >> is `interactive_context' called? Should I call it myself to get the >> interactive context for the given buffer? Because that didn't seem to >> work. What is `this' in `interactive_context'? > > interactive_context is used for interactive commands. ?It probably > shouldn't be used anywhere else. ?You can find the places that create > interactive_context objects by looking for calls to call_interactively. > Basically it just stores the buffer on which the command was invoked, > any additional information that was recorded while entering the command > (e.g. a prefix argument or browser object class), and then also has some > convenience properties that provide a shorter syntax for things related > to the various state that it encapsulates. ?The "local" property is one > such convenience accessor. ?Generally interactive_context should not be > the primary point of definition of any facilities except if they are > solely useful when dealing with interactive commands. ?Certainly > buffer/page-local variables are not solely related to interactive > commands, so the primary accessor for them should not be defined in > interactive_context, but instead should probably be defined in the > buffer class. ?If it isn't already, it would probably be a good idea to > add such a definition. ?interactive_context could still provide a > convenience accessor as well, though. > Okay, now I'm *barely* following... :) interactive_context is for interactive commands, so what good is it for my $enable function in my page mode? -- Deniz Dogan From jeremy at jeremyms.com Tue Aug 11 17:03:02 2009 From: jeremy at jeremyms.com (Jeremy Maitin-Shepard) Date: Tue, 11 Aug 2009 17:03:02 -0700 Subject: [Conkeror] Access "I" given "I.buffer" In-Reply-To: <7b501d5c0908111700q248979a6x5d5b748937e1e447@mail.gmail.com> (Deniz Dogan's message of "Wed, 12 Aug 2009 02:00:33 +0200") References: <7b501d5c0908111207y19c83ac3wd0e2f37d39c734a3@mail.gmail.com> <871vnihzft.fsf@jeremyms.com> <7b501d5c0908111617k497212eida7529d35990c053@mail.gmail.com> <87bpmmgced.fsf@jeremyms.com> <7b501d5c0908111700q248979a6x5d5b748937e1e447@mail.gmail.com> Message-ID: <873a7xhpah.fsf@jeremyms.com> Deniz Dogan writes: > Okay, now I'm *barely* following... :) interactive_context is for > interactive commands, so what good is it for my $enable function in my > page mode? It isn't good at all. That's why I suggested that if something equivalent to I.local isn't already defined somewhere else (for general purpose use), you should consider adding it, and then using it. -- Jeremy Maitin-Shepard From vinhdizzo at gmail.com Wed Aug 12 08:28:32 2009 From: vinhdizzo at gmail.com (Vinh Nguyen) Date: Wed, 12 Aug 2009 08:28:32 -0700 Subject: [Conkeror] map alt / option key as meta in mac os x Message-ID: <13c5a0ae0908120828i296bd683i82ac541cf680cc0e@mail.gmail.com> hi all, is it possible to do the above instead of using apple key as the meta key? some of the things i tried: //modifiers.A = modifiers.M; // apple-x is M-A-x, and alt-key is nothing, alt-x is like regular x //modifiers.M = modifiers.A; //con alt-letter is still greek, apple-x is like regular x //modifier_order = ['C', 'M', 'S']; // removes apple key //modifiers.M = new modifier( // function (event) { return event.altKey; }, // function (event) { event.altKey = true; }); // above is the closest, alt-x gives M-greek letter. if i can get rid of greek letters. this is taken from modules/keyboard.js i even tried messing with keyboard.js, and removing the darwin check. i think one of method above could work if i could disable the greek letters / mathematical symbols in conkeror...that is disable the alt key as some sort of shift key. is this possible? thanks. vinh -- This e-mail/fax message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail/fax and destroy all copies of the original message. From jjfoerch at earthlink.net Wed Aug 12 10:40:21 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Wed, 12 Aug 2009 13:40:21 -0400 Subject: [Conkeror] map alt / option key as meta in mac os x In-Reply-To: <13c5a0ae0908120828i296bd683i82ac541cf680cc0e@mail.gmail.com> References: <13c5a0ae0908120828i296bd683i82ac541cf680cc0e@mail.gmail.com> Message-ID: <20090812174021.GA14818@jupiter> On Wed, Aug 12, 2009 at 08:28:32AM -0700, Vinh Nguyen wrote: > hi all, > > is it possible to do the above instead of using apple key as the meta > key? some of the things i tried: > //modifiers.A = modifiers.M; > // apple-x is M-A-x, and alt-key is nothing, alt-x is like regular x > //modifiers.M = modifiers.A; > //con alt-letter is still greek, apple-x is like regular x > //modifier_order = ['C', 'M', 'S']; // removes apple key > //modifiers.M = new modifier( > // function (event) { return event.altKey; }, > // function (event) { event.altKey = true; }); > // above is the closest, alt-x gives M-greek letter. if i can get rid > of greek letters. this is taken from modules/keyboard.js > > i even tried messing with keyboard.js, and removing the darwin check. > i think one of method above could work if i could disable the greek > letters / mathematical symbols in conkeror...that is disable the alt > key as some sort of shift key. is this possible? thanks. Hi Vinh, It would be necessary, as you suggest, to disable the greek/mathematical symbols in order to use Alt instead of Meta. I have not found a way to do that. If you find out how, please let us know. -- John Foerch From deniz.a.m.dogan at gmail.com Wed Aug 12 13:26:08 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Wed, 12 Aug 2009 22:26:08 +0200 Subject: [Conkeror] Announcing Wikipedia mode Message-ID: <7b501d5c0908121326h71736546s6f0a1365cd04ed5a@mail.gmail.com> Fellow conkerors, Wikipedia is one of the most visited websites on the web today, so it would be ridiculous to not improve the experience using a Conkeror page mode! Wikipedia mode is now officially in the git repo. Wikipedia mode is a page mode and you load it as such: require("page-modes/wikipedia-mode.js"); Currently it has very few features: - Webjumps (it has consumed "wikipedia-webjumps.js") - Automagic did-you-mean link following. - C-c C-o to view the same article in another language. I'm sure you can think of more features for this mode, so please send us your suggestions and bug reports! (And patches?) -- Deniz Dogan From jjfoerch at earthlink.net Wed Aug 12 14:58:55 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Wed, 12 Aug 2009 17:58:55 -0400 Subject: [Conkeror] Announcing Wikipedia mode In-Reply-To: <7b501d5c0908121326h71736546s6f0a1365cd04ed5a@mail.gmail.com> References: <7b501d5c0908121326h71736546s6f0a1365cd04ed5a@mail.gmail.com> Message-ID: <20090812215855.GA30516@jupiter> On Wed, Aug 12, 2009 at 10:26:08PM +0200, Deniz Dogan wrote: > Fellow conkerors, > > Wikipedia is one of the most visited websites on the web today, so it > would be ridiculous to not improve the experience using a Conkeror > page mode! Wikipedia mode is now officially in the git repo. > > Wikipedia mode is a page mode and you load it as such: > require("page-modes/wikipedia-mode.js"); > > Currently it has very few features: > - Webjumps (it has consumed "wikipedia-webjumps.js") > - Automagic did-you-mean link following. > - C-c C-o to view the same article in another language. > > I'm sure you can think of more features for this mode, so please send > us your suggestions and bug reports! (And patches?) Coooool -- John Foerch From vinhdizzo at gmail.com Wed Aug 12 15:10:26 2009 From: vinhdizzo at gmail.com (Vinh Nguyen) Date: Wed, 12 Aug 2009 15:10:26 -0700 Subject: [Conkeror] gmail send button Message-ID: <13c5a0ae0908121510sc9fcedah42294c6d1892a4a2@mail.gmail.com> dear conkeror list, i'm on a mac os x and am using gmail mode in conkeror to use gmail shortcuts in conkeror: // gmail mode -- usual conkeror keys such as 'c' for copy is redefined to 'C-c c' require("page-modes/gmail.js"); // Shift keymaps that get seen as capital letters define_key(gmail_keymap, "I", null, $fallthrough); define_key(gmail_keymap, "N", null, $fallthrough); define_key(gmail_keymap, "I", null, $fallthrough); define_key(gmail_keymap, "U", null, $fallthrough); define_key(gmail_keymap, "T", null, $fallthrough); when im done composing an email, i typically hit tab return to send in other browsers. in conkeror, hitting tab does go to the send button, but hitting return doesn't do anything. do any of u have the same issue? i'd like to be able to send without going for the mouse. also, does anybody have any way to highlight buttons and gmail links (like expand all in a conversation)? i'd like to be able to click on those buttons and links without the mouse. thanks. vinh -- This e-mail/fax message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail/fax and destroy all copies of the original message. From vinhdizzo at gmail.com Wed Aug 12 15:57:15 2009 From: vinhdizzo at gmail.com (Vinh Nguyen) Date: Wed, 12 Aug 2009 15:57:15 -0700 Subject: [Conkeror] mime handling / file associations for conkeror in mac os x Message-ID: <13c5a0ae0908121557v38e5a9ddodfe088b9b38807ac@mail.gmail.com> dear conkeror list (again), sorry for another post. i was wondering whether any mac user has this problem. i have the following in my .conkerorrc file: //** mime define_mime_type_external_handler("*", "open"); define_mime_type_external_handler("application/pdf", "preview"); define_mime_type_external_handler("application/msword", "open"); when i follow a pdf file or so, conkeror gives me the option to save, open etc. it does recognize that the mime type is application/pdf. however, if i choose 'save', the minibuffer shows my home directory and the command 'preview' -- i assume the home directory is the working directory and it is attempting to use the command 'preview' to open the file. if i hit RETURN, conkeror downloads the file to a temp;orary location, and nothing happens. the file doesn't get open. i'm guessing the correct thing that should happen is the file would open in preview. does anyone else have this issue? i tried this with 'open' and 'xpdf' as long with 'doc' files. no luck. i'm guessing the error is coming from either 1. PATH issue, when conkeror issues the command it doesn't see all the commands. However, i do have my PATH set up in environment.plist just like in my .bashrc file. 2. it issues the command correctly, but not to the correct filename path (issues command in home directory rather than where the file was saved), so the file isn't found. i even tried this with everything else commented out. any thoughts? thanks. vinh -- This e-mail/fax message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail/fax and destroy all copies of the original message. From levy at msri.org Wed Aug 12 16:13:22 2009 From: levy at msri.org (Silvio Levy) Date: Wed, 12 Aug 2009 16:13:22 -0700 Subject: [Conkeror] mime handling / file associations for conkeror in mac os x In-Reply-To: Your message of Wed, 12 Aug 2009 15:57:15 -0700 Message-ID: <20090812231322.1F955DFCA@xi.msri.org> > when i follow a pdf file or so, conkeror gives me the option to save, > open etc. You're lucky. In my case conkeror tries to display the file using Acrobat Reader within the same window, and generally fails, giving me a blank screen. Trying to save the file with "s0" then crashes conkeror. I've just tried placing these two lines in my init file and restarting: define_mime_type_external_handler("*", "preview"); define_mime_type_external_handler("application/pdf", "preview"); The behavior is absolutely unchanged. I've posted here before asking how I can make conkeror simply forget about PDF plugins, and there was no answer. It's driving me insane. Silvio From jeremy at jeremyms.com Wed Aug 12 17:42:14 2009 From: jeremy at jeremyms.com (Jeremy Maitin-Shepard) Date: Wed, 12 Aug 2009 17:42:14 -0700 Subject: [Conkeror] mime handling / file associations for conkeror in mac os x In-Reply-To: <20090812231322.1F955DFCA@xi.msri.org> (Silvio Levy's message of "Wed, 12 Aug 2009 16:13:22 -0700") References: <20090812231322.1F955DFCA@xi.msri.org> Message-ID: <8763csily1.fsf@jeremyms.com> Silvio Levy writes: >> when i follow a pdf file or so, conkeror gives me the option to save, >> open etc. > You're lucky. In my case conkeror tries to display the file using > Acrobat Reader within the same window, and generally fails, giving me a > blank screen. Trying to save the file with "s0" then crashes conkeror. > I've just tried placing these two lines in my init file and restarting: > define_mime_type_external_handler("*", "preview"); > define_mime_type_external_handler("application/pdf", "preview"); Perhaps try directly inspecting the value of mime_type_external_handlers to ensure that it is correct. > The behavior is absolutely unchanged. > I've posted here before asking how I can make conkeror simply forget > about PDF plugins, and there was no answer. It's driving me insane. To make Conkeror forget about PDF plugins, you should simply ensure that wherever xulrunner is looking for plugins, the PDF plugin cannot be found. You can look at about:plugins to see if it is registered. There is also something you can do with configuration files to make it ignore a particular plugin for particular MIME types. Firefox has a UI to do this through its preferences window. You can see about creating the suitable configuration files (I think they end up having an rdf extension), and then copying them possibly with some modification to Conkeror's profile directory. -- Jeremy Maitin-Shepard From jeremy at jeremyms.com Wed Aug 12 17:50:04 2009 From: jeremy at jeremyms.com (Jeremy Maitin-Shepard) Date: Wed, 12 Aug 2009 17:50:04 -0700 Subject: [Conkeror] mime handling / file associations for conkeror in mac os x In-Reply-To: <13c5a0ae0908121557v38e5a9ddodfe088b9b38807ac@mail.gmail.com> (Vinh Nguyen's message of "Wed, 12 Aug 2009 15:57:15 -0700") References: <13c5a0ae0908121557v38e5a9ddodfe088b9b38807ac@mail.gmail.com> Message-ID: <871vngilkz.fsf@jeremyms.com> Vinh Nguyen writes: > dear conkeror list (again), > sorry for another post. i was wondering whether any mac user has this > problem. i have the following in my .conkerorrc file: > //** mime > define_mime_type_external_handler("*", "open"); > define_mime_type_external_handler("application/pdf", "preview"); > define_mime_type_external_handler("application/msword", "open"); > when i follow a pdf file or so, conkeror gives me the option to save, > open etc. it does recognize that the mime type is application/pdf. > however, if i choose 'save', the minibuffer shows my home directory Are you actually talking about what happens if you choose "open", rather than "save"? > and the command 'preview' -- i assume the home directory is the > working directory and it is attempting to use the command 'preview' to > open the file. if i hit RETURN, conkeror downloads the file to a > temp;orary location, and nothing happens. the file doesn't get open. > i'm guessing the correct thing that should happen is the file would > open in preview. does anyone else have this issue? i tried this with > 'open' and 'xpdf' as long with 'doc' files. no luck. Does M-! work for launching preview or open or any of these other programs? Note that there is a separate issue: Conkeror normally deletes temporary files as soon as the requested program exits. If "preview" or "open" are such that they just send some request to an already running program and then exit immediately, the file may be deleted before it can be opened. In that case, first downloading it via save, then using the x command from the download buffer, should work. You can also use the open url command from the download prompt by using the "O" key. That will just invoke the specified program with the URL as the argument, which may give better results for you. -- Jeremy Maitin-Shepard From vinhdizzo at gmail.com Thu Aug 13 01:06:32 2009 From: vinhdizzo at gmail.com (Vinh Nguyen) Date: Thu, 13 Aug 2009 01:06:32 -0700 Subject: [Conkeror] mime handling / file associations for conkeror in mac os x In-Reply-To: <871vngilkz.fsf@jeremyms.com> References: <13c5a0ae0908121557v38e5a9ddodfe088b9b38807ac@mail.gmail.com> <871vngilkz.fsf@jeremyms.com> Message-ID: <13c5a0ae0908130106o2d7ac587wd1b364cf85216b97@mail.gmail.com> I GOT IT working jeremy! 1. i realize that when launching emacs or conkeror with spotlight, environment variables doesn't get passed, even if i have them in environment.plist (this only affects when programs are launched in Finder). after some googling, http://www.digitaledgesw.com/node/31 showed me that if i want global env vars in mac os x, i need to modify /etc/launchd.conf as something like: setenv PATH /opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/X11R6/bin:/Users/vinh/Documents/bin/:/opt/local/bin:/opt/local/sbin:/usr/texbin i got that path by doing echo $PATH in the shell. restart and every program launched on the mac will have that PATH. This is useful if u compiled emacs 23 yourself with --with-next-step option. 2. i tried your M-!, and i got this error: Error spawning process: conkeror-spawn-helper not found; try running "make" googling this yielded http://conkeror.org/CommonProblems , and i reinstalled conkeror by first running make in the source folder. this did the trick and mime worked. i don't know if step 1 is needed, but those are the steps i did and things are working. thanks jeremy and everyone. maybe we should edit the mac INSTALL wiki to mention running make before running /Library/Frameworks/XUL.framework/xulrunner-bin --install-app /path/to/conkeror Vinh -- This e-mail/fax message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail/fax and destroy all copies of the original message. On Wed, Aug 12, 2009 at 5:50 PM, Jeremy Maitin-Shepard wrote: > Vinh Nguyen writes: > >> dear conkeror list (again), >> sorry for another post. ?i was wondering whether any mac user has this >> problem. ?i have the following in my .conkerorrc file: >> //** mime >> define_mime_type_external_handler("*", "open"); >> define_mime_type_external_handler("application/pdf", "preview"); >> define_mime_type_external_handler("application/msword", "open"); > >> when i follow a pdf file or so, conkeror gives me the option to save, >> open etc. ?it does recognize that the mime type is application/pdf. >> however, if i choose 'save', the minibuffer shows my home directory > > Are you actually talking about what happens if you choose "open", rather > than "save"? > >> and the command 'preview' -- i assume the home directory is the >> working directory and it is attempting to use the command 'preview' to >> open the file. ?if i hit RETURN, conkeror downloads the file to a >> temp;orary location, and nothing happens. ?the file doesn't get open. > >> i'm guessing the correct thing that should happen is the file would >> open in preview. ?does anyone else have this issue? ?i tried this with >> 'open' and 'xpdf' as long with 'doc' files. ?no luck. > > Does M-! work for launching preview or open or any of these other > programs? > > Note that there is a separate issue: Conkeror normally deletes temporary > files as soon as the requested program exits. ?If "preview" or "open" > are such that they just send some request to an already running program > and then exit immediately, the file may be deleted before it can be > opened. ?In that case, first downloading it via save, then using the x > command from the download buffer, should work. > > You can also use the open url command from the download prompt by using > the "O" key. ?That will just invoke the specified program with the URL > as the argument, which may give better results for you. > > -- > Jeremy Maitin-Shepard > From jeremy at jeremyms.com Thu Aug 13 01:47:00 2009 From: jeremy at jeremyms.com (Jeremy Maitin-Shepard) Date: Thu, 13 Aug 2009 01:47:00 -0700 Subject: [Conkeror] mime handling / file associations for conkeror in mac os x In-Reply-To: <13c5a0ae0908130106o2d7ac587wd1b364cf85216b97@mail.gmail.com> (Vinh Nguyen's message of "Thu, 13 Aug 2009 01:06:32 -0700") References: <13c5a0ae0908121557v38e5a9ddodfe088b9b38807ac@mail.gmail.com> <871vngilkz.fsf@jeremyms.com> <13c5a0ae0908130106o2d7ac587wd1b364cf85216b97@mail.gmail.com> Message-ID: <87ocqkgkxn.fsf@jeremyms.com> Vinh Nguyen writes: > [snip] I'm glad that you got it working. > maybe we should edit the mac INSTALL wiki to mention running make before running > /Library/Frameworks/XUL.framework/xulrunner-bin --install-app /path/to/conkeror The wiki installation page for OS X references the steps for building conkeror-spawn-helper but it doesn't have quite the right language, so it should be updated. Actually I see now that all of the installation wiki pages have somewhat incorrect language regarding conkeror-spawn-helper. In particular, they mention that it is needed for editing web page text fields in an external editor, but fail to mention that it is in fact needed for any invocation of external programs from Conkeror at all. -- Jeremy Maitin-Shepard From levy at msri.org Thu Aug 13 10:50:24 2009 From: levy at msri.org (Silvio Levy) Date: Thu, 13 Aug 2009 10:50:24 -0700 Subject: [Conkeror] mime handling / file associations for conkeror in mac os x In-Reply-To: Your message of Wed, 12 Aug 2009 17:42:14 -0700 Message-ID: <20090813175024.2C679DFCA@xi.msri.org> Thanks Jeremy, so here is where we are: > Perhaps try directly inspecting the value of mime_type_external_handlers > to ensure that it is correct. Please, how can do I this? In http://conkeror.org/UserVariables it doesn't say, and the search box at the top (looking for "inspect", "list variables" etc.) didn't help. > To make Conkeror forget about PDF plugins, you should simply ensure that > wherever xulrunner is looking for plugins, the PDF plugin cannot be found. Yes, this now works! Earlier I had tried this and then (1) conkeror would hang on any pdf file; (2) other browsers wouldn't display the file either (naturally). Silvio From jeremy at jeremyms.com Thu Aug 13 11:10:44 2009 From: jeremy at jeremyms.com (Jeremy Maitin-Shepard) Date: Thu, 13 Aug 2009 11:10:44 -0700 Subject: [Conkeror] mime handling / file associations for conkeror in mac os x In-Reply-To: <20090813175024.2C679DFCA@xi.msri.org> (Silvio Levy's message of "Thu, 13 Aug 2009 10:50:24 -0700") References: <20090813175024.2C679DFCA@xi.msri.org> Message-ID: <877hx7h9ej.fsf@jeremyms.com> Silvio Levy writes: > Thanks Jeremy, so here is where we are: >> Perhaps try directly inspecting the value of mime_type_external_handlers >> to ensure that it is correct. > Please, how can do I this? In http://conkeror.org/UserVariables it > doesn't say, and the search box at the top (looking for "inspect", > "list variables" etc.) didn't help. M-: dumpln(mime_type_external_handlers); maybe >> To make Conkeror forget about PDF plugins, you should simply ensure that >> wherever xulrunner is looking for plugins, the PDF plugin cannot be found. > Yes, this now works! Earlier I had tried this and then (1) conkeror > would hang on any pdf file; (2) other browsers wouldn't display the > file either (naturally). Good that at least that works. -- Jeremy Maitin-Shepard From vinhdizzo at gmail.com Fri Aug 14 08:20:44 2009 From: vinhdizzo at gmail.com (Vinh Nguyen) Date: Fri, 14 Aug 2009 08:20:44 -0700 Subject: [Conkeror] gmail send button In-Reply-To: <13c5a0ae0908121510sc9fcedah42294c6d1892a4a2@mail.gmail.com> References: <13c5a0ae0908121510sc9fcedah42294c6d1892a4a2@mail.gmail.com> Message-ID: <13c5a0ae0908140820x67ebba55s95cc6e6237132c70@mail.gmail.com> i added the following to .conkerorrc and got tab return to work when sending (or entering on buttons in gmail). define_key(gmail_keymap, "return", null, $fallthrough); // make this to make gmail work when hitting RETURN on buttons, like tab return to send. vinh -- This e-mail/fax message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail/fax and destroy all copies of the original message. On Wed, Aug 12, 2009 at 3:10 PM, Vinh Nguyen wrote: > dear conkeror list, > > i'm on a mac os x and am using gmail mode in conkeror to use gmail > shortcuts in conkeror: > // gmail mode -- usual conkeror keys such as 'c' for copy is redefined > to 'C-c c' > require("page-modes/gmail.js"); > // Shift keymaps that get seen as capital letters > define_key(gmail_keymap, "I", null, $fallthrough); > define_key(gmail_keymap, "N", null, $fallthrough); > define_key(gmail_keymap, "I", null, $fallthrough); > define_key(gmail_keymap, "U", null, $fallthrough); > define_key(gmail_keymap, "T", null, $fallthrough); > > when im done composing an email, i typically hit tab return to send in > other browsers. ?in conkeror, hitting tab does go to the send button, > but hitting return doesn't do anything. ?do any of u have the same > issue? ?i'd like to be able to send without going for the mouse. > > also, does anybody have any way to highlight buttons and gmail links > (like expand all in a conversation)? ?i'd like to be able to click on > those buttons and links without the mouse. > > thanks. > > vinh > -- > This e-mail/fax message, including any attachments, is for the sole > use of the intended recipient(s) and may contain confidential and > privileged information. Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the intended recipient, > please contact the sender by reply e-mail/fax and destroy all copies > of the original message. > From vinhdizzo at gmail.com Thu Aug 20 08:35:01 2009 From: vinhdizzo at gmail.com (Vinh Nguyen) Date: Thu, 20 Aug 2009 08:35:01 -0700 Subject: [Conkeror] java app doesn't work in conkeror? Message-ID: <13c5a0ae0908200835i1e69428ax70783d61db153270@mail.gmail.com> dear conkeror-list, it appears java apps doesn't work on my conkeror. i'm running the latest git version on mac os x. for example, if i go to http://screenr.com/record , the java isn't detected. however, using firefox, everything is fine. any thoughts on how to get this to work? thanks. vinh -- This e-mail/fax message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail/fax and destroy all copies of the original message. From jjfoerch at earthlink.net Thu Aug 20 18:48:37 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Thu, 20 Aug 2009 21:48:37 -0400 Subject: [Conkeror] input boxes too small Message-ID: <20090821014837.GA30878@hecubus> Hi all, If you have ever noticed the bug where some html input boxes appear too small, in the sense that they are not tall enough for the height of the text they contain, this information may be of interest to you. It is a Xulrunner bug, not a Conkeror bug, and it appears to be fixed in Xulrunner 1.9.1. So if you are already running 1.9.1, disregard. Otherwise, here is a work-around: http://conkeror.org/UpstreamBugs#htmlinputboxestoosmall Would appreciate confirmation that the work-around works. -- John Foerch From jjfoerch at earthlink.net Thu Aug 20 19:07:10 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Thu, 20 Aug 2009 22:07:10 -0400 Subject: [Conkeror] java app doesn't work in conkeror? In-Reply-To: <13c5a0ae0908200835i1e69428ax70783d61db153270@mail.gmail.com> References: <13c5a0ae0908200835i1e69428ax70783d61db153270@mail.gmail.com> Message-ID: <20090821020710.GA31438@hecubus> On Thu, Aug 20, 2009 at 08:35:01AM -0700, Vinh Nguyen wrote: > dear conkeror-list, > > it appears java apps doesn't work on my conkeror. i'm running the > latest git version on mac os x. for example, if i go to > http://screenr.com/record , the java isn't detected. however, using > firefox, everything is fine. any thoughts on how to get this to work? > thanks. I don't know if it's the same on OS X as on linux systems, but on linux systems, you put the *.so file of the plugin into ~/.mozilla/plugins/. Let me know if it works. -- John Foerch From vinhdizzo at gmail.com Thu Aug 20 22:45:59 2009 From: vinhdizzo at gmail.com (Vinh Nguyen) Date: Thu, 20 Aug 2009 22:45:59 -0700 Subject: [Conkeror] input boxes too small In-Reply-To: <20090821014837.GA30878@hecubus> References: <20090821014837.GA30878@hecubus> Message-ID: <13c5a0ae0908202245m7895f28enb42c2c20f4844e3a@mail.gmail.com> i noticed that bug at sites like americanexpress.com. i just tried re-installing conkeror with xulrunner-bin v. 1.9.1.2 on my mac os x, but the bug is still there. adding the suggested code to my rc file, the bug is fixed. vinh -- This e-mail/fax message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail/fax and destroy all copies of the original message. On Thu, Aug 20, 2009 at 6:48 PM, John J. Foerch wrote: > Hi all, > > ?If you have ever noticed the bug where some html input boxes appear > too small, in the sense that they are not tall enough for the height > of the text they contain, this information may be of interest to you. > It is a Xulrunner bug, not a Conkeror bug, and it appears to be fixed > in Xulrunner 1.9.1. ?So if you are already running 1.9.1, disregard. > Otherwise, here is a work-around: > > http://conkeror.org/UpstreamBugs#htmlinputboxestoosmall > > ?Would appreciate confirmation that the work-around works. > > -- > John Foerch > _______________________________________________ > Conkeror mailing list > Conkeror at mozdev.org > https://www.mozdev.org/mailman/listinfo/conkeror > From netprobe at gmail.com Fri Aug 21 03:33:54 2009 From: netprobe at gmail.com (Mulander) Date: Fri, 21 Aug 2009 12:33:54 +0200 Subject: [Conkeror] Fwd: input boxes too small In-Reply-To: <38d0e2640908210332l5ba29145lcbfabf52b37f958c@mail.gmail.com> References: <20090821014837.GA30878@hecubus> <38d0e2640908210332l5ba29145lcbfabf52b37f958c@mail.gmail.com> Message-ID: <38d0e2640908210333t246627d1of9e671ba17e2d246@mail.gmail.com> Forwarding. I forgot to CC conkeror at mozdev.org ---------- Forwarded message ---------- From: Mulander Date: 2009/8/21 Subject: Re: [Conkeror] input boxes too small To: "John J. Foerch" 2009/8/21 John J. Foerch : > ?If you have ever noticed the bug where some html input boxes appear > too small, in the sense that they are not tall enough for the height > of the text they contain, this information may be of interest to you. > It is a Xulrunner bug, not a Conkeror bug, and it appears to be fixed > in Xulrunner 1.9.1. ?So if you are already running 1.9.1, disregard. > Otherwise, here is a work-around: > > http://conkeror.org/UpstreamBugs#htmlinputboxestoosmall > > ?Would appreciate confirmation that the work-around works. > This issue was reported by me on bugs.conkeror.org - #174 http://bugs.conkeror.org/issue174 On 2009-08-12.06:57:38 I marked it as resolved with the indication that 1.9.1 upgrade works. So I can confirm it. From eythanweg at gmail.com Fri Aug 21 06:13:55 2009 From: eythanweg at gmail.com (Eythan Weg) Date: Fri, 21 Aug 2009 09:13:55 -0400 Subject: [Conkeror] Fwd: input boxes too small References: <20090821014837.GA30878@hecubus> <38d0e2640908210332l5ba29145lcbfabf52b37f958c@mail.gmail.com> <38d0e2640908210333t246627d1of9e671ba17e2d246@mail.gmail.com> Message-ID: <87zl9tpawc.fsf@gmail.com> With 1.9.1.2 (debian) the bug (or what I think is the bug) is still there. For example: http://www.naxosmusiclibrary.com/home.asp Eythan Mulander Fri, 21 Aug 2009 12:33:54 +0200 Forwarding. I forgot to CC conkeror at mozdev.org ---------- Forwarded message ---------- From: Mulander Date: 2009/8/21 Subject: Re: [Conkeror] input boxes too small To: "John J. Foerch" 2009/8/21 John J. Foerch : > ?If you have ever noticed the bug where some html input boxes appear > too small, in the sense that they are not tall enough for the height > of the text they contain, this information may be of interest to you. > It is a Xulrunner bug, not a Conkeror bug, and it appears to be fixed > in Xulrunner 1.9.1. ?So if you are already running 1.9.1, disregard. > Otherwise, here is a work-around: > > http://conkeror.org/UpstreamBugs#htmlinputboxestoosmall > > ?Would appreciate confirmation that the work-around works. > This issue was reported by me on bugs.conkeror.org - #174 http://bugs.conkeror.org/issue174 On 2009-08-12.06:57:38 I marked it as resolved with the indication that 1.9.1 upgrade works. So I can confirm it. From jjfoerch at earthlink.net Fri Aug 21 07:32:23 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Fri, 21 Aug 2009 10:32:23 -0400 Subject: [Conkeror] Fwd: input boxes too small In-Reply-To: <38d0e2640908210333t246627d1of9e671ba17e2d246@mail.gmail.com> References: <20090821014837.GA30878@hecubus> <38d0e2640908210332l5ba29145lcbfabf52b37f958c@mail.gmail.com> <38d0e2640908210333t246627d1of9e671ba17e2d246@mail.gmail.com> Message-ID: <20090821143223.GA6191@hecubus> On Fri, Aug 21, 2009 at 12:33:54PM +0200, Mulander wrote: > 2009/8/21 John J. Foerch : > > ?If you have ever noticed the bug where some html input boxes appear > > too small, in the sense that they are not tall enough for the height > > of the text they contain, this information may be of interest to you. > > It is a Xulrunner bug, not a Conkeror bug, and it appears to be fixed > > in Xulrunner 1.9.1. ?So if you are already running 1.9.1, disregard. > > Otherwise, here is a work-around: > > > > http://conkeror.org/UpstreamBugs#htmlinputboxestoosmall > > > > ?Would appreciate confirmation that the work-around works. > > > > This issue was reported by me on bugs.conkeror.org - #174 > http://bugs.conkeror.org/issue174 > On 2009-08-12.06:57:38 I marked it as resolved with the indication > that 1.9.1 upgrade works. So I can confirm it. Okay, so it is the same issue. I wasn't quite sure. Thanks. -- John Foerch From jjfoerch at earthlink.net Fri Aug 21 07:56:50 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Fri, 21 Aug 2009 10:56:50 -0400 Subject: [Conkeror] Fwd: input boxes too small In-Reply-To: <87zl9tpawc.fsf@gmail.com> References: <20090821014837.GA30878@hecubus> <38d0e2640908210332l5ba29145lcbfabf52b37f958c@mail.gmail.com> <38d0e2640908210333t246627d1of9e671ba17e2d246@mail.gmail.com> <87zl9tpawc.fsf@gmail.com> Message-ID: <20090821145650.GB6191@hecubus> On Fri, Aug 21, 2009 at 09:13:55AM -0400, Eythan Weg wrote: > > > With 1.9.1.2 (debian) the bug (or what I think > is the bug) is still there. For example: > http://www.naxosmusiclibrary.com/home.asp Interesting. So apparently 1.9.1 partially fixes the problem, but not completely. For example, the youtube search results page showed the bug in 1.9.0.x, but it works fine in 1.9.1. The workaround I posted has the disadvantage that it may cause improper sizing of fields that are *supposed* to be rendered in quirks mode. This limitation could be gotten around by using @-moz-document declarations, but then you have to manually enter in every site that the css applies to. The code would be like this: register_user_stylesheet( "data:text/css," + escape( "@namespace url(\"http://www.w3.org/1999/xhtml\");\n"+ "@-moz-document url-prefix(http://www.naxosmusiclibrary.com/)\n"+ "{\n"+ "input:not([type=\"image\"]) {\n"+ " -moz-box-sizing: content-box !important;\n"+ "}}"));//*/ You can have a list of url-prefix, url, and domain forms, separated by commas. For details, see https://developer.mozilla.org/en/CSS/@-moz-document -- John Foerch From vinhdizzo at gmail.com Fri Aug 21 15:07:56 2009 From: vinhdizzo at gmail.com (Vinh Nguyen) Date: Fri, 21 Aug 2009 15:07:56 -0700 Subject: [Conkeror] java app doesn't work in conkeror? In-Reply-To: <20090821020710.GA31438@hecubus> References: <13c5a0ae0908200835i1e69428ax70783d61db153270@mail.gmail.com> <20090821020710.GA31438@hecubus> Message-ID: <13c5a0ae0908211507qdb6eac7r4585a500d7180073@mail.gmail.com> got it fixed. downloaded java embedding plugin http://javaplugin.sourceforge.net/ placed the 2 'files' in the binaries directory in the zipped files (JavaEmbeddingPlugin.bundle and MRJPlugin.plugin) in /Library/Internet Plug-Ins/ and now java works in conkeror for mac os x. thanks. vinh -- This e-mail/fax message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail/fax and destroy all copies of the original message. On Thu, Aug 20, 2009 at 7:07 PM, John J. Foerch wrote: > On Thu, Aug 20, 2009 at 08:35:01AM -0700, Vinh Nguyen wrote: >> dear conkeror-list, >> >> it appears java apps doesn't work on my conkeror. ?i'm running the >> latest git version on mac os x. ?for example, if i go to >> http://screenr.com/record , the java isn't detected. ?however, using >> firefox, everything is fine. ?any thoughts on how to get this to work? >> ?thanks. > > I don't know if it's the same on OS X as on linux systems, but on > linux systems, you put the *.so file of the plugin into > ~/.mozilla/plugins/. ?Let me know if it works. > > -- > John Foerch > _______________________________________________ > Conkeror mailing list > Conkeror at mozdev.org > https://www.mozdev.org/mailman/listinfo/conkeror > From vinhdizzo at gmail.com Sat Aug 22 08:05:12 2009 From: vinhdizzo at gmail.com (Vinh Nguyen) Date: Sat, 22 Aug 2009 08:05:12 -0700 Subject: [Conkeror] Fwd: input boxes too small In-Reply-To: <20090821145650.GB6191@hecubus> References: <20090821014837.GA30878@hecubus> <38d0e2640908210332l5ba29145lcbfabf52b37f958c@mail.gmail.com> <38d0e2640908210333t246627d1of9e671ba17e2d246@mail.gmail.com> <87zl9tpawc.fsf@gmail.com> <20090821145650.GB6191@hecubus> Message-ID: <13c5a0ae0908220805s21cc87c0je46e520b718161cc@mail.gmail.com> i'd like to point out that although the fix u suggested fixes the box and font size problem on some site, it creates another for the google-reader page mode: keyboard shortcuts doesn't work immediately on http://reader.google.com. i have to hit escape (unfocus) before the keyboard shortcuts resumes. if i remove your fix and restart conkeror, the keyboard shortcuts work immediately. vinh -- This e-mail/fax message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail/fax and destroy all copies of the original message. On Fri, Aug 21, 2009 at 7:56 AM, John J. Foerch wrote: > On Fri, Aug 21, 2009 at 09:13:55AM -0400, Eythan Weg wrote: >> >> >> With 1.9.1.2 (debian) the bug (or what I think >> is the bug) is still there. For example: >> http://www.naxosmusiclibrary.com/home.asp > > ?Interesting. ?So apparently 1.9.1 partially fixes the problem, but > not completely. ?For example, the youtube search results page showed > the bug in 1.9.0.x, but it works fine in 1.9.1. > > ?The workaround I posted has the disadvantage that it may cause > improper sizing of fields that are *supposed* to be rendered in quirks > mode. ?This limitation could be gotten around by using @-moz-document > declarations, but then you have to manually enter in every site that > the css applies to. ?The code would be like this: > > register_user_stylesheet( > ? ?"data:text/css," + > ? ? ? ?escape( > ? ? ? ? ? ?"@namespace url(\"http://www.w3.org/1999/xhtml\");\n"+ > ? ? ? ? ? ?"@-moz-document url-prefix(http://www.naxosmusiclibrary.com/)\n"+ > ? ? ? ? ? ?"{\n"+ > ? ? ? ? ? ?"input:not([type=\"image\"]) {\n"+ > ? ? ? ? ? ?" ?-moz-box-sizing: content-box !important;\n"+ > ? ? ? ? ? ?"}}"));//*/ > > ?You can have a list of url-prefix, url, and domain forms, separated > by commas. ?For details, see > https://developer.mozilla.org/en/CSS/@-moz-document > > -- > John Foerch > _______________________________________________ > Conkeror mailing list > Conkeror at mozdev.org > https://www.mozdev.org/mailman/listinfo/conkeror > From jjfoerch at earthlink.net Sat Aug 22 12:01:54 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Sat, 22 Aug 2009 15:01:54 -0400 Subject: [Conkeror] Fwd: input boxes too small In-Reply-To: <20090821145650.GB6191@hecubus> References: <20090821014837.GA30878@hecubus> <38d0e2640908210332l5ba29145lcbfabf52b37f958c@mail.gmail.com> <38d0e2640908210333t246627d1of9e671ba17e2d246@mail.gmail.com> <87zl9tpawc.fsf@gmail.com> <20090821145650.GB6191@hecubus> Message-ID: <20090822190154.GA14918@hecubus> Hi all, I updated the source-code snippet to also include html:textarea elements. This affects facebook.com, in the "Write a comment.." fields. For updated code, go to: http://conkeror.org/UpstreamBugs#htmlinputboxestoosmall -- John Foerch From jjfoerch at earthlink.net Sat Aug 22 17:59:22 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Sat, 22 Aug 2009 20:59:22 -0400 Subject: [Conkeror] unfocus command rewrite Message-ID: <20090823005922.GA20788@hecubus> Hi all, I would appreciate some review and testing of the following rewrite of the unfocus command. I think unfocus it needs a rewrite because the current implementation is both inconsistent and unreliable in the following ways: * you have to call it twice to regain focus from a plugin * it doesn't work if the currently focused element has been removed from the document via javascript. * it cannot unfocus an iframe or frameset-frame (I think it should) * it cannot deselect text inside an iframe or frameset-frame. That said, I do want to say that the re-implementation below was arrived at more through empiricism than through a thorough understanding of Mozilla's focus system. I also cannot claim that I have necessarily thought of every possibility for how the command should behave, so I welcome comments. If there are none within a day or two, I will go ahead and commit. So here's the code: ///////////// begin function unfocus (window, buffer) { // 1. if there is a focused element, unfocus it. if (buffer.focused_element) { buffer.focused_element.blur(); // if an element in a detached fragment has focus, blur() will not // work, and we need to take more drastic measures. if (buffer.focused_element) { buffer.element.focus(); buffer.top_frame.focus(); } window.minibuffer.message("unfocused element"); return; } // 2. if there is a selection, clear it. selc = getFocusedSelCtrl(buffer); if (selc && selc.getSelection(selc.SELECTION_NORMAL).isCollapsed == false) { clear_selection(buffer); window.minibuffer.message("cleared selection"); return; } // 3. return focus to top-frame from subframes and plugins. var win = buffer.focused_frame; buffer.top_frame.focus(); buffer.top_frame.focus(); // needed to get focus back from plugins window.minibuffer.message("focused top frame"); } interactive("unfocus", null, function (I) { unfocus(I.window, I.buffer); }); ///////////// end Thanks! -- John Foerch From jjfoerch at earthlink.net Mon Aug 24 17:08:40 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Mon, 24 Aug 2009 20:08:40 -0400 Subject: [Conkeror] unfocus command rewrite In-Reply-To: <20090823005922.GA20788@hecubus> References: <20090823005922.GA20788@hecubus> Message-ID: <20090825000840.GA23001@hecubus> I pushed the rewrite of the unfocus command. Not exactly the code I sent in my last message, because there were a couple of small things that needed to be changed. -- John Foerch From jjfoerch at earthlink.net Tue Aug 25 07:37:50 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Tue, 25 Aug 2009 10:37:50 -0400 Subject: [Conkeror] renaming commands Message-ID: <20090825143750.GA8290@hecubus> Hi all, I want to rename a few commands to make them more logical and quicker to access through M-x. Here is what I propose: go-back => back go-forward => forward go-home => home go-up => up help-with-tutorial => tutorial Any comments? -- John Foerch From deniz.a.m.dogan at gmail.com Tue Aug 25 08:41:16 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Tue, 25 Aug 2009 17:41:16 +0200 Subject: [Conkeror] renaming commands In-Reply-To: <20090825143750.GA8290@hecubus> References: <20090825143750.GA8290@hecubus> Message-ID: <7b501d5c0908250841m1510fafu31a1cca08de0b71a@mail.gmail.com> 2009/8/25 John J. Foerch : > Hi all, > > ?I want to rename a few commands to make them more logical and > quicker to access through M-x. ?Here is what I propose: > > go-back ? ? ? ? ? ? ? => ? ?back > go-forward ? ? ? ? ? ?=> ? ?forward > go-home ? ? ? ? ? ? ? => ? ?home > go-up ? ? ? ? ? ? ? ? => ? ?up > help-with-tutorial ? ?=> ? ?tutorial > > Any comments? > > -- > John Foerch > _______________________________________________ > Conkeror mailing list > Conkeror at mozdev.org > https://www.mozdev.org/mailman/listinfo/conkeror > I'm all for it. -- Deniz Dogan From jjfoerch at earthlink.net Wed Aug 26 09:20:52 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Wed, 26 Aug 2009 12:20:52 -0400 Subject: [Conkeror] renaming commands In-Reply-To: <20090825143750.GA8290@hecubus> References: <20090825143750.GA8290@hecubus> Message-ID: <20090826162052.GA3566@hecubus> On Tue, Aug 25, 2009 at 10:37:50AM -0400, John J. Foerch wrote: > Hi all, > > I want to rename a few commands to make them more logical and > quicker to access through M-x. Here is what I propose: > > go-back => back > go-forward => forward > go-home => home > go-up => up > help-with-tutorial => tutorial > > Any comments? The deed is done. -- John Foerch From jjfoerch at earthlink.net Wed Aug 26 12:17:16 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Wed, 26 Aug 2009 15:17:16 -0400 Subject: [Conkeror] unfocus command rewrite In-Reply-To: <20090825000840.GA23001@hecubus> References: <20090823005922.GA20788@hecubus> <20090825000840.GA23001@hecubus> Message-ID: <20090826191716.GA7814@hecubus> After using the new unfocus command for a little while, it seemed more natural for clearing selection to have higher precedence than unfocus-element. Others agreed so I pushed that change. -- John Foerch From jjfoerch at earthlink.net Wed Aug 26 18:33:33 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Wed, 26 Aug 2009 21:33:33 -0400 Subject: [Conkeror] art Message-ID: <20090827013333.GA15916@hecubus> Hi all, Here is my idea for some icon and logo art for conkeror: http://jjfoerch.com/bitbucket/conker/conker7.svg Comments? I think there are a lot of directions one could go in with this kind of silhouette design, in terms of adding some elegant effects or textures to it, or arranging it with the word "CONKEROR". If there are artists out there please don't hesitate to play around with it. I could see adopting this as version 1 of the logo, and keep it until we improve upon it. -- John Foerch From abe at deuxchevaux.org Thu Aug 27 03:39:50 2009 From: abe at deuxchevaux.org (Axel Beckert) Date: Thu, 27 Aug 2009 12:39:50 +0200 Subject: [Conkeror] art In-Reply-To: <20090827013333.GA15916@hecubus> References: <20090827013333.GA15916@hecubus> Message-ID: <20090827103946.GE32057@sym.noone.org> On Wed, Aug 26, 2009 at 09:33:33PM -0400, John J. Foerch wrote: > Here is my idea for some icon and logo art for conkeror: > > http://jjfoerch.com/bitbucket/conker/conker7.svg I like the idea of a C-shaped conker silhouette. > Comments? I have no idea what the long stick on top of it should depict. Additionally I think that the logo shouldn't contain any part of it that "leaves" the logo respectively is depicted only partially. Such things always look awkward on the desktop or panels which leave a small padding around the icon. > I think there are a lot of directions one could go in with this kind > of silhouette design, in terms of adding some elegant effects or > textures to it, Some color wouldn't be bad either, but having a black'n'white version available, too, isn't the badest idea.... > or arranging it with the word "CONKEROR". Could be nice also... Maybe slightly bended inside the logo to give the C-shape a more 3D look.. > If there are artists out there please don't hesitate to play around > with it. Maybe I manage to play around long enough with Inkscape so that I can show you what I had in mind when writing this mail. :-) > Regards, Axel -- Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/ From mashdot at toshine.net Thu Aug 27 03:49:07 2009 From: mashdot at toshine.net ('Mash) Date: Thu, 27 Aug 2009 11:49:07 +0100 Subject: [Conkeror] art In-Reply-To: <20090827013333.GA15916@hecubus> References: <20090827013333.GA15916@hecubus> Message-ID: <20090827104907.GH24081@grace.toshine.net> On 2009-08-26 21:33-0400, John J. Foerch wrote: > Hi all, > > Here is my idea for some icon and logo art for conkeror: > > http://jjfoerch.com/bitbucket/conker/conker7.svg > > > Comments? I think there are a lot of directions one could go in > with this kind of silhouette design, in terms of adding some elegant > effects or textures to it, or arranging it with the word "CONKEROR". > If there are artists out there please don't hesitate to play around > with it. I could see adopting this as version 1 of the logo, and keep > it until we improve upon it. Brilliant. Love it, simple and clean. Just needs some text and cropping, going silhouette is a good idea. Reminds me of my English school days, but I would be weary of that knot :) 'Mash --- Sola fide, Sola Gratia, Soli Deo gloria! From deniz.a.m.dogan at gmail.com Thu Aug 27 05:14:50 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Thu, 27 Aug 2009 14:14:50 +0200 Subject: [Conkeror] art In-Reply-To: <20090827013333.GA15916@hecubus> References: <20090827013333.GA15916@hecubus> Message-ID: <7b501d5c0908270514x643900bcr56d90f1e33bd397a@mail.gmail.com> 2009/8/27 John J. Foerch : > Hi all, > > ?Here is my idea for some icon and logo art for conkeror: > > http://jjfoerch.com/bitbucket/conker/conker7.svg > > > ?Comments? ?I think there are a lot of directions one could go in > with this kind of silhouette design, in terms of adding some elegant > effects or textures to it, or arranging it with the word "CONKEROR". > If there are artists out there please don't hesitate to play around > with it. ?I could see adopting this as version 1 of the logo, and keep > it until we improve upon it. > > -- > John Foerch > > _______________________________________________ > Conkeror mailing list > Conkeror at mozdev.org > https://www.mozdev.org/mailman/listinfo/conkeror > I created a little logo yesterday as well: http://www.pici.se/pictures/PWAmoHEPT.png Note that this is not intended as an actual logo suggestion, but as an idea of what our logo could look like. I very much like John's logo as well, this is just another alternative for you guys to consider. I have attached the SVG version of it in this e-mail. -- Deniz Dogan -------------- next part -------------- A non-text attachment was scrubbed... Name: chestnut2.svg Type: image/svg+xml Size: 14054 bytes Desc: not available URL: From abe at deuxchevaux.org Thu Aug 27 06:15:33 2009 From: abe at deuxchevaux.org (Axel Beckert) Date: Thu, 27 Aug 2009 15:15:33 +0200 Subject: [Conkeror] art In-Reply-To: <7b501d5c0908270514x643900bcr56d90f1e33bd397a@mail.gmail.com> References: <20090827013333.GA15916@hecubus> <7b501d5c0908270514x643900bcr56d90f1e33bd397a@mail.gmail.com> Message-ID: <20090827131533.GF32057@sym.noone.org> Hi, On Thu, Aug 27, 2009 at 02:14:50PM +0200, Deniz Dogan wrote: > http://www.pici.se/pictures/PWAmoHEPT.png > > Note that this is not intended as an actual logo suggestion, but as an > idea of what our logo could look like. I very much like John's logo as > well, this is just another alternative for you guys to consider. I > have attached the SVG version of it in this e-mail. I actually like this one more, because it's more colorful (you still can make a b/w version by removing the brown part and taking the silhouette) and the chestnut is much easier to spot, but still is simple and has some C-shape. And it reminds me to PACMAN! :-) I would only turn the logo 45 degrees clockwise so it looks even more like a C (and pacman). Regards, Axel -- Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/ From jjfoerch at earthlink.net Thu Aug 27 07:40:29 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Thu, 27 Aug 2009 10:40:29 -0400 Subject: [Conkeror] art In-Reply-To: <20090827103946.GE32057@sym.noone.org> References: <20090827013333.GA15916@hecubus> <20090827103946.GE32057@sym.noone.org> Message-ID: <20090827144029.GA14227@hecubus> Hi Axel, On Thu, Aug 27, 2009 at 12:39:50PM +0200, Axel Beckert wrote: > On Wed, Aug 26, 2009 at 09:33:33PM -0400, John J. Foerch wrote: > > Here is my idea for some icon and logo art for conkeror: > > > > http://jjfoerch.com/bitbucket/conker/conker7.svg > > I like the idea of a C-shaped conker silhouette. > > > Comments? > > I have no idea what the long stick on top of it should depict. Any resemblance to the letter C is purely coincidental, and not a direction I want to go in. Can't stand logos based on contorting the letters of the alphabet because I think it strains the eyes when you try to "read" it. It's a conker (chestnut) on a string... the word "conkeror" comes from the game of conkers, which entails whacking conkers together until only one (the conkeror) remains unbroken. Some texture would make it look more string-like, but I don't know how to do that in inkscape yet. > Additionally I think that the logo shouldn't contain any part of it > that "leaves" the logo respectively is depicted only partially. Such > things always look awkward on the desktop or panels which leave a > small padding around the icon. I know what you mean, but I was thinking that for an icon, the background would be opaque.. perhaps a rounded rectangle background. > Some color wouldn't be bad either, but having a black'n'white version > available, too, isn't the badest idea.... totally agree. -- John Foerch From jjfoerch at earthlink.net Thu Aug 27 07:45:54 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Thu, 27 Aug 2009 10:45:54 -0400 Subject: [Conkeror] art In-Reply-To: <20090827104907.GH24081@grace.toshine.net> References: <20090827013333.GA15916@hecubus> <20090827104907.GH24081@grace.toshine.net> Message-ID: <20090827144554.GA14364@hecubus> On Thu, Aug 27, 2009 at 11:49:07AM +0100, 'Mash wrote: > Reminds me of my English school days, but I would be weary of that knot :) Hi 'Mash, Earlier versions of this design had a "knot" but then I realised you would never tie a knot there because centrifugal force would hold the nut at the end. So now the little blobby at the bottom of the string is meant to be a hole. Maybe it's too big, or maybe it should be a crescent shape instead of an oval. Thoughts? -- John Foerch From abe at deuxchevaux.org Thu Aug 27 07:55:37 2009 From: abe at deuxchevaux.org (Axel Beckert) Date: Thu, 27 Aug 2009 16:55:37 +0200 Subject: [Conkeror] art In-Reply-To: <20090827144029.GA14227@hecubus> References: <20090827013333.GA15916@hecubus> <20090827103946.GE32057@sym.noone.org> <20090827144029.GA14227@hecubus> Message-ID: <20090827145537.GH32057@sym.noone.org> Hi, On Thu, Aug 27, 2009 at 10:40:29AM -0400, John J. Foerch wrote: > Any resemblance to the letter C is purely coincidental, Hehe. > and not a direction I want to go in. Oh. > Can't stand logos based on contorting the letters of the alphabet > because I think it strains the eyes when you try to "read" it. I see. > > I have no idea what the long stick on top of it should depict. > > [...] It's a conker (chestnut) on a string... Ah, right, that game was played with chestnuts on a string. Forgot about the string... > > Additionally I think that the logo shouldn't contain any part of it > > that "leaves" the logo respectively is depicted only partially. Such > > things always look awkward on the desktop or panels which leave a > > small padding around the icon. > > I know what you mean, but I was thinking that for an icon, the > background would be opaque.. perhaps a rounded rectangle background. That would be ok, although I prefer icons which work fine with transparent background. (Mostly because I have a transparent panel where they reside in. :-) Regards, Axel -- Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/ From mashdot at toshine.net Thu Aug 27 08:02:24 2009 From: mashdot at toshine.net ('Mash) Date: Thu, 27 Aug 2009 16:02:24 +0100 Subject: [Conkeror] art In-Reply-To: <20090827144554.GA14364@hecubus> References: <20090827013333.GA15916@hecubus> <20090827104907.GH24081@grace.toshine.net> <20090827144554.GA14364@hecubus> Message-ID: <20090827150224.GA28621@grace.toshine.net> On 2009-08-27 10:45-0400, John J. Foerch wrote: > On Thu, Aug 27, 2009 at 11:49:07AM +0100, 'Mash wrote: > > Reminds me of my English school days, but I would be weary of that knot :) > > Hi 'Mash, > > Earlier versions of this design had a "knot" but then I realised you > would never tie a knot there because centrifugal force would hold the > nut at the end. So now the little blobby at the bottom of the string > is meant to be a hole. Maybe it's too big, or maybe it should be a > crescent shape instead of an oval. Thoughts? Maybe just round the rip of the string? But to be honest I think you are fine, from what it sounds like on this mailing list not many people know conkers anyway. :) Did you trace an actual conker because the shape is spot on. 'Mash --- Sola fide, Sola Gratia, Soli Deo gloria! From vinhdizzo at gmail.com Thu Aug 27 08:12:22 2009 From: vinhdizzo at gmail.com (Vinh Nguyen) Date: Thu, 27 Aug 2009 08:12:22 -0700 Subject: [Conkeror] art In-Reply-To: <20090827144029.GA14227@hecubus> References: <20090827013333.GA15916@hecubus> <20090827103946.GE32057@sym.noone.org> <20090827144029.GA14227@hecubus> Message-ID: <13c5a0ae0908270812ubfc8309y30a1b629c1c22396@mail.gmail.com> -- This e-mail/fax message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail/fax and destroy all copies of the original message. On Thu, Aug 27, 2009 at 7:40 AM, John J. Foerch wrote: > It's a conker (chestnut) on a string... the word "conkeror" comes from > the game of conkers, which entails whacking conkers together until > only one (the conkeror) remains unbroken. HAH! i thought it was a computer mouse being conquered with an arrow through it, showing the dominance of the keyboard! vinh From jjfoerch at earthlink.net Thu Aug 27 08:14:41 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Thu, 27 Aug 2009 11:14:41 -0400 Subject: [Conkeror] art In-Reply-To: <20090827145537.GH32057@sym.noone.org> References: <20090827013333.GA15916@hecubus> <20090827103946.GE32057@sym.noone.org> <20090827144029.GA14227@hecubus> <20090827145537.GH32057@sym.noone.org> Message-ID: <20090827151441.GA14700@hecubus> On Thu, Aug 27, 2009 at 04:55:37PM +0200, Axel Beckert wrote: > > I know what you mean, but I was thinking that for an icon, the > > background would be opaque.. perhaps a rounded rectangle background. > > That would be ok, although I prefer icons which work fine with > transparent background. (Mostly because I have a transparent panel > where they reside in. :-) Oh I see. The current version has a long string only because, like they say about warm clothes, you can always take them off, but you can't put on what you don't have. hehe. I think there does need to be a certain amount of string to convey a little bit of a sense of motion, and also because at the end of the day, the thing being depicted is a nut on a string. An inconvenient shape to work with, for sure, but I have become fond of this idea. When we actually get down to generating icons, that will be done with scripts, so we can certainly make multiple versions, though I hope we can arrive at something everyone likes enough that they are not forced to change it manually. -- John Foerch From jjfoerch at earthlink.net Thu Aug 27 08:16:27 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Thu, 27 Aug 2009 11:16:27 -0400 Subject: [Conkeror] art In-Reply-To: <13c5a0ae0908270812ubfc8309y30a1b629c1c22396@mail.gmail.com> References: <20090827013333.GA15916@hecubus> <20090827103946.GE32057@sym.noone.org> <20090827144029.GA14227@hecubus> <13c5a0ae0908270812ubfc8309y30a1b629c1c22396@mail.gmail.com> Message-ID: <20090827151627.GA14952@hecubus> On Thu, Aug 27, 2009 at 08:12:22AM -0700, Vinh Nguyen wrote: > On Thu, Aug 27, 2009 at 7:40 AM, John J. Foerch wrote: > > It's a conker (chestnut) on a string... the word "conkeror" comes from > > the game of conkers, which entails whacking conkers together until > > only one (the conkeror) remains unbroken. > > HAH! i thought it was a computer mouse being conquered with an arrow > through it, showing the dominance of the keyboard! See? Now you're 'in the know! -- John Foerch From mashdot at toshine.net Thu Aug 27 08:17:17 2009 From: mashdot at toshine.net ('Mash) Date: Thu, 27 Aug 2009 16:17:17 +0100 Subject: [Conkeror] art In-Reply-To: <13c5a0ae0908270812ubfc8309y30a1b629c1c22396@mail.gmail.com> References: <20090827013333.GA15916@hecubus> <20090827103946.GE32057@sym.noone.org> <20090827144029.GA14227@hecubus> <13c5a0ae0908270812ubfc8309y30a1b629c1c22396@mail.gmail.com> Message-ID: <20090827151717.GB28621@grace.toshine.net> On 2009-08-27 08:12-0700, Vinh Nguyen wrote: > On Thu, Aug 27, 2009 at 7:40 AM, John J. Foerch wrote: > > It's a conker (chestnut) on a string... the word "conkeror" comes from > > the game of conkers, which entails whacking conkers together until > > only one (the conkeror) remains unbroken. > > HAH! i thought it was a computer mouse being conquered with an arrow > through it, showing the dominance of the keyboard! > > vinh LOL, I can see that now too! For those who want to know just found this... http://www.youtube.com/watch?v=xmfrqvR12Kw 'Mash --- Sola fide, Sola Gratia, Soli Deo gloria! |'to | humility:gratitude:passion | toshine.org From jjfoerch at earthlink.net Thu Aug 27 08:21:36 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Thu, 27 Aug 2009 11:21:36 -0400 Subject: [Conkeror] art In-Reply-To: <20090827150224.GA28621@grace.toshine.net> References: <20090827013333.GA15916@hecubus> <20090827104907.GH24081@grace.toshine.net> <20090827144554.GA14364@hecubus> <20090827150224.GA28621@grace.toshine.net> Message-ID: <20090827152136.GB14952@hecubus> On Thu, Aug 27, 2009 at 04:02:24PM +0100, 'Mash wrote: > On 2009-08-27 10:45-0400, John J. Foerch wrote: > > On Thu, Aug 27, 2009 at 11:49:07AM +0100, 'Mash wrote: > > > Reminds me of my English school days, but I would be weary of that knot :) > > > > Hi 'Mash, > > > > Earlier versions of this design had a "knot" but then I realised you > > would never tie a knot there because centrifugal force would hold the > > nut at the end. So now the little blobby at the bottom of the string > > is meant to be a hole. Maybe it's too big, or maybe it should be a > > crescent shape instead of an oval. Thoughts? > > Maybe just round the rip of the string? > But to be honest I think you are fine, from what it sounds like on this mailing list not many people know conkers anyway. :) > > Did you trace an actual conker because the shape is spot on. Thanks. No, this was freehand, or "freemouse" anyway. Here is an old version with just a tiny hole: http://jjfoerch.com/bitbucket/conker/conker4.svg The only other difference between conker4.svg and conker7.svg is that in 4, the string is not tapered at the top. -- John Foerch From vinhdizzo at gmail.com Fri Aug 28 12:17:03 2009 From: vinhdizzo at gmail.com (Vinh Nguyen) Date: Fri, 28 Aug 2009 12:17:03 -0700 Subject: [Conkeror] Save To File: tab completion Message-ID: <13c5a0ae0908281217w12947bf7kdc803e4f11ae85b8@mail.gmail.com> dear conkeror list, when selecting a location to save your file, does tab completion give u a space after a directory? for example, suppose i save a file temp.zip, and the minibuffer shows: save to file: /Users/vinh/temp.zip if i move my cursor to right before the file name temp.zip, and type in a partial directory name, say 'Down' for 'Downloads', and hit tab, conkeror suggests: /Users/vinh/Downloads temp.zip i was wondering whether this only occurs on my mac os x? are there any plans to make it show /Users/vinh/Downloads/temp.zip without the additional space and with the added '/'? in every directory i hit tab with i have to hit backspace and add '/', and then type more directory and repeat this process -- not the usual tab completion im used to in emacs or bash. vinh -- This e-mail/fax message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail/fax and destroy all copies of the original message. From deniz.a.m.dogan at gmail.com Fri Aug 28 12:26:33 2009 From: deniz.a.m.dogan at gmail.com (Deniz Dogan) Date: Fri, 28 Aug 2009 21:26:33 +0200 Subject: [Conkeror] Save To File: tab completion In-Reply-To: <13c5a0ae0908281217w12947bf7kdc803e4f11ae85b8@mail.gmail.com> References: <13c5a0ae0908281217w12947bf7kdc803e4f11ae85b8@mail.gmail.com> Message-ID: <7b501d5c0908281226i75363a77g84f3c8db3283295f@mail.gmail.com> 2009/8/28 Vinh Nguyen : > dear conkeror list, > > when selecting a location to save your file, does tab completion give > u a space after a directory? ?for example, suppose i save a file > temp.zip, and the minibuffer shows: > save to file: /Users/vinh/temp.zip > > if i move my cursor to right before the file name temp.zip, and type > in a partial directory name, say 'Down' for 'Downloads', and hit tab, > conkeror suggests: > /Users/vinh/Downloads temp.zip > > i was wondering whether this only occurs on my mac os x? ?are there > any plans to make it show /Users/vinh/Downloads/temp.zip without the > additional space and with the added '/'? ?in every directory i hit tab > with i have to hit backspace and add '/', and then type more directory > and repeat this process -- not the usual tab completion im used to in > emacs or bash. > > vinh > -- > This e-mail/fax message, including any attachments, is for the sole > use of the intended recipient(s) and may contain confidential and > privileged information. Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the intended recipient, > please contact the sender by reply e-mail/fax and destroy all copies > of the original message. > _______________________________________________ > Conkeror mailing list > Conkeror at mozdev.org > https://www.mozdev.org/mailman/listinfo/conkeror > This does not happen on only Mac OS X. I have had this issue as well and I really think the best thing would be to add '/' instead of a space character. -- Deniz Dogan From jjfoerch at earthlink.net Fri Aug 28 12:57:58 2009 From: jjfoerch at earthlink.net (John J. Foerch) Date: Fri, 28 Aug 2009 15:57:58 -0400 Subject: [Conkeror] Save To File: tab completion In-Reply-To: <13c5a0ae0908281217w12947bf7kdc803e4f11ae85b8@mail.gmail.com> References: <13c5a0ae0908281217w12947bf7kdc803e4f11ae85b8@mail.gmail.com> Message-ID: <20090828195758.GA28966@hecubus> On Fri, Aug 28, 2009 at 12:17:03PM -0700, Vinh Nguyen wrote: > dear conkeror list, > > when selecting a location to save your file, does tab completion give > u a space after a directory? for example, suppose i save a file > temp.zip, and the minibuffer shows: > save to file: /Users/vinh/temp.zip > > if i move my cursor to right before the file name temp.zip, and type > in a partial directory name, say 'Down' for 'Downloads', and hit tab, > conkeror suggests: > /Users/vinh/Downloads temp.zip > > i was wondering whether this only occurs on my mac os x? are there > any plans to make it show /Users/vinh/Downloads/temp.zip without the > additional space and with the added '/'? in every directory i hit tab > with i have to hit backspace and add '/', and then type more directory > and repeat this process -- not the usual tab completion im used to in > emacs or bash. known bug. system needs big rewrite -- John Foerch