* Y. Hida <eigensol...@gmail.com> [090508 17:20]:
> On 2009-05-08, John Magolske <b79...@gmail.com> wrote:
> >     document.browse.margin_width = 9
> >
> > will reduce the page width to 110 columns, but 9 is the maximum
> > value that can be set. Is there some way to achieve a narrower page
> > width? It would also be nice to somehow toggle between full-width
> > and reduced-width with a key binding.
> 
> If you can compile elinks from source, the following patch (against
> current git master) would do it.  This adds toggle-margin action
> (default keybind "M") to toggle the margin between 0 and the specified
> margin_width (which can be up to 100 now).

Thanks! This patch does exactly what I was looking for.

One question -- is there a way to have it toggle the margin between
say, 2 or 3 (rather than 0) and the specified margin_width? Maybe by
changing something in this line:

    +       "margin_width", 0, 0, 100, 3,

Regards,

John


-- 
John Magolske
http://B79.net/contact
_______________________________________________
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to