>  Incidentally this also allows you to access such keys when they are
> shadowed by contextual keymaps like textarea-keymap, etc.  Whether or not
> we want to keep it that way is open for discussion, but it seems a nice
> enough side-effect to me.

That is a truly beautiful side-effect.  Also that it helps keep the
page-modes clean is very nice.  It is subtle things like that which
convince me that conkeror is a work of the highest genius.

Nicholas Ochiel,

I study theoretical mathematics.  I write fiction.  I like puppies.




On 10 October 2010 22:00,  <[email protected]> wrote:
> Send Conkeror mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://www.mozdev.org/mailman/listinfo/conkeror
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Conkeror digest..."
>
>
> Today's Topics:
>
>   1. breaking change, C-c bindings in page-modes gone (John J. Foerch)
>   2. Mode Line Buttons (gerrymike)
>   3. Re: Mode Line Buttons (Vinh Nguyen)
>   4. Re: Mode Line Buttons (John J. Foerch)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 9 Oct 2010 23:08:31 -0400
> From: "John J. Foerch" <[email protected]>
> To: [email protected]
> Subject: [Conkeror] breaking change, C-c bindings in page-modes gone
> Message-ID: <20101010030831.ga26...@hecubus>
> Content-Type: text/plain; charset=us-ascii
>
> Hi all,
>
>  As I outlined in a recent message, we've had a long-standing problem of
> page-modes binding alternative keys for navigation commands that are
> shadowed by the page-mode's fallthrough keys.  These alternatives have
> been bound with the prefix C-c, so in addition to breaking modularity
> (binding commands that are not part of the page-mode), they were breaking
> the convention that sequences of C-c followed by an unmodified alphabetic
> character are reserved for the user.  A blemish for sure!  A solution is
> now in place, and those C-c bindings in page-mode keymaps have been
> removed.
>
>  You can now access bindings in the standard keymaps which are shadowed
> by a page-mode keymap by using the prefix key C-z.
>
>  The solution to the problem was simpler than I had imagined, and really
> follows naturally from the existing design of our keymap system.  (Only
> minor modifications to the help system were needed to make it work.  The
> keymap and input systems required no changes.)  In short, C-z is defined
> as a recursive key binding.  It is bound in both default_global_keymap and
> content_buffer_normal_keymap as a link back to those very keymaps,
> allowing you to access shadowed keys through a two-key sequence instead of
> directly.
>
>  Incidentally this also allows you to access such keys when they are
> shadowed by contextual keymaps like textarea-keymap, etc.  Whether or not
> we want to keep it that way is open for discussion, but it seems a nice
> enough side-effect to me.
>
>  This worked out to be a very clean solution in my book, because it works
> in terms of the already existing keymap system, no new scaffolding
> required.  I did try to stay true to the simplicity provided by the old
> C-c bindings, hence C-z for the new key.  It was really the only available
> combo that fit all criteria.
>
> --
> John Foerch
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 10 Oct 2010 18:05:50 +0200
> From: gerrymike <[email protected]>
> To: [email protected]
> Subject: [Conkeror] Mode Line Buttons
> Message-ID: <1286726750.1935.6.ca...@usuario-desktop>
> Content-Type: text/plain; charset="UTF-8"
>
> As a novice user I would like to install the Mode Line Buttons to make
> navigation easier for me. I have the command:
> require("mode-line-buttons.js");add_mode_line_buttons(standard_mode_line_buttons,
>  true);
> But I cannot fathom out where I should enter this command.
> Regards,
> Gerard
> --
> gerrymike <[email protected]>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 10 Oct 2010 09:17:02 -0700
> From: Vinh Nguyen <[email protected]>
> To: gerrymike <[email protected]>
> Cc: [email protected]
> Subject: Re: [Conkeror] Mode Line Buttons
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=UTF-8
>
> Place it in your rc file (http://conkeror.org/ConkerorRC).  This is
> usually in ~/.conkerorrc
> -- Vinh
>
>
>
> On Sun, Oct 10, 2010 at 9:05 AM, gerrymike <[email protected]> wrote:
>> As a novice user I would like to install the Mode Line Buttons to make
>> navigation easier for me. I have the command:
>> require("mode-line-buttons.js");add_mode_line_buttons(standard_mode_line_buttons,
>>  true);
>> But I cannot fathom out where I should enter this command.
>> Regards,
>> Gerard
>> --
>> gerrymike <[email protected]>
>>
>>
>> _______________________________________________
>> Conkeror mailing list
>> [email protected]
>> https://www.mozdev.org/mailman/listinfo/conkeror
>>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 10 Oct 2010 13:27:15 -0400
> From: "John J. Foerch" <[email protected]>
> To: gerrymike <[email protected]>
> Cc: [email protected]
> Subject: Re: [Conkeror] Mode Line Buttons
> Message-ID: <20101010172715.ga1...@hecubus>
> Content-Type: text/plain; charset=us-ascii
>
> On Sun, Oct 10, 2010 at 06:05:50PM +0200, gerrymike wrote:
>> As a novice user I would like to install the Mode Line Buttons to make
>> navigation easier for me. I have the command:
>> require("mode-line-buttons.js");add_mode_line_buttons(standard_mode_line_buttons,
>>  true);
>> But I cannot fathom out where I should enter this command.
>> Regards,
>> Gerard
>> --
>> gerrymike <[email protected]>
>
>
> Don't forget the load_paths line...
>
> http://conkeror.org/Tips?highlight=%28mode%5C-line%29%7C%28buttons%29#Modelinebuttonsforbasicbrowsercontrol
>
> --
> John Foerch
>
>
> ------------------------------
>
> _______________________________________________
> Conkeror mailing list
> [email protected]
> https://www.mozdev.org/mailman/listinfo/conkeror
>
>
> End of Conkeror Digest, Vol 70, Issue 4
> ***************************************
>
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to