Hi all,

I noticed the other day that Emacs uses '0' as zoom-reset.  This would be
a useful convention to follow in Conkeror, because currently, Conkeror
uses '=' as zoom-reset, and '+' as zoom-in, meaning that on most
keyboards, one must hold shift to zoom-in.  If we adopted the Emacs
convention of using '0' as zoom-reset, we could make '=' another zoom-in
key.

A related issue is that for long, I have wanted to bind the unmodified
numeric keys to be numeric prefix keys.  The fact that '-' is a zoom key
has blocked this, and if '0' were also a zoom key, it complicates it
further.  Yet now I think we can do both, by adopting the following
convention:

 '0' and '-' would be zoom keys.

 '1' through '9' would be numeric prefix keys, that, when entered, would
 install an overlay keymap that contains bindings for '0' and '-' to work
 as numeric prefix keys.

The tradeoffs are as follows:

 - to give a negative numeric prefix, you would either need to use 'C-u'
   as now, or type the number like: 1 -

 - the zoom bindings would not be callable with a numeric prefix.   none
   of the zoom commands currently accept a numeric prefix, but if they
   were ever modified to do so, a workaround would need to be designed.

Also, how do people feel about the current bindings where unmodified '+'
and '-' mean text-zoom, and 'C-+' and 'C--' mean full-zoom?  Is it good
the way it is, or should it be the other way around?

Or what would people feel about going all-out, and adopting the Emacs way
of zooming in its entirety, meaning that to use zoom keys, you first give
the C-x prefix a single time?

-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to